BSD install installs only one file per invokation
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@114 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
3de3c1b7d2
commit
45aacf6ad6
13
Makefile.in
13
Makefile.in
@ -421,6 +421,17 @@ tab.tries.o: $(srcdir)/OPTYap/tab.tries.c
|
||||
tab.suspend.o: $(srcdir)/OPTYap/tab.suspend.c
|
||||
$(CC) -c $(CFLAGS) $(srcdir)/OPTYap/tab.suspend.c -o $@
|
||||
|
||||
|
||||
## CPP'ed files (for macro debugging)
|
||||
|
||||
%.i : $(srcdir)/C/%.c
|
||||
$(CC) -E $< $(CFLAGS) > $@
|
||||
|
||||
absmi.i: $(srcdir)/C/absmi.c
|
||||
$(CC) -E $(CFLAGS) $(ABSMI_FLAGS) $(srcdir)/C/absmi.c > $@
|
||||
|
||||
c_interface.i: $(srcdir)/C/c_interface.c $(srcdir)/include/c_interface.h
|
||||
$(CC) -E $(C_INTERF_FLAGS) $(srcdir)/C/c_interface.c > $@
|
||||
#
|
||||
|
||||
mycb: $(srcdir)/mycb.c
|
||||
@ -482,7 +493,7 @@ install_mingw32: startup
|
||||
install_library: libYap.a
|
||||
$(INSTALL_DATA) -m 644 libYap.a $(DESTDIR)$(LIBDIR)/libYap.a
|
||||
-mkdir -p $(DESTDIR)$(INCLUDEDIR)
|
||||
$(INSTALL) $(HEADERS) $(DESTDIR)$(INCLUDEDIR)
|
||||
for h in $(HEADERS); do $(INSTALL) $$h $(DESTDIR)$(INCLUDEDIR); done
|
||||
|
||||
##########
|
||||
TAGS: $(C_SOURCES) $(PL_SOURCES) $(HEADERS)
|
||||
|
@ -42,9 +42,6 @@ LOGTALK_PROGRAMS= \
|
||||
$(srcdir)/logtalk/yap430.config
|
||||
|
||||
install: $(PROGRAMS)
|
||||
-mkdir $(DESTDIR)$(LIBDIR)/library
|
||||
-mkdir $(DESTDIR)$(LIBDIR)/library/logtalk
|
||||
$(INSTALL_DATA) $(PROGRAMS) $(DESTDIR)$(LIBDIR)/library
|
||||
$(INSTALL_DATA) $(LOGTALK_PROGRAMS) $(DESTDIR)$(LIBDIR)/library/logtalk
|
||||
|
||||
|
||||
-mkdir -p $(DESTDIR)$(LIBDIR)/library/logtalk
|
||||
for p in $(PROGRAMS); do $(INSTALL) $$p $(DESTDIR)$(LIBDIR)/library; done
|
||||
for p in $(LOGTALK_PROGRAMS); do $(INSTALL) $$p $(DESTDIR)$(LIBDIR)/library/logtalk; done
|
||||
|
Reference in New Issue
Block a user