big makefile cleanup
This commit is contained in:
@@ -102,7 +102,7 @@ DIALECT_BP= \
|
||||
$(srcdir)/dialect/bprolog/foreach.pl \
|
||||
$(srcdir)/dialect/bprolog/hashtable.yap
|
||||
|
||||
install: $(PROGRAMS)
|
||||
install: $(PROGRAMS) install-examples
|
||||
mkdir -p $(DESTDIR)$(SHAREDIR)/Yap
|
||||
mkdir -p $(DESTDIR)$(SHAREDIR)/Yap/dialect
|
||||
mkdir -p $(DESTDIR)$(SHAREDIR)/Yap/dialect/swi
|
||||
@@ -112,5 +112,10 @@ install: $(PROGRAMS)
|
||||
for p in $(DIALECT_SWI); do $(INSTALL_DATA) $$p $(DESTDIR)$(SHAREDIR)/Yap/dialect/swi; done
|
||||
for p in $(DIALECT_BP); do $(INSTALL_DATA) $$p $(DESTDIR)$(SHAREDIR)/Yap/dialect/bprolog; done
|
||||
|
||||
realclean:
|
||||
|
||||
install-examples:
|
||||
|
||||
clean:
|
||||
|
||||
distclean: clean
|
||||
rm -f *def Makefile
|
||||
|
@@ -61,7 +61,7 @@ hash.o: $(srcdir)/hash.c $(srcdir)/hash.h
|
||||
@DO_SECOND_LD@yap_mpi.@SO@: $(OBJS)
|
||||
@DO_SECOND_LD@ @SHLIB_LD@ $(LDFLAGS) -o yap_mpi.@SO@ $(OBJS) $(MPILDF) @EXTRA_LIBS_FOR_DLLS@
|
||||
|
||||
install: all
|
||||
install: all install-examples
|
||||
@if test "$(SOBJS)" = ""; then echo ""; else $(INSTALL_PROGRAM) $(SOBJS) $(DESTDIR)$(YAPLIBDIR); fi
|
||||
|
||||
clean:
|
||||
@@ -70,3 +70,7 @@ clean:
|
||||
no:
|
||||
@echo "YAP LAM/MPI module not compiled."
|
||||
|
||||
install-examples:
|
||||
|
||||
distclean: clean
|
||||
rm -f Makefile
|
||||
|
@@ -52,7 +52,7 @@ matlab.o: $(srcdir)/matlab.c
|
||||
@DO_SECOND_LD@matlab.@SO@: matlab.o
|
||||
@DO_SECOND_LD@ @SHLIB_LD@ -o matlab.@SO@ matlab.o @EXTRA_LIBS_FOR_DLLS@
|
||||
|
||||
install: all
|
||||
install: all install-examples
|
||||
$(INSTALL_PROGRAM) $(SOBJS) $(DESTDIR)$(YAPLIBDIR)
|
||||
|
||||
clean:
|
||||
@@ -61,3 +61,4 @@ clean:
|
||||
realclean: clean
|
||||
rm -f Makefile $(SOBJS)
|
||||
|
||||
install-examples:
|
||||
|
@@ -53,9 +53,14 @@ matrix.o: $(srcdir)/matrix.c
|
||||
@DO_SECOND_LD@matrix.@SO@: matrix.o
|
||||
@DO_SECOND_LD@ @SHLIB_LD@ $(LDFLAGS) -o matrix.@SO@ matrix.o @EXTRA_LIBS_FOR_DLLS@
|
||||
|
||||
install: all
|
||||
install: all install-examples
|
||||
$(INSTALL_PROGRAM) $(SOBJS) $(DESTDIR)$(YAPLIBDIR)
|
||||
|
||||
clean:
|
||||
rm -f *.o *~ $(OBJS) $(SOBJS) *.BAK
|
||||
|
||||
|
||||
install-examples:
|
||||
|
||||
distclean: clean
|
||||
rm -f Makefile
|
||||
|
@@ -53,7 +53,7 @@ yap_random.o: $(srcdir)/yap_random.c
|
||||
@DO_SECOND_LD@yap_random.@SO@: yap_random.o
|
||||
@DO_SECOND_LD@ @SHLIB_LD@ $(LDFLAGS) -o yap_random.@SO@ yap_random.o @EXTRA_LIBS_FOR_DLLS@
|
||||
|
||||
install: all
|
||||
install: all install-examples
|
||||
$(INSTALL_PROGRAM) $(SOBJS) $(DESTDIR)$(YAPLIBDIR)
|
||||
|
||||
install-examples:
|
||||
@@ -61,6 +61,7 @@ install-examples:
|
||||
clean:
|
||||
rm -f *.o *~ $(OBJS) $(SOBJS) *.BAK
|
||||
|
||||
realclean: clean
|
||||
rm -f Makefile $(SOBJS)
|
||||
distclean: clean
|
||||
rm -f Makefile
|
||||
|
||||
|
||||
|
@@ -77,9 +77,13 @@ regexec.o: $(srcdir)/regexec.c
|
||||
@DO_SECOND_LD@regexec.@SO@: regexec.o
|
||||
@DO_SECOND_LD@ @SHLIB_LD@ $(LDFLAGS) -o regexec.@SO@ regexec.o @EXTRA_LIBS_FOR_DLLS@
|
||||
|
||||
install: all
|
||||
install: all install-examples
|
||||
$(INSTALL_PROGRAM) $(SOBJS) $(DESTDIR)$(YAPLIBDIR)
|
||||
|
||||
install-examples:
|
||||
|
||||
clean:
|
||||
rm -f *.o *~ $(OBJS) $(SOBJS) *.BAK
|
||||
|
||||
distclean: clean
|
||||
rm -f Makefile
|
||||
|
@@ -58,7 +58,7 @@ yaprl.o: $(srcdir)/yap_rl.c
|
||||
@DO_SECOND_LD@yap_rl.@SO@: $(OBJS)
|
||||
@DO_SECOND_LD@ @SHLIB_LD@ $(LDFLAGS) -o yap_rl.@SO@ $(OBJS) @EXTRA_LIBS_FOR_DLLS@
|
||||
|
||||
install: all
|
||||
install: all install-examples
|
||||
@if test "$(SOBJS)" = "no"; then echo ""; else $(INSTALL_PROGRAM) $(SOBJS) $(DESTDIR)$(YAPLIBDIR); fi
|
||||
|
||||
clean:
|
||||
@@ -67,3 +67,9 @@ clean:
|
||||
no:
|
||||
@echo "YAP RL module not compiled."
|
||||
|
||||
|
||||
|
||||
install-examples:
|
||||
|
||||
distclean: clean
|
||||
rm -f Makefile
|
||||
|
@@ -53,9 +53,14 @@ sys.o: $(srcdir)/sys.c
|
||||
@DO_SECOND_LD@sys.@SO@: sys.o
|
||||
@DO_SECOND_LD@ @SHLIB_LD@ $(LDFLAGS) -o sys.@SO@ sys.o @EXTRA_LIBS_FOR_DLLS@
|
||||
|
||||
install: all
|
||||
install: all install-examples
|
||||
$(INSTALL_PROGRAM) $(SOBJS) $(DESTDIR)$(YAPLIBDIR)
|
||||
|
||||
install-examples:
|
||||
|
||||
clean:
|
||||
rm -f *.o *~ $(OBJS) $(SOBJS) *.BAK
|
||||
|
||||
|
||||
distclean: clean
|
||||
rm -f Makefilee
|
||||
|
@@ -69,10 +69,13 @@ itries.o: $(srcdir)/core_tries.h $(srcdir)/base_itries.h $(srcdir)/itries.c
|
||||
@DO_SECOND_LD@itries.@SO@: core_tries.o base_itries.o itries.o
|
||||
@DO_SECOND_LD@ @SHLIB_LD@ $(LDFLAGS) -o itries.@SO@ core_tries.o base_itries.o itries.o @EXTRA_LIBS_FOR_DLLS@
|
||||
|
||||
install: all
|
||||
install: all install-examples
|
||||
$(INSTALL_PROGRAM) $(SOBJS) $(DESTDIR)$(YAPLIBDIR)
|
||||
|
||||
clean:
|
||||
rm -f *.o *~ $(OBJS) $(SOBJS) *.BAK
|
||||
|
||||
install-examples:
|
||||
|
||||
distclean: clean
|
||||
rm -f Makefile
|
||||
|
Reference in New Issue
Block a user