OSDN Git Service

Make sure symlinks for sharedlib get removed by 'make clean'.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 30 Jun 1999 23:57:31 +0000 (23:57 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 30 Jun 1999 23:57:31 +0000 (23:57 +0000)
src/interfaces/ecpg/lib/Makefile.in
src/interfaces/libpgtcl/Makefile.in
src/interfaces/libpq++/Makefile.in
src/interfaces/libpq/Makefile.in
src/interfaces/odbc/GNUmakefile.in
src/pl/plpgsql/src/Makefile.in

index ef2373f..c7b4c80 100644 (file)
@@ -6,7 +6,7 @@
 # Copyright (c) 1994, Regents of the University of California
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/Makefile.in,v 1.43 1999/02/23 12:56:55 scrappy Exp $
+#    $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/Makefile.in,v 1.44 1999/06/30 23:57:23 tgl Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -41,8 +41,9 @@ typename.o : typename.c ../include/ecpgtype.h
 
 
 .PHONY: clean
-clean:
-       rm -f lib$(NAME).a $(shlib) $(OBJS)
+
+clean: clean-shlib
+       rm -f lib$(NAME).a $(OBJS)
 ifeq ($(PORTNAME), win)
        rm -f $(NAME).def
 endif
index e58b471..1912c11 100644 (file)
@@ -6,7 +6,7 @@
 # Copyright (c) 1994, Regents of the University of California
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.34 1999/02/07 22:10:45 tgl Exp $
+#    $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.35 1999/06/30 23:57:24 tgl Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -50,8 +50,9 @@ beforeinstall-headers:
 
 
 .PHONY: clean
-clean: 
-       rm -f $(OBJS) $(shlib) lib$(NAME).a
+
+clean: clean-shlib
+       rm -f $(OBJS) lib$(NAME).a
 
 depend dep:
        $(CC) -MM $(CFLAGS) *.c >depend
index f661d9b..1ad5c30 100644 (file)
@@ -6,7 +6,7 @@
 # Copyright (c) 1994, Regents of the University of California
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile.in,v 1.14 1999/05/27 14:28:40 momjian Exp $
+#    $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile.in,v 1.15 1999/06/30 23:57:27 tgl Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -87,8 +87,9 @@ beforeinstall-headers:
        @if [ ! -d $(LIBPGXXHEADERDIR) ]; then mkdir $(LIBPGXXHEADERDIR); fi
 
 .PHONY: clean
-clean:
-       rm -f libpq++.a $(shlib) $(OBJS)
+
+clean: clean-shlib
+       rm -f libpq++.a $(OBJS)
        $(MAKE) -C examples clean
 
 dep depend:
index 8b07a93..73f333c 100644 (file)
@@ -6,7 +6,7 @@
 # Copyright (c) 1994, Regents of the University of California
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.45 1999/03/07 23:05:57 tgl Exp $
+#    $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.46 1999/06/30 23:57:25 tgl Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -83,8 +83,9 @@ install-headers: libpq-fe.h libpq-int.h
 
 
 .PHONY: clean
-clean:
-       rm -f libpq.a $(shlib) $(OBJS)
+
+clean: clean-shlib
+       rm -f libpq.a $(OBJS)
        rm -f dllist.c common.c wchar.c conv.c big5.c
 ifeq ($(PORTNAME), win)
        rm -f pq.def
index 0835bd5..79883ab 100644 (file)
@@ -7,7 +7,7 @@
 #
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/GNUmakefile.in,v 1.10 1999/01/17 06:19:43 momjian Exp $
+#    $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/GNUmakefile.in,v 1.11 1999/06/30 23:57:29 tgl Exp $
 #
 #-------------------------------------------------------------------------
 @SET_MAKE@
@@ -65,8 +65,8 @@ install-ini: odbcinst.ini
 
 .PHONY: clean
 
-clean:
-       -rm -f lib$(NAME).a $(shlib) $(OBJS)
+clean: clean-shlib
+       -rm -f lib$(NAME).a $(OBJS)
 
 .PHONY: distclean
 
@@ -76,7 +76,7 @@ distclean: clean
 ifeq ($(PORTNAME), win)
        @if [ $SRCDIR != $ODBCSRCDIR ]; then rm -f template makefiles port; fi
 else
-       @if [ $SRCDIR ne $ODBCSRCDIR ]; then rm -f template makefiles port
+       @if [ $SRCDIR ne $ODBCSRCDIR ]; then rm -f template makefiles port; fi
 endif
 
 .PHONY: standalone
index 9178399..c69fdb7 100644 (file)
@@ -4,7 +4,7 @@
 #    Makefile for the plpgsql shared object
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.16 1999/03/21 02:27:46 tgl Exp $
+#    $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.17 1999/06/30 23:57:31 tgl Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -77,8 +77,8 @@ pl_scan.c:    scan.l
 
 .PHONY: install clean
 
-clean:
-       rm -f lib$(NAME).a $(shlib)
+clean: clean-shlib
+       rm -f lib$(NAME).a
        rm -f *.o pl.tab.h pl_gram.c pl_scan.c
 # And the garbage that might have been left behind by partial build:
        rm -f y.tab.c y.tab.h lex.yy.c