diff options
Diffstat (limited to 'src/port')
| -rw-r--r-- | src/port/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/port/Makefile b/src/port/Makefile index e17f324c0d4..acc7f858a57 100644 --- a/src/port/Makefile +++ b/src/port/Makefile @@ -15,7 +15,7 @@ # for use only by the backend binaries # # IDENTIFICATION -# $PostgreSQL: pgsql/src/port/Makefile,v 1.29 2005/09/27 17:39:35 tgl Exp $ +# $PostgreSQL: pgsql/src/port/Makefile,v 1.30 2005/12/09 21:19:36 petere Exp $ # #------------------------------------------------------------------------- @@ -36,11 +36,14 @@ LIBOBJS_SRV := $(patsubst thread.o,thread_srv.o, $(LIBOBJS_SRV)) all: libpgport.a libpgport_srv.a # libpgport is needed by some contrib -install: all - $(INSTALL_STLIB) libpgport.a $(DESTDIR)$(libdir) +install: all installdirs + $(INSTALL_STLIB) libpgport.a '$(DESTDIR)$(libdir)/libpgport.a' + +installdirs: + $(mkinstalldirs) '$(DESTDIR)$(libdir)' uninstall: - $(RM) $(DESTDIR)$(libdir)/libpgport.a + rm -f '$(DESTDIR)$(libdir)/libpgport.a' libpgport.a: $(LIBOBJS) $(AR) $(AROPT) $@ $^ |
