OSSP CVS Repository

ossp - Difference in ossp-pkg/rc/Makefile.in versions 1.6 and 1.7
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/rc/Makefile.in 1.6 -> 1.7

--- Makefile.in  2002/02/05 14:11:52     1.6
+++ Makefile.in  2002/02/05 17:29:17     1.7
@@ -48,9 +48,12 @@
 RM              = rm -f
 RMDIR           = rmdir
 SHTOOL          = ./shtool
+LIBTOOL         = ./libtool
 POD2MAN         = pod2man
 TRUE            = true
 
+PROG_NAME       = rc
+
 TARGET          = $(TARGET_PROGS) $(TARGET_MANS)
 TARGET_PROGS    = rc
 TARGET_MANS     = rc.1 rc-sample.5
@@ -61,9 +64,11 @@
 SUBDIRS         = @SUBDIR_EX@ @SUBDIR_VAR@ @SUBDIR_STR@ @SUBDIR_POPT@
 
 .SUFFIXES:
-.SUFFIXES: .c .cc .cpp .o
+.SUFFIXES: .c .cc .cpp .o .lo
 .c.o:
         $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
+.c.lo:
+        $(LIBTOOL) --mode=compile --quiet $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
 
 all:            _SUBDIRS_all $(TARGET)
 
@@ -86,18 +91,18 @@
             echo "<=== $(_SUBDIRS_DP)$$subdir"; \
         done
 
-$(TARGET_PROGS): Makefile $(OBJS)
-        $(CC) $(LDFLAGS) -o $(TARGET_PROGS) $(OBJS) $(LIBS)
-
-$(OBJS): Makefile
-
 # Build pcre regex library
 rc_pcre.lo: rc_pcre.tab rc_pcre.c
 rc_pcre.tab: rc_pcre.c
-        $(CC) $(CFLAGS) -DRC_PCRE_TAB $(LDFLAGS) -o rc_pcre.gen rc_pcre.c $(LIBS)
+#       $(CC) $(CFLAGS) -DRC_PCRE_TAB $(LDFLAGS) -o rc_pcre.gen rc_pcre.c $(LIBS)
+        $(CC) $(CFLAGS) -DRC_PCRE_TAB $(LDFLAGS) -o rc_pcre.gen rc_pcre.c
         ./rc_pcre.gen >rc_pcre.tab
         $(RM) rc_pcre.gen
 
+$(PROG_NAME): $(OBJS)
+#       $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o $(PROG_NAME) $(OBJS) $(LIBS)
+        $(CC) $(LDFLAGS) -o $(PROG_NAME) $(OBJS) $(LIBS)
+
 rc.1: rc.pod
         VS=`$(SHTOOL) version -lc -dshort rc_version.c`; \
         VL=`$(SHTOOL) version -lc -dlong rc_version.c`; \
@@ -126,8 +131,12 @@
 distclean: clean
         $(RM) config.log config.status config.cache
         $(RM) Makefile rc_config.h rc_pcre.tab
+        $(RM) config.log config.status config.cache
+        $(RM) Makefile rc_config.h
+        $(RM) libtool
 
 realclean: distclean
+        $(RM) ltmain.sh libtool.m4 config.guess config.sub
         $(RM) configure rc_config.h.in
         $(RM) shtool
 

CVSTrac 2.0.1