Commit 471dbbc2 authored by Bruce Momjian's avatar Bruce Momjian

DESTDIR removed, again.

parent 0bf81411
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.31 1998/04/06 01:35:19 momjian Exp $ # $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.32 1998/04/06 16:49:14 momjian Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -125,31 +125,31 @@ clean: ...@@ -125,31 +125,31 @@ clean:
# and (2) the parameters of a database system should be set at initdb time, # and (2) the parameters of a database system should be set at initdb time,
# not at postgres build time. # not at postgres build time.
install: $(DESTDIR)$(LIBDIR) $(DESTDIR)$(BINDIR) $(DESTDIR)$(HEADERDIR) postgres $(POSTGRES_IMP) fmgr.h\ install: $(LIBDIR) $(BINDIR) $(HEADERDIR) postgres $(POSTGRES_IMP) fmgr.h\
global1.bki.source local1_template1.bki.source \ global1.bki.source local1_template1.bki.source \
global1.description local1_template1.description \ global1.description local1_template1.description \
libpq/pg_hba.conf.sample optimizer/geqo/pg_geqo.sample libpq/pg_hba.conf.sample optimizer/geqo/pg_geqo.sample
$(INSTALL) $(INSTL_EXE_OPTS) postgres $(DESTDIR)$(BINDIR)/postgres $(INSTALL) $(INSTL_EXE_OPTS) postgres $(BINDIR)/postgres
ifeq ($(MAKE_EXPORTS), true) ifeq ($(MAKE_EXPORTS), true)
$(INSTALL) $(INSTLOPTS) $(POSTGRES_IMP) $(DESTDIR)$(LIBDIR)/$(POSTGRES_IMP) $(INSTALL) $(INSTLOPTS) $(POSTGRES_IMP) $(LIBDIR)/$(POSTGRES_IMP)
endif endif
@rm -f $(DESTDIR)$(BINDIR)/postmaster @rm -f $(BINDIR)/postmaster
ln -s postgres $(DESTDIR)$(BINDIR)/postmaster ln -s postgres $(BINDIR)/postmaster
$(INSTALL) $(INSTLOPTS) fmgr.h $(DESTDIR)$(HEADERDIR)/fmgr.h $(INSTALL) $(INSTLOPTS) fmgr.h $(HEADERDIR)/fmgr.h
$(INSTALL) $(INSTLOPTS) global1.bki.source \ $(INSTALL) $(INSTLOPTS) global1.bki.source \
$(DESTDIR)$(LIBDIR)/global1.bki.source $(LIBDIR)/global1.bki.source
$(INSTALL) $(INSTLOPTS) global1.description \ $(INSTALL) $(INSTLOPTS) global1.description \
$(DESTDIR)$(LIBDIR)/global1.description $(LIBDIR)/global1.description
$(INSTALL) $(INSTLOPTS) local1_template1.bki.source \ $(INSTALL) $(INSTLOPTS) local1_template1.bki.source \
$(DESTDIR)$(LIBDIR)/local1_template1.bki.source $(LIBDIR)/local1_template1.bki.source
$(INSTALL) $(INSTLOPTS) local1_template1.description \ $(INSTALL) $(INSTLOPTS) local1_template1.description \
$(DESTDIR)$(LIBDIR)/local1_template1.description $(LIBDIR)/local1_template1.description
$(INSTALL) $(INSTLOPTS) libpq/pg_hba.conf.sample \ $(INSTALL) $(INSTLOPTS) libpq/pg_hba.conf.sample \
$(DESTDIR)$(LIBDIR)/pg_hba.conf.sample $(LIBDIR)/pg_hba.conf.sample
$(INSTALL) $(INSTLOPTS) optimizer/geqo/pg_geqo.sample \ $(INSTALL) $(INSTLOPTS) optimizer/geqo/pg_geqo.sample \
$(DESTDIR)$(LIBDIR)/pg_geqo.sample $(LIBDIR)/pg_geqo.sample
$(DESTDIR)$(BINDIR) $(DESTDIR)$(LIBDIR) $(DESTDIR)$(HEADERDIR): $(BINDIR) $(LIBDIR) $(HEADERDIR):
mkdir $@ mkdir $@
############################################################################# #############################################################################
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/cleardbdir/Attic/Makefile,v 1.7 1998/04/06 01:14:10 momjian Exp $ # $Header: /cvsroot/pgsql/src/bin/cleardbdir/Attic/Makefile,v 1.8 1998/04/06 16:49:24 momjian Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -20,7 +20,7 @@ cleardbdir: ...@@ -20,7 +20,7 @@ cleardbdir:
cp cleardbdir.sh cleardbdir cp cleardbdir.sh cleardbdir
install: cleardbdir install: cleardbdir
$(INSTALL) $(INSTL_EXE_OPTS) $< $(DESTDIR)$(BINDIR)/$< $(INSTALL) $(INSTL_EXE_OPTS) $< $(BINDIR)/$<
clean: clean:
rm -f cleardbdir rm -f cleardbdir
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/createdb/Attic/Makefile,v 1.7 1998/04/06 01:14:13 momjian Exp $ # $Header: /cvsroot/pgsql/src/bin/createdb/Attic/Makefile,v 1.8 1998/04/06 16:49:28 momjian Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -20,7 +20,7 @@ createdb: createdb.sh ...@@ -20,7 +20,7 @@ createdb: createdb.sh
cp createdb.sh createdb cp createdb.sh createdb
install: createdb install: createdb
$(INSTALL) $(INSTL_EXE_OPTS) $< $(DESTDIR)$(BINDIR)/$< $(INSTALL) $(INSTL_EXE_OPTS) $< $(BINDIR)/$<
clean: clean:
rm -f createdb rm -f createdb
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/createuser/Attic/Makefile,v 1.7 1998/04/06 01:14:18 momjian Exp $ # $Header: /cvsroot/pgsql/src/bin/createuser/Attic/Makefile,v 1.8 1998/04/06 16:49:37 momjian Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -24,7 +24,7 @@ createuser: createuser.sh ...@@ -24,7 +24,7 @@ createuser: createuser.sh
sed $(SEDSCRIPT) <createuser.sh >createuser sed $(SEDSCRIPT) <createuser.sh >createuser
install: createuser install: createuser
$(INSTALL) $(INSTL_EXE_OPTS) $< $(DESTDIR)$(BINDIR)/$< $(INSTALL) $(INSTL_EXE_OPTS) $< $(BINDIR)/$<
clean: clean:
rm -f createuser rm -f createuser
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/destroydb/Attic/Makefile,v 1.7 1998/04/06 01:14:26 momjian Exp $ # $Header: /cvsroot/pgsql/src/bin/destroydb/Attic/Makefile,v 1.8 1998/04/06 16:49:51 momjian Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -20,7 +20,7 @@ destroydb: destroydb.sh ...@@ -20,7 +20,7 @@ destroydb: destroydb.sh
cp destroydb.sh destroydb cp destroydb.sh destroydb
install: destroydb install: destroydb
$(INSTALL) $(INSTL_EXE_OPTS) $< $(DESTDIR)$(BINDIR)/$< $(INSTALL) $(INSTL_EXE_OPTS) $< $(BINDIR)/$<
clean: clean:
rm -f destroydb rm -f destroydb
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/destroyuser/Attic/Makefile,v 1.7 1998/04/06 01:14:36 momjian Exp $ # $Header: /cvsroot/pgsql/src/bin/destroyuser/Attic/Makefile,v 1.8 1998/04/06 16:50:05 momjian Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -24,7 +24,7 @@ destroyuser: destroyuser.sh ...@@ -24,7 +24,7 @@ destroyuser: destroyuser.sh
sed $(SEDSCRIPT) <destroyuser.sh >destroyuser sed $(SEDSCRIPT) <destroyuser.sh >destroyuser
install: destroyuser install: destroyuser
$(INSTALL) $(INSTL_EXE_OPTS) $< $(DESTDIR)$(BINDIR)/$< $(INSTALL) $(INSTL_EXE_OPTS) $< $(BINDIR)/$<
clean: clean:
rm -f destroyuser rm -f destroyuser
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/initdb/Makefile,v 1.8 1998/04/06 02:10:49 momjian Exp $ # $Header: /cvsroot/pgsql/src/bin/initdb/Makefile,v 1.9 1998/04/06 16:50:22 momjian Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -17,7 +17,7 @@ include ../../Makefile.global ...@@ -17,7 +17,7 @@ include ../../Makefile.global
all: initdb all: initdb
install: initdb install: initdb
$(INSTALL) $(INSTL_EXE_OPTS) $< $(DESTDIR)$(BINDIR)/$< $(INSTALL) $(INSTL_EXE_OPTS) $< $(BINDIR)/$<
clean: clean:
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/initlocation/Attic/Makefile,v 1.4 1998/04/06 01:15:01 momjian Exp $ # $Header: /cvsroot/pgsql/src/bin/initlocation/Attic/Makefile,v 1.5 1998/04/06 16:50:30 momjian Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -24,7 +24,7 @@ initlocation: initlocation.sh ...@@ -24,7 +24,7 @@ initlocation: initlocation.sh
cp -p initlocation.sh initlocation cp -p initlocation.sh initlocation
install: initlocation install: initlocation
$(INSTALL) $(INSTL_EXE_OPTS) $< $(DESTDIR)$(BINDIR)/$< $(INSTALL) $(INSTL_EXE_OPTS) $< $(BINDIR)/$<
clean: clean:
rm -f initlocation rm -f initlocation
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/ipcclean/Attic/Makefile,v 1.6 1998/04/06 01:15:09 momjian Exp $ # $Header: /cvsroot/pgsql/src/bin/ipcclean/Attic/Makefile,v 1.7 1998/04/06 16:50:36 momjian Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -23,7 +23,7 @@ ipcclean: ...@@ -23,7 +23,7 @@ ipcclean:
sed $(SEDSCRIPT) <ipcclean.sh >ipcclean sed $(SEDSCRIPT) <ipcclean.sh >ipcclean
install: ipcclean install: ipcclean
$(INSTALL) $(INSTL_EXE_OPTS) $< $(DESTDIR)$(BINDIR)/$< $(INSTALL) $(INSTL_EXE_OPTS) $< $(BINDIR)/$<
clean: clean:
rm -f ipcclean rm -f ipcclean
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/pg_dump/Attic/Makefile.in,v 1.8 1998/04/06 01:15:16 momjian Exp $ # $Header: /cvsroot/pgsql/src/bin/pg_dump/Attic/Makefile.in,v 1.9 1998/04/06 16:50:46 momjian Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -39,8 +39,8 @@ submake: ...@@ -39,8 +39,8 @@ submake:
$(MAKE) -C $(LIBPQDIR) libpq.a $(MAKE) -C $(LIBPQDIR) libpq.a
install: pg_dump install: pg_dump
$(INSTALL) $(INSTL_EXE_OPTS) pg_dump $(DESTDIR)$(BINDIR)/pg_dump $(INSTALL) $(INSTL_EXE_OPTS) pg_dump $(BINDIR)/pg_dump
$(INSTALL) $(INSTL_EXE_OPTS) pg_dumpall $(DESTDIR)$(BINDIR)/pg_dumpall $(INSTALL) $(INSTL_EXE_OPTS) pg_dumpall $(BINDIR)/pg_dumpall
depend dep: depend dep:
$(CC) -MM $(CFLAGS) *.c >depend $(CC) -MM $(CFLAGS) *.c >depend
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/pg_id/Attic/Makefile,v 1.10 1998/04/06 01:15:24 momjian Exp $ # $Header: /cvsroot/pgsql/src/bin/pg_id/Attic/Makefile,v 1.11 1998/04/06 16:51:04 momjian Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -33,7 +33,7 @@ $(LIBPQDIR)/libpq.a: ...@@ -33,7 +33,7 @@ $(LIBPQDIR)/libpq.a:
$(MAKE) -C $(LIBPQDIR) libpq.a $(MAKE) -C $(LIBPQDIR) libpq.a
install: pg_id install: pg_id
$(INSTALL) $(INSTL_EXE_OPTS) pg_id $(DESTDIR)$(BINDIR)/pg_id $(INSTALL) $(INSTL_EXE_OPTS) pg_id $(BINDIR)/pg_id
depend dep: depend dep:
$(CC) -MM $(CFLAGS) *.c >depend $(CC) -MM $(CFLAGS) *.c >depend
......
...@@ -15,7 +15,7 @@ pg_passwd: $(OBJS) ...@@ -15,7 +15,7 @@ pg_passwd: $(OBJS)
$(CC) -o pg_passwd $(OBJS) $(LDFLAGS) $(CC) -o pg_passwd $(OBJS) $(LDFLAGS)
install: pg_passwd install: pg_passwd
$(INSTALL) $(INSTL_EXE_OPTS) pg_passwd $(DESTDIR)$(BINDIR)/pg_passwd $(INSTALL) $(INSTL_EXE_OPTS) pg_passwd $(BINDIR)/pg_passwd
.PHONY: submake .PHONY: submake
submake: submake:
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/pg_version/Attic/Makefile.in,v 1.4 1998/04/06 01:15:44 momjian Exp $ # $Header: /cvsroot/pgsql/src/bin/pg_version/Attic/Makefile.in,v 1.5 1998/04/06 16:51:27 momjian Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -28,7 +28,7 @@ submake: ...@@ -28,7 +28,7 @@ submake:
$(MAKE) -C ../../utils version.o $(MAKE) -C ../../utils version.o
install: pg_version install: pg_version
$(INSTALL) $(INSTL_EXE_OPTS) pg_version $(DESTDIR)$(BINDIR)/pg_version $(INSTALL) $(INSTL_EXE_OPTS) pg_version $(BINDIR)/pg_version
depend dep: depend dep:
$(CC) -MM $(CFLAGS) *.c >depend $(CC) -MM $(CFLAGS) *.c >depend
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/pgtclsh/Attic/Makefile,v 1.16 1998/04/06 01:15:51 momjian Exp $ # $Header: /cvsroot/pgsql/src/bin/pgtclsh/Attic/Makefile,v 1.17 1998/04/06 16:51:35 momjian Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -37,8 +37,8 @@ pgtksh: pgtkAppInit.o ...@@ -37,8 +37,8 @@ pgtksh: pgtkAppInit.o
$(X11_LIBS) -lm $(LDFLAGS) $(X11_LIBS) -lm $(LDFLAGS)
install: pgtclsh pgtksh install: pgtclsh pgtksh
$(INSTALL) $(INSTL_EXE_OPTS) pgtclsh $(DESTDIR)$(BINDIR)/pgtclsh $(INSTALL) $(INSTL_EXE_OPTS) pgtclsh $(BINDIR)/pgtclsh
$(INSTALL) $(INSTL_EXE_OPTS) pgtksh $(DESTDIR)$(BINDIR)/pgtksh $(INSTALL) $(INSTL_EXE_OPTS) pgtksh $(BINDIR)/pgtksh
clean: clean:
rm -f pgtclAppInit.o pgtkAppInit.o pgtclsh pgtksh rm -f pgtclAppInit.o pgtkAppInit.o pgtclsh pgtksh
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/psql/Attic/Makefile.in,v 1.10 1998/04/06 01:15:55 momjian Exp $ # $Header: /cvsroot/pgsql/src/bin/psql/Attic/Makefile.in,v 1.11 1998/04/06 16:51:44 momjian Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -39,7 +39,7 @@ submake: ...@@ -39,7 +39,7 @@ submake:
$(MAKE) -C $(LIBPQDIR) libpq.a $(MAKE) -C $(LIBPQDIR) libpq.a
install: psql install: psql
$(INSTALL) $(INSTL_EXE_OPTS) psql $(DESTDIR)$(BINDIR)/psql $(INSTALL) $(INSTL_EXE_OPTS) psql $(BINDIR)/psql
depend dep: depend dep:
$(CC) -MM $(CFLAGS) *.c >depend $(CC) -MM $(CFLAGS) *.c >depend
......
...@@ -6,13 +6,13 @@ all clean:: ...@@ -6,13 +6,13 @@ all clean::
@echo Nothing to be done. @echo Nothing to be done.
install:: install::
$(INSTALL) $(INSTLOPTS) ecpglib.h $(DESTDIR)$(HEADERDIR) $(INSTALL) $(INSTLOPTS) ecpglib.h $(HEADERDIR)
$(INSTALL) $(INSTLOPTS) ecpgtype.h $(DESTDIR)$(HEADERDIR) $(INSTALL) $(INSTLOPTS) ecpgtype.h $(HEADERDIR)
$(INSTALL) $(INSTLOPTS) sqlca.h $(DESTDIR)$(HEADERDIR) $(INSTALL) $(INSTLOPTS) sqlca.h $(HEADERDIR)
uninstall:: uninstall::
rm -f $(DESTDIR)$(HEADERDIR)/ecpglib.h rm -f $(HEADERDIR)/ecpglib.h
rm -f $(DESTDIR)$(HEADERDIR)/ecpgtype.h rm -f $(HEADERDIR)/ecpgtype.h
rm -f $(DESTDIR)$(HEADERDIR)/sqlca.h rm -f $(HEADERDIR)/sqlca.h
dep depend: dep depend:
...@@ -56,14 +56,14 @@ clean: ...@@ -56,14 +56,14 @@ clean:
dep depend: dep depend:
install: libecpg.a $(shlib) $(install-shlib-dep) install: libecpg.a $(shlib) $(install-shlib-dep)
$(INSTALL) $(INSTLOPTS) libecpg.a $(DESTDIR)$(LIBDIR) $(INSTALL) $(INSTLOPTS) libecpg.a $(LIBDIR)
install-shlib: install-shlib:
$(INSTALL) $(INSTLOPTS) $(shlib) $(DESTDIR)$(LIBDIR) $(INSTALL) $(INSTLOPTS) $(shlib) $(LIBDIR)
ln -sf $(shlib) $(DESTDIR)$(LIBDIR)/libecpg.so ln -sf $(shlib) $(LIBDIR)/libecpg.so
uninstall:: uninstall::
rm -f $(DESTDIR)$(LIBDIR)/libecpg.a $(DESTDIR)$(LIBDIR)/$(shlib) rm -f $(LIBDIR)/libecpg.a $(LIBDIR)/$(shlib)
# Rules that do something # Rules that do something
libecpg.a : libecpg.a(ecpglib.o) libecpg.a(typename.o) libecpg.a : libecpg.a(ecpglib.o) libecpg.a(typename.o)
......
...@@ -7,7 +7,7 @@ PATCHLEVEL=0 ...@@ -7,7 +7,7 @@ PATCHLEVEL=0
CFLAGS+=-I../include -DMAJOR_VERSION=$(MAJOR_VERSION) \ CFLAGS+=-I../include -DMAJOR_VERSION=$(MAJOR_VERSION) \
-DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL) \ -DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL) \
-DINCLUDE_PATH=\"$(DESTDIR)$(HEADERDIR)\" -DINCLUDE_PATH=\"$(HEADERDIR)\"
all:: ecpg all:: ecpg
...@@ -15,10 +15,10 @@ clean: ...@@ -15,10 +15,10 @@ clean:
rm -f *.o core a.out ecpg y.tab.h y.tab.c pgc.c *~ rm -f *.o core a.out ecpg y.tab.h y.tab.c pgc.c *~
install: all install: all
$(INSTALL) $(INSTL_EXE_OPTS) ecpg $(DESTDIR)$(BINDIR) $(INSTALL) $(INSTL_EXE_OPTS) ecpg $(BINDIR)
uninstall: uninstall:
rm -f $(DESTDIR)$(BINDIR)/ecpg rm -f $(BINDIR)/ecpg
dep depend: dep depend:
$(CC) -MM $(CFLAGS) *.c > depend $(CC) -MM $(CFLAGS) *.c > depend
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.10 1998/04/06 01:35:43 momjian Exp $ # $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.11 1998/04/06 16:52:15 momjian Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -88,18 +88,18 @@ $(shlib): $(OBJS) ...@@ -88,18 +88,18 @@ $(shlib): $(OBJS)
install: install-headers install-libpgtcl $(install-shlib-dep) install: install-headers install-libpgtcl $(install-shlib-dep)
install-headers: beforeinstall-headers libpgtcl.h install-headers: beforeinstall-headers libpgtcl.h
$(INSTALL) $(INSTLOPTS) libpgtcl.h $(DESTDIR)$(HEADERDIR)/libpgtcl.h $(INSTALL) $(INSTLOPTS) libpgtcl.h $(HEADERDIR)/libpgtcl.h
beforeinstall-headers: beforeinstall-headers:
@if [ ! -d $(DESTDIR)$(HEADERDIR) ]; then mkdir $(DESTDIR)$(HEADERDIR); fi @if [ ! -d $(HEADERDIR) ]; then mkdir $(HEADERDIR); fi
install-libpgtcl: libpgtcl.a install-libpgtcl: libpgtcl.a
$(INSTALL) $(INSTL_LIB_OPTS) libpgtcl.a $(DESTDIR)$(LIBDIR)/libpgtcl.a $(INSTALL) $(INSTL_LIB_OPTS) libpgtcl.a $(LIBDIR)/libpgtcl.a
install-shlib: $(shlib) install-shlib: $(shlib)
$(INSTALL) $(INSTL_LIB_OPTS) $(shlib) \ $(INSTALL) $(INSTL_LIB_OPTS) $(shlib) \
$(DESTDIR)$(LIBDIR)/$(shlib) $(LIBDIR)/$(shlib)
ln -sf $(shlib) $(DESTDIR)$(LIBDIR)/libpgtcl.so ln -sf $(shlib) $(LIBDIR)/libpgtcl.so
.PHONY: clean .PHONY: clean
clean: clean:
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile,v 1.15 1998/04/06 04:57:32 momjian Exp $ # $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile,v 1.16 1998/04/06 16:52:36 momjian Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -94,26 +94,26 @@ LIBPGXXHEADERS = pgenv.h \ ...@@ -94,26 +94,26 @@ LIBPGXXHEADERS = pgenv.h \
pglobject.h pglobject.h
install-headers: beforeinstall-headers $(MAINHEADER) install-headers: beforeinstall-headers $(MAINHEADER)
@$(INSTALL) $(INSTLOPTS) $(MAINHEADER) $(DESTDIR)$(HEADERDIR)/$(MAINHEADER) @$(INSTALL) $(INSTLOPTS) $(MAINHEADER) $(HEADERDIR)/$(MAINHEADER)
@for i in ${LIBPGXXHEADERS}; do \ @for i in ${LIBPGXXHEADERS}; do \
echo "Installing $(LIBPGXXHEADERDIR)/$$i."; \ echo "Installing $(LIBPGXXHEADERDIR)/$$i."; \
$(INSTALL) $(INSTLOPTS) $$i $(DESTDIR)$(LIBPGXXHEADERDIR)/$$i; \ $(INSTALL) $(INSTLOPTS) $$i $(LIBPGXXHEADERDIR)/$$i; \
done done
beforeinstall-headers: beforeinstall-headers:
@if [ ! -d $(DESTDIR)$(HEADERDIR) ]; then mkdir $(DESTDIR)$(HEADERDIR); fi @if [ ! -d $(HEADERDIR) ]; then mkdir $(HEADERDIR); fi
@if [ ! -d $(DESTDIR)$(LIBPGXXHEADERDIR) ]; then mkdir $(DESTDIR)$(LIBPGXXHEADERDIR); fi @if [ ! -d $(LIBPGXXHEADERDIR) ]; then mkdir $(LIBPGXXHEADERDIR); fi
beforeinstall-lib: beforeinstall-lib:
@if [ ! -d $(DESTDIR)$(LIBDIR) ] ; then mkdir $(DESTDIR)$(LIBDIR); fi @if [ ! -d $(LIBDIR) ] ; then mkdir $(LIBDIR); fi
install-$(LIBNAME): $(LIBNAME).a beforeinstall-lib install-$(LIBNAME): $(LIBNAME).a beforeinstall-lib
$(INSTALL) $(INSTL_LIB_OPTS) $(LIBNAME).a $(DESTDIR)$(LIBDIR)/$(LIBNAME).a $(INSTALL) $(INSTL_LIB_OPTS) $(LIBNAME).a $(LIBDIR)/$(LIBNAME).a
install-shlib: $(SHLIBNAME) beforeinstall-lib install-shlib: $(SHLIBNAME) beforeinstall-lib
$(INSTALL) $(INSTL_SHLIB_OPTS) $(SHLIB) $(DESTDIR)$(LIBDIR)/$(SHLIB) $(INSTALL) $(INSTL_SHLIB_OPTS) $(SHLIB) $(LIBDIR)/$(SHLIB)
rm -f $(DESTDIR)$(LIBDIR)/libpq++.so rm -f $(LIBDIR)/libpq++.so
ln -sf $(SHLIB) $(DESTDIR)$(LIBDIR)/libpq++.so ln -sf $(SHLIB) $(LIBDIR)/libpq++.so
doc: doc:
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# Makefile for doc directory to install man pages # Makefile for doc directory to install man pages
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/interfaces/libpq++/man/Attic/Makefile,v 1.4 1998/04/06 01:36:20 momjian Exp $ # $Header: /cvsroot/pgsql/src/interfaces/libpq++/man/Attic/Makefile,v 1.5 1998/04/06 16:52:47 momjian Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -12,6 +12,6 @@ SRCDIR= ../../.. ...@@ -12,6 +12,6 @@ SRCDIR= ../../..
include ../../../Makefile.global include ../../../Makefile.global
install: install:
-mkdir $(DESTDIR)$(POSTMANDIR) -mkdir $(POSTMANDIR)
-mkdir $(DESTDIR)$(POSTMANDIR)/man3 -mkdir $(POSTMANDIR)/man3
cp *.3* $(DESTDIR)$(POSTMANDIR)/man3 cp *.3* $(POSTMANDIR)/man3
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.13 1998/04/06 01:35:53 momjian Exp $ # $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.14 1998/04/06 16:52:28 momjian Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -117,65 +117,65 @@ install-headers: beforeinstall-headers c.h \ ...@@ -117,65 +117,65 @@ install-headers: beforeinstall-headers c.h \
$(SRCDIR)/include/libpq/libpq-fs.h $(SRCDIR)/include/lib/dllist.h \ $(SRCDIR)/include/libpq/libpq-fs.h $(SRCDIR)/include/lib/dllist.h \
$(SRCDIR)/include/utils/geo_decls.h libpq-fe.h $(SRCDIR)/include/utils/geo_decls.h libpq-fe.h
$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/os.h \ $(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/os.h \
$(DESTDIR)$(HEADERDIR)/os.h $(HEADERDIR)/os.h
$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/config.h \ $(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/config.h \
$(DESTDIR)$(HEADERDIR)/config.h $(HEADERDIR)/config.h
$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/postgres.h \ $(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/postgres.h \
$(DESTDIR)$(HEADERDIR)/postgres.h $(HEADERDIR)/postgres.h
$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/postgres_ext.h \ $(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/postgres_ext.h \
$(DESTDIR)$(HEADERDIR)/postgres_ext.h $(HEADERDIR)/postgres_ext.h
$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/libpq/pqcomm.h \ $(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/libpq/pqcomm.h \
$(DESTDIR)$(HEADERDIR)/libpq/pqcomm.h $(HEADERDIR)/libpq/pqcomm.h
$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/libpq/libpq-fs.h \ $(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/libpq/libpq-fs.h \
$(DESTDIR)$(HEADERDIR)/libpq/libpq-fs.h $(HEADERDIR)/libpq/libpq-fs.h
$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/lib/dllist.h \ $(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/lib/dllist.h \
$(DESTDIR)$(HEADERDIR)/lib/dllist.h $(HEADERDIR)/lib/dllist.h
$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/utils/geo_decls.h \ $(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/utils/geo_decls.h \
$(DESTDIR)$(HEADERDIR)/utils/geo_decls.h $(HEADERDIR)/utils/geo_decls.h
$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/utils/elog.h \ $(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/utils/elog.h \
$(DESTDIR)$(HEADERDIR)/utils/elog.h $(HEADERDIR)/utils/elog.h
$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/utils/palloc.h \ $(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/utils/palloc.h \
$(DESTDIR)$(HEADERDIR)/utils/palloc.h $(HEADERDIR)/utils/palloc.h
$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/access/attnum.h \ $(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/access/attnum.h \
$(DESTDIR)$(HEADERDIR)/access/attnum.h $(HEADERDIR)/access/attnum.h
$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/executor/spi.h \ $(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/executor/spi.h \
$(DESTDIR)$(HEADERDIR)/executor/spi.h $(HEADERDIR)/executor/spi.h
$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/commands/trigger.h \ $(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/commands/trigger.h \
$(DESTDIR)$(HEADERDIR)/commands/trigger.h $(HEADERDIR)/commands/trigger.h
$(INSTALL) $(INSTLOPTS) libpq-fe.h $(DESTDIR)$(HEADERDIR)/libpq-fe.h $(INSTALL) $(INSTLOPTS) libpq-fe.h $(HEADERDIR)/libpq-fe.h
ifeq ($(PORTNAME), hpux) ifeq ($(PORTNAME), hpux)
$(INSTALL) $(INSTLOPTS) $(SRCDIR)/backend/port/hpux/fixade.h \ $(INSTALL) $(INSTLOPTS) $(SRCDIR)/backend/port/hpux/fixade.h \
$(DESTDIR)$(HEADERDIR)/port/hpux/fixade.h $(HEADERDIR)/port/hpux/fixade.h
endif endif
$(INSTALL) $(INSTLOPTS) c.h $(DESTDIR)$(HEADERDIR)/c.h $(INSTALL) $(INSTLOPTS) c.h $(HEADERDIR)/c.h
beforeinstall-headers: beforeinstall-headers:
@if [ ! -d $(DESTDIR)$(HEADERDIR) ]; then mkdir $(DESTDIR)$(HEADERDIR); fi @if [ ! -d $(HEADERDIR) ]; then mkdir $(HEADERDIR); fi
@if [ ! -d $(DESTDIR)$(HEADERDIR)/port ]; then mkdir $(DESTDIR)$(HEADERDIR)/port; fi @if [ ! -d $(HEADERDIR)/port ]; then mkdir $(HEADERDIR)/port; fi
@if [ ! -d $(DESTDIR)$(HEADERDIR)/port/$(PORTNAME) ]; \ @if [ ! -d $(HEADERDIR)/port/$(PORTNAME) ]; \
then mkdir $(DESTDIR)$(HEADERDIR)/port/$(PORTNAME); fi then mkdir $(HEADERDIR)/port/$(PORTNAME); fi
@if [ ! -d $(DESTDIR)$(HEADERDIR)/include ]; \ @if [ ! -d $(HEADERDIR)/include ]; \
then mkdir $(DESTDIR)$(HEADERDIR)/include; fi then mkdir $(HEADERDIR)/include; fi
@if [ ! -d $(DESTDIR)$(HEADERDIR)/lib ]; \ @if [ ! -d $(HEADERDIR)/lib ]; \
then mkdir $(DESTDIR)$(HEADERDIR)/lib; fi then mkdir $(HEADERDIR)/lib; fi
@if [ ! -d $(DESTDIR)$(HEADERDIR)/libpq ]; \ @if [ ! -d $(HEADERDIR)/libpq ]; \
then mkdir $(DESTDIR)$(HEADERDIR)/libpq; fi then mkdir $(HEADERDIR)/libpq; fi
@if [ ! -d $(DESTDIR)$(HEADERDIR)/utils ]; \ @if [ ! -d $(HEADERDIR)/utils ]; \
then mkdir $(DESTDIR)$(HEADERDIR)/utils; fi then mkdir $(HEADERDIR)/utils; fi
@if [ ! -d $(DESTDIR)$(HEADERDIR)/access ]; \ @if [ ! -d $(HEADERDIR)/access ]; \
then mkdir $(DESTDIR)$(HEADERDIR)/access; fi then mkdir $(HEADERDIR)/access; fi
@if [ ! -d $(DESTDIR)$(HEADERDIR)/executor ]; \ @if [ ! -d $(HEADERDIR)/executor ]; \
then mkdir $(DESTDIR)$(HEADERDIR)/executor; fi then mkdir $(HEADERDIR)/executor; fi
@if [ ! -d $(DESTDIR)$(HEADERDIR)/commands ]; \ @if [ ! -d $(HEADERDIR)/commands ]; \
then mkdir $(DESTDIR)$(HEADERDIR)/commands; fi then mkdir $(HEADERDIR)/commands; fi
install-libpq: libpq.a install-libpq: libpq.a
$(INSTALL) $(INSTL_LIB_OPTS) libpq.a $(DESTDIR)$(LIBDIR)/libpq.a $(INSTALL) $(INSTL_LIB_OPTS) libpq.a $(LIBDIR)/libpq.a
install-shlib: $(shlib) install-shlib: $(shlib)
$(INSTALL) $(INSTL_LIB_OPTS) $(shlib) $(DESTDIR)$(LIBDIR)/$(shlib) $(INSTALL) $(INSTL_LIB_OPTS) $(shlib) $(LIBDIR)/$(shlib)
rm -f $(DESTDIR)$(LIBDIR)/libpq.so rm -f $(LIBDIR)/libpq.so
ln -s $(shlib) $(DESTDIR)$(LIBDIR)/libpq.so ln -s $(shlib) $(LIBDIR)/libpq.so
depend dep: depend dep:
$(CC) -MM $(CFLAGS) *.c >depend $(CC) -MM $(CFLAGS) *.c >depend
......
LDFLAGS+= -export-dynamic #-Wl,-rpath -Wl,$(DESTDIR)$(LIBDIR) LDFLAGS+= -export-dynamic #-Wl,-rpath -Wl,$(LIBDIR)
MK_NO_LORDER= true MK_NO_LORDER= true
%.so: %.o %.so: %.o
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/man/Attic/Makefile,v 1.6 1998/04/06 02:03:03 momjian Exp $ # $Header: /cvsroot/pgsql/src/man/Attic/Makefile,v 1.7 1998/04/06 16:53:05 momjian Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -16,15 +16,15 @@ SRCDIR=.. ...@@ -16,15 +16,15 @@ SRCDIR=..
include ../Makefile.global include ../Makefile.global
install: install:
-mkdir $(DESTDIR)$(POSTMANDIR) -mkdir $(POSTMANDIR)
-mkdir $(DESTDIR)$(POSTMANDIR)/man1 -mkdir $(POSTMANDIR)/man1
-mkdir $(DESTDIR)$(POSTMANDIR)/man3 -mkdir $(POSTMANDIR)/man3
-mkdir $(DESTDIR)$(POSTMANDIR)/man5 -mkdir $(POSTMANDIR)/man5
-mkdir $(DESTDIR)$(POSTMANDIR)/manl -mkdir $(POSTMANDIR)/manl
cp *.1* $(DESTDIR)$(POSTMANDIR)/man1 cp *.1* $(POSTMANDIR)/man1
cp *.3* $(DESTDIR)$(POSTMANDIR)/man3 cp *.3* $(POSTMANDIR)/man3
cp *.5* $(DESTDIR)$(POSTMANDIR)/man5 cp *.5* $(POSTMANDIR)/man5
cp *.l* $(DESTDIR)$(POSTMANDIR)/manl cp *.l* $(POSTMANDIR)/manl
clean: clean:
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# Makefile for the pltcl shared object # Makefile for the pltcl shared object
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/pl/tcl/Makefile,v 1.4 1998/04/06 01:16:55 momjian Exp $ # $Header: /cvsroot/pgsql/src/pl/tcl/Makefile,v 1.5 1998/04/06 16:53:15 momjian Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -87,6 +87,6 @@ clean: ...@@ -87,6 +87,6 @@ clean:
rm -f Makefile.tcldefs rm -f Makefile.tcldefs
install: all install: all
$(INSTALL) $(INSTL_LIB_OPTS) $(DLOBJS) $(DESTDIR)$(LIBDIR)/$(DLOBJS) $(INSTALL) $(INSTL_LIB_OPTS) $(DLOBJS) $(LIBDIR)/$(DLOBJS)
dep depend: dep depend:
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