#
#
# 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 $
#
#-------------------------------------------------------------------------
# and (2) the parameters of a database system should be set at initdb 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.description local1_template1.description \
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)
- $(INSTALL) $(INSTLOPTS) $(POSTGRES_IMP) $(DESTDIR)$(LIBDIR)/$(POSTGRES_IMP)
+ $(INSTALL) $(INSTLOPTS) $(POSTGRES_IMP) $(LIBDIR)/$(POSTGRES_IMP)
endif
- @rm -f $(DESTDIR)$(BINDIR)/postmaster
- ln -s postgres $(DESTDIR)$(BINDIR)/postmaster
- $(INSTALL) $(INSTLOPTS) fmgr.h $(DESTDIR)$(HEADERDIR)/fmgr.h
+ @rm -f $(BINDIR)/postmaster
+ ln -s postgres $(BINDIR)/postmaster
+ $(INSTALL) $(INSTLOPTS) fmgr.h $(HEADERDIR)/fmgr.h
$(INSTALL) $(INSTLOPTS) global1.bki.source \
- $(DESTDIR)$(LIBDIR)/global1.bki.source
+ $(LIBDIR)/global1.bki.source
$(INSTALL) $(INSTLOPTS) global1.description \
- $(DESTDIR)$(LIBDIR)/global1.description
+ $(LIBDIR)/global1.description
$(INSTALL) $(INSTLOPTS) local1_template1.bki.source \
- $(DESTDIR)$(LIBDIR)/local1_template1.bki.source
+ $(LIBDIR)/local1_template1.bki.source
$(INSTALL) $(INSTLOPTS) local1_template1.description \
- $(DESTDIR)$(LIBDIR)/local1_template1.description
+ $(LIBDIR)/local1_template1.description
$(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 \
- $(DESTDIR)$(LIBDIR)/pg_geqo.sample
+ $(LIBDIR)/pg_geqo.sample
-$(DESTDIR)$(BINDIR) $(DESTDIR)$(LIBDIR) $(DESTDIR)$(HEADERDIR):
+$(BINDIR) $(LIBDIR) $(HEADERDIR):
mkdir $@
#############################################################################
#
#
# 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 $
#
#-------------------------------------------------------------------------
cp cleardbdir.sh cleardbdir
install: cleardbdir
- $(INSTALL) $(INSTL_EXE_OPTS) $< $(DESTDIR)$(BINDIR)/$<
+ $(INSTALL) $(INSTL_EXE_OPTS) $< $(BINDIR)/$<
clean:
rm -f cleardbdir
#
#
# 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 $
#
#-------------------------------------------------------------------------
cp createdb.sh createdb
install: createdb
- $(INSTALL) $(INSTL_EXE_OPTS) $< $(DESTDIR)$(BINDIR)/$<
+ $(INSTALL) $(INSTL_EXE_OPTS) $< $(BINDIR)/$<
clean:
rm -f createdb
#
#
# 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 $
#
#-------------------------------------------------------------------------
sed $(SEDSCRIPT) <createuser.sh >createuser
install: createuser
- $(INSTALL) $(INSTL_EXE_OPTS) $< $(DESTDIR)$(BINDIR)/$<
+ $(INSTALL) $(INSTL_EXE_OPTS) $< $(BINDIR)/$<
clean:
rm -f createuser
#
#
# 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 $
#
#-------------------------------------------------------------------------
cp destroydb.sh destroydb
install: destroydb
- $(INSTALL) $(INSTL_EXE_OPTS) $< $(DESTDIR)$(BINDIR)/$<
+ $(INSTALL) $(INSTL_EXE_OPTS) $< $(BINDIR)/$<
clean:
rm -f destroydb
#
#
# 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 $
#
#-------------------------------------------------------------------------
sed $(SEDSCRIPT) <destroyuser.sh >destroyuser
install: destroyuser
- $(INSTALL) $(INSTL_EXE_OPTS) $< $(DESTDIR)$(BINDIR)/$<
+ $(INSTALL) $(INSTL_EXE_OPTS) $< $(BINDIR)/$<
clean:
rm -f destroyuser
#
#
# 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 $
#
#-------------------------------------------------------------------------
all: initdb
install: initdb
- $(INSTALL) $(INSTL_EXE_OPTS) $< $(DESTDIR)$(BINDIR)/$<
+ $(INSTALL) $(INSTL_EXE_OPTS) $< $(BINDIR)/$<
clean:
#
#
# 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 $
#
#-------------------------------------------------------------------------
cp -p initlocation.sh initlocation
install: initlocation
- $(INSTALL) $(INSTL_EXE_OPTS) $< $(DESTDIR)$(BINDIR)/$<
+ $(INSTALL) $(INSTL_EXE_OPTS) $< $(BINDIR)/$<
clean:
rm -f initlocation
#
#
# 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 $
#
#-------------------------------------------------------------------------
sed $(SEDSCRIPT) <ipcclean.sh >ipcclean
install: ipcclean
- $(INSTALL) $(INSTL_EXE_OPTS) $< $(DESTDIR)$(BINDIR)/$<
+ $(INSTALL) $(INSTL_EXE_OPTS) $< $(BINDIR)/$<
clean:
rm -f ipcclean
#
#
# 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 $
#
#-------------------------------------------------------------------------
$(MAKE) -C $(LIBPQDIR) libpq.a
install: pg_dump
- $(INSTALL) $(INSTL_EXE_OPTS) pg_dump $(DESTDIR)$(BINDIR)/pg_dump
- $(INSTALL) $(INSTL_EXE_OPTS) pg_dumpall $(DESTDIR)$(BINDIR)/pg_dumpall
+ $(INSTALL) $(INSTL_EXE_OPTS) pg_dump $(BINDIR)/pg_dump
+ $(INSTALL) $(INSTL_EXE_OPTS) pg_dumpall $(BINDIR)/pg_dumpall
depend dep:
$(CC) -MM $(CFLAGS) *.c >depend
#
#
# 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 $
#
#-------------------------------------------------------------------------
$(MAKE) -C $(LIBPQDIR) libpq.a
install: pg_id
- $(INSTALL) $(INSTL_EXE_OPTS) pg_id $(DESTDIR)$(BINDIR)/pg_id
+ $(INSTALL) $(INSTL_EXE_OPTS) pg_id $(BINDIR)/pg_id
depend dep:
$(CC) -MM $(CFLAGS) *.c >depend
$(CC) -o pg_passwd $(OBJS) $(LDFLAGS)
install: pg_passwd
- $(INSTALL) $(INSTL_EXE_OPTS) pg_passwd $(DESTDIR)$(BINDIR)/pg_passwd
+ $(INSTALL) $(INSTL_EXE_OPTS) pg_passwd $(BINDIR)/pg_passwd
.PHONY: submake
submake:
#
#
# 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 $
#
#-------------------------------------------------------------------------
$(MAKE) -C ../../utils version.o
install: pg_version
- $(INSTALL) $(INSTL_EXE_OPTS) pg_version $(DESTDIR)$(BINDIR)/pg_version
+ $(INSTALL) $(INSTL_EXE_OPTS) pg_version $(BINDIR)/pg_version
depend dep:
$(CC) -MM $(CFLAGS) *.c >depend
#
#
# 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 $
#
#-------------------------------------------------------------------------
$(X11_LIBS) -lm $(LDFLAGS)
install: pgtclsh pgtksh
- $(INSTALL) $(INSTL_EXE_OPTS) pgtclsh $(DESTDIR)$(BINDIR)/pgtclsh
- $(INSTALL) $(INSTL_EXE_OPTS) pgtksh $(DESTDIR)$(BINDIR)/pgtksh
+ $(INSTALL) $(INSTL_EXE_OPTS) pgtclsh $(BINDIR)/pgtclsh
+ $(INSTALL) $(INSTL_EXE_OPTS) pgtksh $(BINDIR)/pgtksh
clean:
rm -f pgtclAppInit.o pgtkAppInit.o pgtclsh pgtksh
#
#
# 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 $
#
#-------------------------------------------------------------------------
$(MAKE) -C $(LIBPQDIR) libpq.a
install: psql
- $(INSTALL) $(INSTL_EXE_OPTS) psql $(DESTDIR)$(BINDIR)/psql
+ $(INSTALL) $(INSTL_EXE_OPTS) psql $(BINDIR)/psql
depend dep:
$(CC) -MM $(CFLAGS) *.c >depend
@echo Nothing to be done.
install::
- $(INSTALL) $(INSTLOPTS) ecpglib.h $(DESTDIR)$(HEADERDIR)
- $(INSTALL) $(INSTLOPTS) ecpgtype.h $(DESTDIR)$(HEADERDIR)
- $(INSTALL) $(INSTLOPTS) sqlca.h $(DESTDIR)$(HEADERDIR)
+ $(INSTALL) $(INSTLOPTS) ecpglib.h $(HEADERDIR)
+ $(INSTALL) $(INSTLOPTS) ecpgtype.h $(HEADERDIR)
+ $(INSTALL) $(INSTLOPTS) sqlca.h $(HEADERDIR)
uninstall::
- rm -f $(DESTDIR)$(HEADERDIR)/ecpglib.h
- rm -f $(DESTDIR)$(HEADERDIR)/ecpgtype.h
- rm -f $(DESTDIR)$(HEADERDIR)/sqlca.h
+ rm -f $(HEADERDIR)/ecpglib.h
+ rm -f $(HEADERDIR)/ecpgtype.h
+ rm -f $(HEADERDIR)/sqlca.h
dep depend:
dep depend:
install: libecpg.a $(shlib) $(install-shlib-dep)
- $(INSTALL) $(INSTLOPTS) libecpg.a $(DESTDIR)$(LIBDIR)
+ $(INSTALL) $(INSTLOPTS) libecpg.a $(LIBDIR)
install-shlib:
- $(INSTALL) $(INSTLOPTS) $(shlib) $(DESTDIR)$(LIBDIR)
- ln -sf $(shlib) $(DESTDIR)$(LIBDIR)/libecpg.so
+ $(INSTALL) $(INSTLOPTS) $(shlib) $(LIBDIR)
+ ln -sf $(shlib) $(LIBDIR)/libecpg.so
uninstall::
- rm -f $(DESTDIR)$(LIBDIR)/libecpg.a $(DESTDIR)$(LIBDIR)/$(shlib)
+ rm -f $(LIBDIR)/libecpg.a $(LIBDIR)/$(shlib)
# Rules that do something
libecpg.a : libecpg.a(ecpglib.o) libecpg.a(typename.o)
CFLAGS+=-I../include -DMAJOR_VERSION=$(MAJOR_VERSION) \
-DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL) \
- -DINCLUDE_PATH=\"$(DESTDIR)$(HEADERDIR)\"
+ -DINCLUDE_PATH=\"$(HEADERDIR)\"
all:: ecpg
rm -f *.o core a.out ecpg y.tab.h y.tab.c pgc.c *~
install: all
- $(INSTALL) $(INSTL_EXE_OPTS) ecpg $(DESTDIR)$(BINDIR)
+ $(INSTALL) $(INSTL_EXE_OPTS) ecpg $(BINDIR)
uninstall:
- rm -f $(DESTDIR)$(BINDIR)/ecpg
+ rm -f $(BINDIR)/ecpg
dep depend:
$(CC) -MM $(CFLAGS) *.c > depend
#
#
# 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 $
#
#-------------------------------------------------------------------------
install: install-headers install-libpgtcl $(install-shlib-dep)
install-headers: beforeinstall-headers libpgtcl.h
- $(INSTALL) $(INSTLOPTS) libpgtcl.h $(DESTDIR)$(HEADERDIR)/libpgtcl.h
+ $(INSTALL) $(INSTLOPTS) libpgtcl.h $(HEADERDIR)/libpgtcl.h
beforeinstall-headers:
- @if [ ! -d $(DESTDIR)$(HEADERDIR) ]; then mkdir $(DESTDIR)$(HEADERDIR); fi
+ @if [ ! -d $(HEADERDIR) ]; then mkdir $(HEADERDIR); fi
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) $(INSTL_LIB_OPTS) $(shlib) \
- $(DESTDIR)$(LIBDIR)/$(shlib)
- ln -sf $(shlib) $(DESTDIR)$(LIBDIR)/libpgtcl.so
+ $(LIBDIR)/$(shlib)
+ ln -sf $(shlib) $(LIBDIR)/libpgtcl.so
.PHONY: clean
clean:
#
#
# 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 $
#
#-------------------------------------------------------------------------
pglobject.h
install-headers: beforeinstall-headers $(MAINHEADER)
- @$(INSTALL) $(INSTLOPTS) $(MAINHEADER) $(DESTDIR)$(HEADERDIR)/$(MAINHEADER)
+ @$(INSTALL) $(INSTLOPTS) $(MAINHEADER) $(HEADERDIR)/$(MAINHEADER)
@for i in ${LIBPGXXHEADERS}; do \
echo "Installing $(LIBPGXXHEADERDIR)/$$i."; \
- $(INSTALL) $(INSTLOPTS) $$i $(DESTDIR)$(LIBPGXXHEADERDIR)/$$i; \
+ $(INSTALL) $(INSTLOPTS) $$i $(LIBPGXXHEADERDIR)/$$i; \
done
beforeinstall-headers:
- @if [ ! -d $(DESTDIR)$(HEADERDIR) ]; then mkdir $(DESTDIR)$(HEADERDIR); fi
- @if [ ! -d $(DESTDIR)$(LIBPGXXHEADERDIR) ]; then mkdir $(DESTDIR)$(LIBPGXXHEADERDIR); fi
+ @if [ ! -d $(HEADERDIR) ]; then mkdir $(HEADERDIR); fi
+ @if [ ! -d $(LIBPGXXHEADERDIR) ]; then mkdir $(LIBPGXXHEADERDIR); fi
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) $(INSTL_LIB_OPTS) $(LIBNAME).a $(DESTDIR)$(LIBDIR)/$(LIBNAME).a
+ $(INSTALL) $(INSTL_LIB_OPTS) $(LIBNAME).a $(LIBDIR)/$(LIBNAME).a
install-shlib: $(SHLIBNAME) beforeinstall-lib
- $(INSTALL) $(INSTL_SHLIB_OPTS) $(SHLIB) $(DESTDIR)$(LIBDIR)/$(SHLIB)
- rm -f $(DESTDIR)$(LIBDIR)/libpq++.so
- ln -sf $(SHLIB) $(DESTDIR)$(LIBDIR)/libpq++.so
+ $(INSTALL) $(INSTL_SHLIB_OPTS) $(SHLIB) $(LIBDIR)/$(SHLIB)
+ rm -f $(LIBDIR)/libpq++.so
+ ln -sf $(SHLIB) $(LIBDIR)/libpq++.so
doc:
# Makefile for doc directory to install man pages
#
# 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 $
#
#-------------------------------------------------------------------------
include ../../../Makefile.global
install:
- -mkdir $(DESTDIR)$(POSTMANDIR)
- -mkdir $(DESTDIR)$(POSTMANDIR)/man3
- cp *.3* $(DESTDIR)$(POSTMANDIR)/man3
+ -mkdir $(POSTMANDIR)
+ -mkdir $(POSTMANDIR)/man3
+ cp *.3* $(POSTMANDIR)/man3
#
#
# 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 $
#
#-------------------------------------------------------------------------
$(SRCDIR)/include/libpq/libpq-fs.h $(SRCDIR)/include/lib/dllist.h \
$(SRCDIR)/include/utils/geo_decls.h libpq-fe.h
$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/os.h \
- $(DESTDIR)$(HEADERDIR)/os.h
+ $(HEADERDIR)/os.h
$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/config.h \
- $(DESTDIR)$(HEADERDIR)/config.h
+ $(HEADERDIR)/config.h
$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/postgres.h \
- $(DESTDIR)$(HEADERDIR)/postgres.h
+ $(HEADERDIR)/postgres.h
$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/postgres_ext.h \
- $(DESTDIR)$(HEADERDIR)/postgres_ext.h
+ $(HEADERDIR)/postgres_ext.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 \
- $(DESTDIR)$(HEADERDIR)/libpq/libpq-fs.h
+ $(HEADERDIR)/libpq/libpq-fs.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 \
- $(DESTDIR)$(HEADERDIR)/utils/geo_decls.h
+ $(HEADERDIR)/utils/geo_decls.h
$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/utils/elog.h \
- $(DESTDIR)$(HEADERDIR)/utils/elog.h
+ $(HEADERDIR)/utils/elog.h
$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/utils/palloc.h \
- $(DESTDIR)$(HEADERDIR)/utils/palloc.h
+ $(HEADERDIR)/utils/palloc.h
$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/access/attnum.h \
- $(DESTDIR)$(HEADERDIR)/access/attnum.h
+ $(HEADERDIR)/access/attnum.h
$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/executor/spi.h \
- $(DESTDIR)$(HEADERDIR)/executor/spi.h
+ $(HEADERDIR)/executor/spi.h
$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/commands/trigger.h \
- $(DESTDIR)$(HEADERDIR)/commands/trigger.h
- $(INSTALL) $(INSTLOPTS) libpq-fe.h $(DESTDIR)$(HEADERDIR)/libpq-fe.h
+ $(HEADERDIR)/commands/trigger.h
+ $(INSTALL) $(INSTLOPTS) libpq-fe.h $(HEADERDIR)/libpq-fe.h
ifeq ($(PORTNAME), hpux)
$(INSTALL) $(INSTLOPTS) $(SRCDIR)/backend/port/hpux/fixade.h \
- $(DESTDIR)$(HEADERDIR)/port/hpux/fixade.h
+ $(HEADERDIR)/port/hpux/fixade.h
endif
- $(INSTALL) $(INSTLOPTS) c.h $(DESTDIR)$(HEADERDIR)/c.h
+ $(INSTALL) $(INSTLOPTS) c.h $(HEADERDIR)/c.h
beforeinstall-headers:
- @if [ ! -d $(DESTDIR)$(HEADERDIR) ]; then mkdir $(DESTDIR)$(HEADERDIR); fi
- @if [ ! -d $(DESTDIR)$(HEADERDIR)/port ]; then mkdir $(DESTDIR)$(HEADERDIR)/port; fi
- @if [ ! -d $(DESTDIR)$(HEADERDIR)/port/$(PORTNAME) ]; \
- then mkdir $(DESTDIR)$(HEADERDIR)/port/$(PORTNAME); fi
- @if [ ! -d $(DESTDIR)$(HEADERDIR)/include ]; \
- then mkdir $(DESTDIR)$(HEADERDIR)/include; fi
- @if [ ! -d $(DESTDIR)$(HEADERDIR)/lib ]; \
- then mkdir $(DESTDIR)$(HEADERDIR)/lib; fi
- @if [ ! -d $(DESTDIR)$(HEADERDIR)/libpq ]; \
- then mkdir $(DESTDIR)$(HEADERDIR)/libpq; fi
- @if [ ! -d $(DESTDIR)$(HEADERDIR)/utils ]; \
- then mkdir $(DESTDIR)$(HEADERDIR)/utils; fi
- @if [ ! -d $(DESTDIR)$(HEADERDIR)/access ]; \
- then mkdir $(DESTDIR)$(HEADERDIR)/access; fi
- @if [ ! -d $(DESTDIR)$(HEADERDIR)/executor ]; \
- then mkdir $(DESTDIR)$(HEADERDIR)/executor; fi
- @if [ ! -d $(DESTDIR)$(HEADERDIR)/commands ]; \
- then mkdir $(DESTDIR)$(HEADERDIR)/commands; fi
+ @if [ ! -d $(HEADERDIR) ]; then mkdir $(HEADERDIR); fi
+ @if [ ! -d $(HEADERDIR)/port ]; then mkdir $(HEADERDIR)/port; fi
+ @if [ ! -d $(HEADERDIR)/port/$(PORTNAME) ]; \
+ then mkdir $(HEADERDIR)/port/$(PORTNAME); fi
+ @if [ ! -d $(HEADERDIR)/include ]; \
+ then mkdir $(HEADERDIR)/include; fi
+ @if [ ! -d $(HEADERDIR)/lib ]; \
+ then mkdir $(HEADERDIR)/lib; fi
+ @if [ ! -d $(HEADERDIR)/libpq ]; \
+ then mkdir $(HEADERDIR)/libpq; fi
+ @if [ ! -d $(HEADERDIR)/utils ]; \
+ then mkdir $(HEADERDIR)/utils; fi
+ @if [ ! -d $(HEADERDIR)/access ]; \
+ then mkdir $(HEADERDIR)/access; fi
+ @if [ ! -d $(HEADERDIR)/executor ]; \
+ then mkdir $(HEADERDIR)/executor; fi
+ @if [ ! -d $(HEADERDIR)/commands ]; \
+ then mkdir $(HEADERDIR)/commands; fi
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) $(INSTL_LIB_OPTS) $(shlib) $(DESTDIR)$(LIBDIR)/$(shlib)
- rm -f $(DESTDIR)$(LIBDIR)/libpq.so
- ln -s $(shlib) $(DESTDIR)$(LIBDIR)/libpq.so
+ $(INSTALL) $(INSTL_LIB_OPTS) $(shlib) $(LIBDIR)/$(shlib)
+ rm -f $(LIBDIR)/libpq.so
+ ln -s $(shlib) $(LIBDIR)/libpq.so
depend dep:
$(CC) -MM $(CFLAGS) *.c >depend
-LDFLAGS+= -export-dynamic #-Wl,-rpath -Wl,$(DESTDIR)$(LIBDIR)
+LDFLAGS+= -export-dynamic #-Wl,-rpath -Wl,$(LIBDIR)
MK_NO_LORDER= true
%.so: %.o
#
#
# 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 $
#
#-------------------------------------------------------------------------
include ../Makefile.global
install:
- -mkdir $(DESTDIR)$(POSTMANDIR)
- -mkdir $(DESTDIR)$(POSTMANDIR)/man1
- -mkdir $(DESTDIR)$(POSTMANDIR)/man3
- -mkdir $(DESTDIR)$(POSTMANDIR)/man5
- -mkdir $(DESTDIR)$(POSTMANDIR)/manl
- cp *.1* $(DESTDIR)$(POSTMANDIR)/man1
- cp *.3* $(DESTDIR)$(POSTMANDIR)/man3
- cp *.5* $(DESTDIR)$(POSTMANDIR)/man5
- cp *.l* $(DESTDIR)$(POSTMANDIR)/manl
+ -mkdir $(POSTMANDIR)
+ -mkdir $(POSTMANDIR)/man1
+ -mkdir $(POSTMANDIR)/man3
+ -mkdir $(POSTMANDIR)/man5
+ -mkdir $(POSTMANDIR)/manl
+ cp *.1* $(POSTMANDIR)/man1
+ cp *.3* $(POSTMANDIR)/man3
+ cp *.5* $(POSTMANDIR)/man5
+ cp *.l* $(POSTMANDIR)/manl
clean:
# Makefile for the pltcl shared object
#
# 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 $
#
#-------------------------------------------------------------------------
rm -f Makefile.tcldefs
install: all
- $(INSTALL) $(INSTL_LIB_OPTS) $(DLOBJS) $(DESTDIR)$(LIBDIR)/$(DLOBJS)
+ $(INSTALL) $(INSTL_LIB_OPTS) $(DLOBJS) $(LIBDIR)/$(DLOBJS)
dep depend: