OSSP CVS Repository

ossp - Difference in ossp-pkg/mm/Makefile.in versions 1.28 and 1.29
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/mm/Makefile.in 1.28 -> 1.29

--- Makefile.in  2002/07/26 09:59:34     1.28
+++ Makefile.in  2002/07/26 13:04:39     1.29
@@ -37,10 +37,6 @@
 ## OF THE POSSIBILITY OF SUCH DAMAGE.
 ## ====================================================================
 
-##
-##  Makefile
-##
-
 @SET_MAKE@
 
 TOP         = .
@@ -59,104 +55,54 @@
 LDFLAGS     = @LDFLAGS@
 LIBS        = @LIBS@
 RM          = rm -f
-LIBTOOL     = @LIBTOOL@
-SHTOOL      = @SHTOOL@
+LIBTOOL     = ./libtool
+SHTOOL      = ./shtool
 
-MAN         = mm.3 mm-config.1
-OBJ         = mm_global.o  mm_alloc.o  mm_core.o  mm_lib.o  mm_vers.o
-LOBJ        = mm_global.lo mm_alloc.lo mm_core.lo mm_lib.lo mm_vers.lo
-
-_VERSION_FILE = \
-    mm_vers.c
-_VERSION = \
-        $(SHTOOL) version -l c -n MM -p mm_ $$OPT $(_VERSION_FILE);\
-        V=`$(SHTOOL) version -l c -d long $(_VERSION_FILE)`;\
-        sed -e "s/Version .*(.*)/Version $$V/g" <README >README.n && mv README.n README
+LIBS        = libmm.la
+OBJS        = mm_global.lo mm_alloc.lo mm_core.lo mm_lib.lo mm_vers.lo
+MANS        = mm.3 mm-config.1
+TSTS        = mm_test
 
 .SUFFIXES: .o .lo
 
 .c.o:
         $(LIBTOOL) --quiet --mode=compile $(CC) -c $(CFLAGS) $<
-
 .c.lo:
         $(LIBTOOL) --quiet --mode=compile $(CC) -c $(CFLAGS) $<
 
-all: libmm.la $(MAN) mm_test
+all: $(LIBS) $(MANS) $(TSTS)
 
-libmm.la: $(OBJ) $(LOBJ)
-        $(LIBTOOL) --quiet --mode=link $(CC) -o libmm.la $(LOBJ) \
+libmm.la: $(OBJS)
+        $(LIBTOOL) --quiet --mode=link $(CC) -o $@ $(OBJS) \
             -rpath $(libdir) -version-info `$(SHTOOL) version -l c -d libtool mm_vers.c`
 
-mm_alloc.c mm_core.c mm_global.c: mm_conf.h mm.h mm_vers.c
-
-check: test
-test: mm_test
-        -@./mm_test; \
-        if [ $$? -eq 0 ]; then \
-                PLATFORM=`$(SHELL) ./config.guess`; \
-                PLATFORM=`$(SHELL) ./config.sub $$PLATFORM`; \
-                if [ ".`grep $$PLATFORM PORTING`" = . ]; then \
-                echo "Please send the following summary via Email to the author"; \
-                echo "Ralf S. Engelschall <rse@engelschall.com> for inclusion into"; \
-                echo "the list of successfully tested platforms (see PORTING file):"; \
-                echo ""; \
-                echo "Ok" >.fbtool; \
-                $(SHELL) ./fbtool -d; \
-            fi; \
-        else \
-            echo "Please send the following summary together with as much other"; \
-            echo "details about the configuration, build and test steps to the author"; \
-            echo "Ralf S. Engelschall <rse@engelschall.com> to help him in tracking"; \
-            echo "down your platform problem."; \
-            echo ""; \
-            echo "Failed" >.fbtool; \
-            $(SHELL) ./fbtool -d; \
-        fi; \
-        exit 0
-
-debug: mm_test
-        @$(LIBTOOL) --mode=execute gdb mm_test
+mm_alloc.c mm_core.c mm_global.c: mm.h mm_vers.c
+mm.h: config.h
 
 mm_test: mm_test.lo libmm.la
         $(LIBTOOL) --quiet --mode=link $(CC) -o $@ mm_test.lo libmm.la
 
 mm.3: mm.pod
-        V1=`$(SHTOOL) version -l c -d short $(_VERSION_FILE)`; \
-        V2=`$(SHTOOL) version -l c -d long $(_VERSION_FILE)`; \
-        D=`$(SHTOOL) version -l c -d long $(_VERSION_FILE) | sed -e 's;.*(;;' -e 's;).*;;'`; \
+        V1=`$(SHTOOL) version -l c -d short mm_vers.c`; \
+        V2=`$(SHTOOL) version -l c -d long mm_vers.c`; \
+        D=`$(SHTOOL) version -l c -d long mm_vers.c | sed -e 's;.*(;;' -e 's;).*;;'`; \
         pod2man --section=3 --center="Shared Memory Library" --release="$$D" --date="MM $$V1" mm.pod |\
         perl -p -e 's;^(\\\&\s+.+?)([Mm][Mm]_[a-zA-Z0-9_]+)(\(.+?)$$;$$1\\fB$$2\\fR$$3;' |\
         sed -e "s;MM_VERSION_STR;$$V2;" >mm.3
 
 mm-config.1: mm-config.pod
