OSSP CVS Repository

ossp - Difference in ossp-pkg/uuid/Makefile.in versions 1.17 and 1.18
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/uuid/Makefile.in 1.17 -> 1.18

--- Makefile.in  2004/01/19 14:11:49     1.17
+++ Makefile.in  2004/02/11 14:38:40     1.18
@@ -53,15 +53,22 @@
 LIB_NAME    = libuuid.la
 LIB_OBJS    = uuid.lo uuid_md5.lo uuid_prng.lo uuid_mac.lo uuid_ui64.lo uuid_str.lo
 
+DCE_NAME    = libuuid_dce.la
+DCE_OBJS    = $(LIB_OBJS) uuid_dce.lo
+
 PRG_NAME    = uuid
 PRG_OBJS    = uuid_cli.o
 
 MAN_NAME    = uuid.3 uuid.1
 
+TARGETS     = $(LIB_NAME) @DCE_NAME@ $(PRG_NAME)
+
+WITH_DCE    = @WITH_DCE@
+
 .SUFFIXES:
 .SUFFIXES: .c .o .lo
 
-all: $(LIB_NAME) $(PRG_NAME)
+all: $(TARGETS)
 
 .c.o:
         $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
@@ -73,6 +80,10 @@
         @$(LIBTOOL) --mode=link $(CC) -o $(LIB_NAME) $(LIB_OBJS) -rpath $(libdir) \
             -version-info `$(SHTOOL) version -l txt -d libtool VERSION`
 
+$(DCE_NAME): $(DCE_OBJS)
+        @$(LIBTOOL) --mode=link $(CC) -o $(DCE_NAME) $(DCE_OBJS) -rpath $(libdir) \
+            -version-info `$(SHTOOL) version -l txt -d libtool VERSION`
+
 $(PRG_NAME): $(PRG_OBJS) $(LIB_NAME)
         @$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $(PRG_NAME) $(PRG_OBJS) $(LIB_NAME) $(LIBS)
 
@@ -82,6 +93,7 @@
 uuid_prng.lo: uuid_prng.c uuid_prng.h
 uuid_str.lo: uuid_str.c config.h uuid_str.h
 uuid_ui64.lo: uuid_ui64.c uuid_ui64.h
+uuid_dce.lo: uuid_dce.c uuid.h uuid_dce.h
 uuid_cli.o: uuid_cli.c uuid.h
 
 man: uuid.3 uuid-config.1 uuid.1
@@ -141,8 +153,15 @@
         $(SHTOOL) install -c -m 755 uuid-config $(DESTDIR)$(bindir)/
         $(SHTOOL) install -c -m 644 uuid-config.1 $(DESTDIR)$(mandir)/man1/
         $(SHTOOL) install -c -m 644 uuid.h $(DESTDIR)$(includedir)/
+        -@if [ ".$(WITH_DCE)" = .yes ]; then \
+            echo "$(SHTOOL) install -c -m 644 uuid_dce.h $(DESTDIR)$(includedir)/"; \
+            $(SHTOOL) install -c -m 644 uuid_dce.h $(DESTDIR)$(includedir)/; \
+        fi
         $(SHTOOL) install -c -m 644 uuid.3 $(DESTDIR)$(mandir)/man3/
         @$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 libuuid.la $(DESTDIR)$(libdir)/
+        -@if [ ".$(WITH_DCE)" = .yes ]; then \
+            $(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 libuuid_dce.la $(DESTDIR)$(libdir)/; \
+        fi
         @$(LIBTOOL) --mode=install $(SHTOOL) install -c -s -m 755 uuid $(DESTDIR)$(bindir)/
         $(SHTOOL) install -c -m 644 uuid.1 $(DESTDIR)$(mandir)/man1/
 
@@ -150,8 +169,15 @@
         -$(RM) $(DESTDIR)$(mandir)/man1/uuid.1
         -@$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(bindir)/uuid
         -@$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(libdir)/libuuid.la
+        -@if [ ".$(WITH_DCE)" = .yes ]; then \
+            $(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(libdir)/libuuid_dce.la; \
+        fi
         -$(RM) $(DESTDIR)$(mandir)/man3/uuid.3
         -$(RM) $(DESTDIR)$(includedir)/uuid.h
+        -@if [ ".$(WITH_DCE)" = .yes ]; then \
+            echo "$(RM) $(DESTDIR)$(includedir)/uuid_dce.h"; \
+            $(RM) $(DESTDIR)$(includedir)/uuid_dce.h; \
+        fi
         -$(RM) $(DESTDIR)$(mandir)/man1/uuid-config.1
         -$(RM) $(DESTDIR)$(bindir)/uuid-config
         -$(RMDIR) $(DESTDIR)$(mandir)/man1 >/dev/null 2>&1 || $(TRUE)
@@ -164,6 +190,10 @@
 
 clean:
         -$(RM) $(LIB_NAME) $(LIB_OBJS)
+        -@if [ ".$(WITH_DCE)" = .yes ]; then \
+            echo "$(RM) $(DCE_NAME) $(DCE_OBJS)"; \
+            $(RM) $(DCE_NAME) $(DCE_OBJS); \
+        fi
         -$(RM) $(PRG_NAME) $(PRG_OBJS)
         -$(RM) -r .libs >/dev/null 2>&1 || $(TRUE)
         -$(RM) *.o *.lo

CVSTrac 2.0.1