27 lines
716 B
Text
27 lines
716 B
Text
|
|
$FreeBSD$
|
|
|
|
--- agi/Makefile.orig Tue Jun 22 20:42:13 2004
|
|
+++ agi/Makefile Tue Oct 5 21:03:40 2004
|
|
@@ -11,15 +11,18 @@
|
|
# the GNU General Public License
|
|
#
|
|
|
|
-AGIS=agi-test.agi eagi-test eagi-sphinx-test
|
|
+AGIS_BIN=eagi-test eagi-sphinx-test
|
|
+AGIS_SCR=agi-test.agi
|
|
+AGIS=$(AGIS_SCR) $(AGIS_BIN)
|
|
|
|
CFLAGS+=
|
|
|
|
all: depend $(AGIS)
|
|
|
|
install: all
|
|
- mkdir -p $(DESTDIR)$(AGI_DIR)
|
|
- for x in $(AGIS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(AGI_DIR) ; done
|
|
+ $(MKDIR) $(DESTDIR)$(AGI_DIR)
|
|
+ for x in $(AGIS_BIN); do $(BSD_INSTALL_PROGRAM) $$x $(DESTDIR)$(AGI_DIR) ; done
|
|
+ for x in $(AGIS_SCR); do $(BSD_INSTALL_SCRIPT) $$x $(DESTDIR)$(AGI_DIR) ; done
|
|
|
|
eagi-test: eagi-test.o
|
|
$(CC) $(CFLAGS) -o eagi-test eagi-test.o
|