Commit fa179dde authored by Tom Lane's avatar Tom Lane

Make sure symlinks for sharedlib get removed by 'make clean'.

parent 7bf29f6b
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
# Copyright (c) 1994, Regents of the University of California # Copyright (c) 1994, Regents of the University of California
# #
# IDENTIFICATION # 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 ...@@ -41,8 +41,9 @@ typename.o : typename.c ../include/ecpgtype.h
.PHONY: clean .PHONY: clean
clean:
rm -f lib$(NAME).a $(shlib) $(OBJS) clean: clean-shlib
rm -f lib$(NAME).a $(OBJS)
ifeq ($(PORTNAME), win) ifeq ($(PORTNAME), win)
rm -f $(NAME).def rm -f $(NAME).def
endif endif
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
# Copyright (c) 1994, Regents of the University of California # Copyright (c) 1994, Regents of the University of California
# #
# IDENTIFICATION # 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: ...@@ -50,8 +50,9 @@ beforeinstall-headers:
.PHONY: clean .PHONY: clean
clean:
rm -f $(OBJS) $(shlib) lib$(NAME).a clean: clean-shlib
rm -f $(OBJS) lib$(NAME).a
depend dep: depend dep:
$(CC) -MM $(CFLAGS) *.c >depend $(CC) -MM $(CFLAGS) *.c >depend
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
# Copyright (c) 1994, Regents of the University of California # Copyright (c) 1994, Regents of the University of California
# #
# IDENTIFICATION # 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: ...@@ -87,8 +87,9 @@ beforeinstall-headers:
@if [ ! -d $(LIBPGXXHEADERDIR) ]; then mkdir $(LIBPGXXHEADERDIR); fi @if [ ! -d $(LIBPGXXHEADERDIR) ]; then mkdir $(LIBPGXXHEADERDIR); fi
.PHONY: clean .PHONY: clean
clean:
rm -f libpq++.a $(shlib) $(OBJS) clean: clean-shlib
rm -f libpq++.a $(OBJS)
$(MAKE) -C examples clean $(MAKE) -C examples clean
dep depend: dep depend:
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
# Copyright (c) 1994, Regents of the University of California # Copyright (c) 1994, Regents of the University of California
# #
# IDENTIFICATION # 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 ...@@ -83,8 +83,9 @@ install-headers: libpq-fe.h libpq-int.h
.PHONY: clean .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 rm -f dllist.c common.c wchar.c conv.c big5.c
ifeq ($(PORTNAME), win) ifeq ($(PORTNAME), win)
rm -f pq.def rm -f pq.def
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # 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@ @SET_MAKE@
...@@ -65,8 +65,8 @@ install-ini: odbcinst.ini ...@@ -65,8 +65,8 @@ install-ini: odbcinst.ini
.PHONY: clean .PHONY: clean
clean: clean: clean-shlib
-rm -f lib$(NAME).a $(shlib) $(OBJS) -rm -f lib$(NAME).a $(OBJS)
.PHONY: distclean .PHONY: distclean
...@@ -76,7 +76,7 @@ distclean: clean ...@@ -76,7 +76,7 @@ distclean: clean
ifeq ($(PORTNAME), win) ifeq ($(PORTNAME), win)
@if [ $SRCDIR != $ODBCSRCDIR ]; then rm -f template makefiles port; fi @if [ $SRCDIR != $ODBCSRCDIR ]; then rm -f template makefiles port; fi
else else
@if [ $SRCDIR ne $ODBCSRCDIR ]; then rm -f template makefiles port @if [ $SRCDIR ne $ODBCSRCDIR ]; then rm -f template makefiles port; fi
endif endif
.PHONY: standalone .PHONY: standalone
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# Makefile for the plpgsql shared object # Makefile for the plpgsql shared object
# #
# IDENTIFICATION # 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 ...@@ -77,8 +77,8 @@ pl_scan.c: scan.l
.PHONY: install clean .PHONY: install clean
clean: clean: clean-shlib
rm -f lib$(NAME).a $(shlib) rm -f lib$(NAME).a
rm -f *.o pl.tab.h pl_gram.c pl_scan.c rm -f *.o pl.tab.h pl_gram.c pl_scan.c
# And the garbage that might have been left behind by partial build: # And the garbage that might have been left behind by partial build:
rm -f y.tab.c y.tab.h lex.yy.c rm -f y.tab.c y.tab.h lex.yy.c
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment