ossp-pkg/l2/Makefile.in 1.41 -> 1.42
--- Makefile.in 2002/01/02 17:07:38 1.41
+++ Makefile.in 2002/01/03 16:12:51 1.42
@@ -57,9 +57,9 @@
LIBTOOL = ./libtool
TARGET = $(TARGET_LIBS) $(TARGET_MANS) $(TARGET_PROGS)
-TARGET_LIBS = libl2.la
+TARGET_LIBS = libl2.la libl2syslog.la
TARGET_MANS = l2tool.1 l2-config.1 l2.3
-TARGET_PROGS = l2tool l2_test
+TARGET_PROGS = l2tool l2_test l2_test_syslog
# list of library object files
OBJS = \
@@ -137,6 +137,9 @@
libl2.la: $(OBJS)
$(LIBTOOL) --mode=link --quiet $(CC) -o libl2.la $(OBJS) -rpath $(libdir) \
-version-info `$(SHTOOL) version -l c -d libtool l2_version.c`
+libl2syslog.la: l2_syslog.lo libl2.la
+ $(LIBTOOL) --mode=link --quiet $(CC) -o libl2syslog.la l2_syslog.lo libl2.la -rpath $(libdir) \
+ -version-info `$(SHTOOL) version -l c -d libtool l2_version.c`
# build regex library
l2_ut_pcre.lo: l2_ut_pcre.tab l2_ut_pcre.c
@@ -158,6 +161,8 @@
$(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_syslog: l2_test_syslog.o libl2syslog.la libl2.la
+ $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o l2_test_syslog l2_test_syslog.o libl2syslog.la libl2.la $(LIBS)
# build Unix manual pages
l2tool.1: l2tool.pod l2_version.c
@@ -196,11 +201,14 @@
$(SHTOOL) install -c -m 644 l2.h $(DESTDIR)$(includedir)/l2.h
@$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 \
libl2.la $(DESTDIR)$(libdir)/libl2.la
+ @$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 \
+ libl2syslog.la $(DESTDIR)$(libdir)/libl2syslog.la
# perform standard uninstallation procedure
uninstall:
$(MAKE) $(MFLAGS) uninstall-c uninstall-std
uninstall-c:
+ @$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(libdir)/libl2syslog.la
@$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(libdir)/libl2.la
$(RM) $(DESTDIR)$(includedir)/l2.h
$(RM) $(DESTDIR)$(mandir)/man3/l2.3
|
|