OSSP CVS Repository

ossp - Difference in ossp-pkg/l2/Makefile.in versions 1.36 and 1.37
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/l2/Makefile.in 1.36 -> 1.37

--- Makefile.in  2001/11/08 21:58:00     1.36
+++ Makefile.in  2001/11/10 14:01:47     1.37
@@ -58,10 +58,10 @@
 SHTOOL      = ./shtool
 LIBTOOL     = ./libtool
 
-TARGET       = $(TARGET_LIBS) $(TARGET_MANS) $(TARGET_TESTS)
+TARGET       = $(TARGET_LIBS) $(TARGET_MANS) $(TARGET_PROGS)
 TARGET_LIBS  = libl2.la @LIBL2XX_LA@
-TARGET_MANS  = l2-config.1 l2.3 @L2XX_3@
-TARGET_TESTS = l2_test @L2_TESTXX@
+TARGET_MANS  = l2tool.1 l2-config.1 l2.3 @L2XX_3@
+TARGET_PROGS = l2tool l2_test @L2_TESTXX@
 
 #   list of library object files
 OBJS = \
@@ -162,7 +162,9 @@
 @M@l2_spec_parse.c l2_spec_parse.h: l2_spec_parse.y
 @M@     $(BISON) -d -k -pl2_spec_ -ol2_spec_parse.c l2_spec_parse.y
 
-#   build test suite programs
+#   build programs
+l2tool: l2tool.o libl2.la
+        $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o l2tool l2tool.o libl2.la $(LIBS)
 l2_test: l2_test.o libl2.la
         $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o l2_test l2_test.o libl2.la $(LIBS)
 l2_test++: l2_test++.o libl2++.la
@@ -171,6 +173,10 @@
         $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o l2_sockmon l2_sockmon.o $(LIBS)
 
 #   build Unix manual pages
+l2tool.1: l2tool.pod l2_version.c
+        BASENAME="l2tool"; SEC=1; \
+        NAME="L2"; ONELINE="Logging Tool"; \
+        $(_MANPAGE)
 l2-config.1: l2-config.pod l2_version.c
         BASENAME="l2-config"; SEC=1; \
         NAME="L2"; ONELINE="Logging Library"; \
@@ -203,6 +209,8 @@
         $(SHTOOL) mkdir -p -f -m 755 $(DESTDIR)$(mandir)/man3
         $(SHTOOL) install -c -m 755 l2-config $(DESTDIR)$(bindir)/l2-config
         $(SHTOOL) install -c -m 644 l2-config.1 $(DESTDIR)$(mandir)/man1/l2-config.1
+        $(SHTOOL) install -c -m 755 l2tool $(DESTDIR)$(bindir)/l2tool
+        $(SHTOOL) install -c -m 644 l2tool.1 $(DESTDIR)$(mandir)/man1/l2tool.1
 install-c:
         $(SHTOOL) install -c -m 644 l2.3 $(DESTDIR)$(mandir)/man3/l2.3
         $(SHTOOL) install -c -m 644 l2.h $(DESTDIR)$(includedir)/l2.h
@@ -226,6 +234,8 @@
         $(RM) $(DESTDIR)$(includedir)/l2.h
         $(RM) $(DESTDIR)$(mandir)/man3/l2.3
 uninstall-std:
+        $(RM) $(DESTDIR)$(mandir)/man1/l2tool.1
+        $(RM) $(DESTDIR)$(bindir)/l2tool
         $(RM) $(DESTDIR)$(mandir)/man1/l2-config.1
         $(RM) $(DESTDIR)$(bindir)/l2-config
         $(RMDIR) $(DESTDIR)$(mandir)/man3
@@ -242,7 +252,7 @@
         $(RM) .libs/*
         -$(RMDIR) .libs >/dev/null 2>&1 || $(TRUE)
         $(RM) $(TARGET_LIBS)
-        $(RM) $(TARGET_TESTS)
+        $(RM) $(TARGET_PROGS)
 
 #   remove everything which can be regenerated
 #   by "./configure && make all"

CVSTrac 2.0.1