-        V1=`$(SHTOOL) version -l c -d short $(_VERSION_FILE)`; \
-        V2=`$(SHTOOL) version -l c -d long $(_VERSION_FILE)`; \
-        D=`$(SHTOOL) version -l c -d long $(_VERSION_FILE) | sed -e 's;.*(;;' -e 's;).*;;'`; \
+        V1=`$(SHTOOL) version -l c -d short mm_vers.c`; \
+        V2=`$(SHTOOL) version -l c -d long mm_vers.c`; \
+        D=`$(SHTOOL) version -l c -d long mm_vers.c | sed -e 's;.*(;;' -e 's;).*;;'`; \
         pod2man --section=1 --center="Shared Memory Library" --release="$$D" --date="MM $$V1" mm-config.pod |\
         perl -p -e 's;^(\\\&\s+.+?)([Mm][Mm]_[a-zA-Z0-9_]+)(\(.+?)$$;$$1\\fB$$2\\fR$$3;' |\
         sed -e "s;MM_VERSION_STR;$$V2;" >mm-config.1
 
-update:
-        @$(RM) ltmain.sh ltconfig shtool
-        @$(MAKE) $(MFLAGS) ltmain.sh ltconfig configure shtool
-
-configure: configure.in aclocal.m4
-        $(RM) configure
-        autoconf
-
-ltmain.sh:
-        @F=`libtoolize -n -c -f | grep 'cp.*ltmain.sh' |\
-            sed -e 's;[^/]*;;' -e 's; .*;;'`; \
-        echo "ltmain.sh <-- $$F"; cat $$F |\
-        sed -e 's:/bin/sh; then:/bin/sh || test "$$nonopt" = ./shtool;then:' \
-            -e 's:exec \$$SHELL \$$0 --finish:exit 0 #:' >ltmain.sh
-
-ltconfig:
-        @F=`libtoolize -n -c -f | grep 'cp.*ltconfig' | sed -e 's;[^/]*;;' -e 's; .*;;'`; \
-        echo "ltconfig <-- $$F"; cp $$F .
-
-shtool:
-        shtoolize -o shtool version echo mkdir install fixperm tarball
+check: test
+test: mm_test
+        @$(LIBTOOL) --mode=execute ./mm_test
+debug: mm_test
+        @$(LIBTOOL) --mode=execute gdb ./mm_test
 
 install: all
         $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir)
@@ -171,45 +117,22 @@
         @$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 libmm.la $(DESTDIR)$(libdir)/libmm.la
 
 clean:
-        $(RM) mm_test mm_test.o mm_test.lo
-        $(RM) core *.core *.bak *~
-        $(RM) $(LOBJ)
-        $(RM) $(OBJ) 
-        $(RM) libmm.la
-        $(RM) -r .libs
+        -$(RM) $(TSTS)
+        -$(RM) $(OBJS)
+        -$(RM) $(LIBS)
+        -$(RM) core *.core *.bak *~
+        -$(RM) -r .libs >/dev/null 2>&1 || $(TRUE)
+        -$(RM) *.o *.lo
 
 distclean: clean
-        $(RM) Makefile
-        $(RM) mm-config mm_conf.h
-        $(RM) config.h config.cache config.status config.log
-        $(RM) libtool
-        $(RM) .fbtool
+        -$(RM) config.log config.status config.cache
+        -$(RM) Makefile config.h cfg-config
+        -$(RM) libtool
+        -$(RM) mm-config
 
 realclean: distclean
-        $(RM) $(MAN)
-
-dist: distclean
-        @$(SHTOOL) fixperm -v *; \
-        V=`$(SHTOOL) version -l c -d short $(_VERSION_FILE)`; \
-        $(SHTOOL) tarball -o mm-$${V}.tar.gz -d mm-$${V} -u rse -g mm \
-                          -e 'CVS,\.cvsignore,\.[ao],^\.' -c 'gzip --best' .; \
-        ls -l mm-$${V}.tar.gz
-
-snap: distclean
-        @$(SHTOOL) fixperm *; \
-        V=`$(SHTOOL) version -l c -d short $(_VERSION_FILE)`; \
-        $(SHTOOL) tarball -o mm-$${V}-SNAP.tar.gz -d mm-$${V}-SNAP -u rse -g mm \
-                          -e 'CVS,\.cvsignore,\.[ao],^\.' -c 'gzip --best' .; \
-        ls -l mm-$${V}-SNAP.tar.gz
-
-new-version:
-        @V="$(VERSION)"; \
-        if [ ".$$V" != . ]; then \
-                OPT="-s$$V"; \
-        else \
-                OPT="-e"; \
-        fi; \
-        $(_VERSION)
-update-version:
-        OPT="-s `$(SHTOOL) version -l c -d short $(_VERSION_FILE)`" && $(_VERSION)
+        -$(RM) $(MANS)
+        -$(RM) configure config.h.in
+        -$(RM) shtool
+        -$(RM) ltmain.sh libtool.m4 config.guess config.sub
 

CVSTrac 2.0.1