Commit b0d6f0aa authored by Bryan Henderson's avatar Bryan Henderson

Simplify make files, add full dependencies.

parent 1e39d14f
This diff is collapsed.
This diff is collapsed.
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for the access methods module
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/access/Makefile,v 1.1 1996/10/27 09:45:42 bryanh Exp $
#
#-------------------------------------------------------------------------
all: SUBSYS.o
SUBSYS.o:
$(MAKE) -C common SUBSYS.o
$(MAKE) -C gist SUBSYS.o
$(MAKE) -C hash SUBSYS.o
$(MAKE) -C heap SUBSYS.o
$(MAKE) -C index SUBSYS.o
$(MAKE) -C rtree SUBSYS.o
$(MAKE) -C nbtree SUBSYS.o
$(MAKE) -C transam SUBSYS.o
$(LD) -r -o SUBSYS.o \
common/SUBSYS.o gist/SUBSYS.o hash/SUBSYS.o heap/SUBSYS.o \
index/SUBSYS.o rtree/SUBSYS.o nbtree/SUBSYS.o transam/SUBSYS.o
clean:
rm -f SUBSYS.o
$(MAKE) -C common clean
$(MAKE) -C gist clean
$(MAKE) -C hash clean
$(MAKE) -C heap clean
$(MAKE) -C index clean
$(MAKE) -C rtree clean
$(MAKE) -C nbtree clean
$(MAKE) -C transam clean
.DEFAULT:
$(MAKE) -C common $@
$(MAKE) -C gist $@
$(MAKE) -C hash $@
$(MAKE) -C heap $@
$(MAKE) -C index $@
$(MAKE) -C rtree $@
$(MAKE) -C nbtree $@
$(MAKE) -C transam $@
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for the access methods module
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/access/Attic/Makefile.inc,v 1.2 1996/08/26 06:26:37 scrappy Exp $
#
#-------------------------------------------------------------------------
accdir=$(CURDIR)/access
VPATH:=$(VPATH):$(accdir):\
$(accdir)/common:$(accdir)/gist:$(accdir)/hash:$(accdir)/heap:\
$(accdir)/index:$(accdir)/rtree:$(accdir)/nbtree:$(accdir)/transam
SUBSRCS=
include $(accdir)/common/Makefile.inc
include $(accdir)/gist/Makefile.inc
include $(accdir)/hash/Makefile.inc
include $(accdir)/heap/Makefile.inc
include $(accdir)/index/Makefile.inc
include $(accdir)/rtree/Makefile.inc
include $(accdir)/nbtree/Makefile.inc
include $(accdir)/transam/Makefile.inc
SRCS_ACCESS:= $(SUBSRCS)
HEADERS+= attnum.h funcindex.h genam.h gist.h hash.h \
heapam.h hio.h htup.h ibit.h iqual.h istrat.h \
itup.h nbtree.h printtup.h relscan.h rtree.h \
sdir.h skey.h strat.h transam.h tupdesc.h tupmacs.h \
valid.h xact.h
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for access/common
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/access/common/Makefile,v 1.1 1996/10/27 09:45:49 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../../..
include ../../../Makefile.global
INCLUDE_OPT = -I../.. \
-I../../port/$(PORTNAME) \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = heaptuple.o heapvalid.o indextuple.o indexvalid.o printtup.o \
scankey.o tupdesc.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
heapvalid.o tupdesc.o: ../../fmgr.h
../../fmgr.h:
$(MAKE) -C ../.. fmgr.h
dep: ../../fmgr.h
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for access/common
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/access/common/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:09 scrappy Exp $
#
#-------------------------------------------------------------------------
SUBSRCS+= heaptuple.c heapvalid.c indextuple.c indexvalid.c printtup.c \
scankey.c tupdesc.c
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for access/gist
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/access/gist/Makefile,v 1.1 1996/10/27 09:45:57 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../../..
include ../../../Makefile.global
INCLUDE_OPT = -I../.. \
-I../../port/$(PORTNAME) \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = gist.o gistget.o gistscan.o giststrat.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for access/rtree (R-Tree access method)
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# /usr/local/devel/pglite/cvs/src/backend/access/rtree/Makefile.inc,v 1.2 1995/03/21 06:50:48 andrew Exp
#
#-------------------------------------------------------------------------
SUBSRCS+= gist.c gistget.c gistscan.c giststrat.c
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for access/hash
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/access/hash/Makefile,v 1.1 1996/10/27 09:46:08 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../../..
include ../../../Makefile.global
INCLUDE_OPT = -I../.. \
-I../../port/$(PORTNAME) \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = hash.o hashfunc.o hashinsert.o hashovfl.o hashpage.o hashscan.o \
hashsearch.o hashstrat.o hashutil.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for access/hash (hash access method)
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/access/hash/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:10 scrappy Exp $
#
#-------------------------------------------------------------------------
SUBSRCS+= hash.c hashfunc.c hashinsert.c hashovfl.c hashpage.c hashscan.c \
hashsearch.c hashstrat.c hashutil.c
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for access/heap
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/access/heap/Makefile,v 1.1 1996/10/27 09:46:16 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../../..
include ../../../Makefile.global
INCLUDE_OPT = -I../.. \
-I../../port/$(PORTNAME) \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = heapam.o hio.o stats.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for access/heap
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/access/heap/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:11 scrappy Exp $
#
#-------------------------------------------------------------------------
SUBSRCS+= heapam.c hio.c stats.c
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for access/index
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/access/index/Makefile,v 1.1 1996/10/27 09:46:25 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../../..
include ../../../Makefile.global
INCLUDE_OPT = -I../.. \
-I../../port/$(PORTNAME) \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = genam.o indexam.o istrat.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for access/index
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/access/index/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:11 scrappy Exp $
#
#-------------------------------------------------------------------------
SUBSRCS+= genam.c indexam.c istrat.c
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for access/nbtree
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/access/nbtree/Makefile,v 1.1 1996/10/27 09:46:32 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../../..
include ../../../Makefile.global
INCLUDE_OPT = -I../.. \
-I../../port/$(PORTNAME) \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = nbtcompare.o nbtinsert.o nbtpage.o nbtree.o nbtscan.o nbtsearch.o \
nbtstrat.o nbtutils.o nbtsort.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for access/nbtree (btree acess methods)
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/access/nbtree/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:11 scrappy Exp $
#
#-------------------------------------------------------------------------
SUBSRCS+= nbtcompare.c nbtinsert.c nbtpage.c nbtree.c nbtscan.c nbtsearch.c \
nbtstrat.c nbtutils.c nbtsort.c
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
# Makefile.inc-- # Makefile--
# Makefile for access/rtree (R-Tree access method) # Makefile for access/rtree
#
# Copyright (c) 1994, Regents of the University of California
#
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:12 scrappy Exp $ # $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/Makefile,v 1.1 1996/10/27 09:46:40 bryanh Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
SUBSRCS+= rtget.c rtproc.c rtree.c rtscan.c rtstrat.c SRCDIR = ../../..
include ../../../Makefile.global
INCLUDE_OPT = -I../.. \
-I../../port/$(PORTNAME) \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = rtget.o rtproc.o rtree.o rtscan.o rtstrat.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for access/transam
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/access/transam/Makefile,v 1.1 1996/10/27 09:46:48 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../../..
include ../../../Makefile.global
INCLUDE_OPT = -I../.. \
-I../../port/$(PORTNAME) \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = transam.o transsup.o varsup.o xact.o xid.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for access/transam
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/access/transam/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:13 scrappy Exp $
#
#-------------------------------------------------------------------------
SUBSRCS+= transam.c transsup.c varsup.c xact.c xid.c
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for the bootstrap module
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/bootstrap/Makefile,v 1.1 1996/10/27 09:46:59 bryanh Exp $
#
#
# We must build bootparse.c and bootscanner.c with yacc and lex and sed,
# but bootstrap.c is part of the distribution.
#
# Another kinda weird Makefile cause we need two
# scanner/parsers in the backend and most yaccs and lexs
# don't have the prefix option.
#
# sed files are HACK CITY! - redo...
#
#-------------------------------------------------------------------------
SRCDIR = ../..
include ../../Makefile.global
INCLUDE_OPT = -I.. \
-I../port/$(PORTNAME) \
-I../include \
-I../../include
CFLAGS += $(INCLUDE_OPT)
BOOTYACCS = bootstrap_tokens.h bootparse.c
OBJS = bootparse.o bootscanner.o bootstrap.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
ld -r -o SUBSYS.o $(OBJS)
# bootstrap.o's dependency on bootstrap_tokens.h is computed by the
# make depend, but we state it here explicitly anyway because
# bootstrap_tokens.h doesn't even exist at first and if user fails to
# do make depend, we still want the build to succeed.
bootstrap.o: bootstrap_tokens.h
bootstrap_tokens.h bootparse.c: bootparse.y
$(YACC) $(YFLAGS) $<
sed -f boot.sed < y.tab.c > bootparse.c
mv y.tab.h bootstrap_tokens.h
rm -f y.tab.c
bootscanner.c: bootscanner.l
$(LEX) $<
sed -f boot.sed < lex.yy.c > bootscanner.c
rm -f lex.yy.c
clean:
rm -f SUBSYS.o $(OBJS) bootparse.c bootstrap_tokens.h bootscanner.c
# And the garbage that might have been left behind by partial build:
rm -f y.tab.h y.tab.c y.output lex.yy.c
# This is unusual: We actually have to build some of the parts before
# we know what the header file dependencies are.
dep: bootparse.c bootscanner.c bootstrap_tokens.h
$(CC) -MM $(INCLUDE_OPT) *.c >depend
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for the bootstrap module
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/bootstrap/Attic/Makefile.inc,v 1.2 1996/09/26 15:40:37 momjian Exp $
#
#
# Another kinda weird Makefile.inc cause we need two
# scanner/parsers in the backend and most yaccs and lexs
# don't have the prefix option.
#
# sed files are HACK CITY! - redo...
#
#-------------------------------------------------------------------------
bootdir= $(CURDIR)/bootstrap
VPATH:= $(VPATH):$(bootdir)
BOOTYACCS= bootstrap_tokens.h bootparse.c
#BOOTYACCS= bootparse.c
SRCS_BOOTSTRAP= bootparse.c bootscanner.c bootstrap.c
$(BOOTYACCS): bootparse.y
cd $(objdir); \
$(YACC) $(YFLAGS) $<; \
sed -f $(bootdir)/boot.sed < y.tab.c > bootparse.c; \
mv y.tab.h bootstrap_tokens.h; \
rm -f y.tab.c
$(objdir)/bootparse.o: bootparse.c
$(cc_inobjdir)
bootscanner.c: bootscanner.l
cd $(objdir); \
$(LEX) $<; \
sed -f $(bootdir)/boot.sed < lex.yy.c > bootscanner.c; \
rm -f lex.yy.c
$(objdir)/bootscanner.o: bootscanner.c
$(cc_inobjdir)
#
# The following insures that y.tab.h gets made as bootstrap.c
# includes it
#
bootstrap.o: $(BOOTYACCS)
POSTGRES_DEPEND+= $(BOOTYACCS) bootscanner.c
CLEANFILES+= bootscanner.c $(BOOTYACCS) y.tab.h y.output
HEADERS+= bootstrap.h
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
# Makefile.inc-- # Makefile--
# Makefile for the system catalogs module # Makefile for catalog
#
# Copyright (c) 1994, Regents of the University of California
#
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/catalog/Attic/Makefile.inc,v 1.3 1996/09/26 04:22:49 momjian Exp $ # $Header: /cvsroot/pgsql/src/backend/catalog/Makefile,v 1.1 1996/10/27 09:47:07 bryanh Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
catdir=$(CURDIR)/catalog SRCDIR = ../..
VPATH:=$(VPATH):$(catdir) include ../../Makefile.global
cat_hdr_dir= ../include/catalog INCLUDE_OPT = -I.. \
-I../port/$(PORTNAME) \
-I../include \
-I../../include
SRCS_CATALOG= catalog.c heap.c index.c indexing.c \ CFLAGS+=$(INCLUDE_OPT)
pg_aggregate.c pg_operator.c pg_proc.c pg_type.c
HEADERS+= catalog.h catname.h heap.h index.h indexing.h pg_aggregate.h \ OBJS = catalog.o heap.o index.o indexing.o \
pg_am.h pg_amop.h pg_amproc.h pg_attribute.h pg_database.h \ pg_aggregate.o pg_operator.o pg_proc.o pg_type.o
pg_defaults.h pg_demon.h pg_group.h pg_index.h pg_inheritproc.h \
pg_inherits.h pg_ipl.h pg_language.h pg_listener.h \
pg_log.h pg_magic.h pg_opclass.h pg_operator.h pg_parg.h \
pg_proc.h pg_class.h \
pg_rewrite.h pg_server.h pg_statistic.h pg_time.h pg_type.h \
pg_user.h pg_variable.h pg_version.h
# all: SUBSYS.o global1.bki.source local1_template1.bki.source
# The following is to create the .bki.source files.
# TODO: sort headers, (figure some automatic way of of determining
# the bki sources?)
#
# XXX - more grot. includes names and uid's in the header file. FIX THIS
# (not sure if i got this right - which do i need - or should i
# burn the whole damned thing)
#
ifdef ALLOW_PG_GROUP
BKIOPTS= -DALLOW_PG_GROUP
endif
GENBKI= $(catdir)/genbki.sh SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
GLOBALBKI_SRCS= $(addprefix $(cat_hdr_dir)/, \ GENBKI= ./genbki.sh
GLOBALBKI_SRCS= $(addprefix ../../include/catalog/, \
pg_database.h pg_demon.h pg_magic.h pg_defaults.h \ pg_database.h pg_demon.h pg_magic.h pg_defaults.h \
pg_variable.h pg_server.h pg_user.h pg_hosts.h \ pg_variable.h pg_server.h pg_user.h pg_hosts.h \
pg_group.h pg_log.h pg_time.h \ pg_group.h pg_log.h pg_time.h \
) )
LOCALBKI_SRCS= $(addprefix $(cat_hdr_dir)/, \ LOCALBKI_SRCS= $(addprefix ../../include/catalog/, \
pg_proc.h pg_type.h pg_attribute.h pg_class.h \ pg_proc.h pg_type.h pg_attribute.h pg_class.h \
pg_inherits.h pg_index.h pg_version.h pg_statistic.h \ pg_inherits.h pg_index.h pg_version.h pg_statistic.h \
pg_operator.h pg_opclass.h pg_am.h pg_amop.h pg_amproc.h \ pg_operator.h pg_opclass.h pg_am.h pg_amop.h pg_amproc.h \
...@@ -59,10 +44,19 @@ LOCALBKI_SRCS= $(addprefix $(cat_hdr_dir)/, \ ...@@ -59,10 +44,19 @@ LOCALBKI_SRCS= $(addprefix $(cat_hdr_dir)/, \
) )
global1.bki.source: $(GENBKI) $(GLOBALBKI_SRCS) global1.bki.source: $(GENBKI) $(GLOBALBKI_SRCS)
sh $(SHOPTS) $(GENBKI) $(BKIOPTS) $(GLOBALBKI_SRCS) > $(objdir)/$(@F) sh $(SHOPTS) $(GENBKI) $(BKIOPTS) $(GLOBALBKI_SRCS) > $@
local1_template1.bki.source: $(GENBKI) $(LOCALBKI_SRCS) local1_template1.bki.source: $(GENBKI) $(LOCALBKI_SRCS)
sh $(SHOPTS) $(GENBKI) $(BKIOPTS) $(LOCALBKI_SRCS) > $(objdir)/$(@F) sh $(SHOPTS) $(GENBKI) $(BKIOPTS) $(LOCALBKI_SRCS) > $@
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS) global1.bki.source local1_template1.bki.source
CLEANFILES+= global1.bki.source local1_template1.bki.source
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for commands
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/commands/Makefile,v 1.1 1996/10/27 09:47:14 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../..
include ../../Makefile.global
INCLUDE_OPT = -I.. \
-I../port/$(PORTNAME) \
-I../include \
-I../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = async.o creatinh.o command.o copy.o defind.o define.o \
purge.o remove.o rename.o vacuum.o version.o view.o cluster.o \
recipe.o explain.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for the commands module
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/commands/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:18 scrappy Exp $
#
#-------------------------------------------------------------------------
VPATH:=$(VPATH):$(CURDIR)/commands
SRCS_COMMANDS= async.c creatinh.c command.c copy.c defind.c define.c \
purge.c remove.c rename.c vacuum.c version.c view.c cluster.c \
recipe.c explain.c
HEADERS+= async.h command.h copy.h creatinh.h defrem.h purge.h \
rename.h vacuum.h version.h view.h cluster.h \
recipe.h
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for executor
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/executor/Makefile,v 1.1 1996/10/27 09:47:26 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../..
include ../../Makefile.global
INCLUDE_OPT = -I.. \
-I../port/$(PORTNAME) \
-I../include \
-I../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = execAmi.o execFlatten.o execJunk.o execMain.o \
execProcnode.o execQual.o execScan.o execTuples.o \
execUtils.o functions.o nodeAppend.o nodeAgg.o nodeHash.o \
nodeHashjoin.o nodeIndexscan.o nodeMaterial.o nodeMergejoin.o \
nodeNestloop.o nodeResult.o nodeSeqscan.o nodeSort.o \
nodeUnique.o nodeTee.o nodeGroup.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for the executor module
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/executor/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:24 scrappy Exp $
#
#-------------------------------------------------------------------------
VPATH:= $(VPATH):$(CURDIR)/executor
SRCS_EXECUTOR= execAmi.c execFlatten.c execJunk.c execMain.c \
execProcnode.c execQual.c execScan.c execTuples.c \
execUtils.c functions.c nodeAppend.c nodeAgg.c nodeHash.c \
nodeHashjoin.c nodeIndexscan.c nodeMaterial.c nodeMergejoin.c \
nodeNestloop.c nodeResult.c nodeSeqscan.c nodeSort.c \
nodeUnique.c nodeTee.c nodeGroup.c
HEADERS+= execFlatten.h execdebug.h execdefs.h execdesc.h \
executor.h functions.h hashjoin.h nodeAgg.h nodeAppend.h \
nodeHash.h nodeHashjoin.h nodeIndexscan.h nodeMaterial.h \
nodeMergejoin.h nodeNestloop.h nodeResult.h \
nodeSeqscan.h nodeSort.h nodeUnique.h tuptable.h nodeTee.h \
nodeGroup.h
#-------------------------------------------------------------------------
#
# Makefile.inc--
# this makefile is only use for collecting HEADERS
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/include/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:28 scrappy Exp $
#
#-------------------------------------------------------------------------
VPATH:= $(VPATH):$(CURDIR)/include
HEADERS+= c.h libpq-fe.h miscadmin.h postgres.h
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for lib (miscellaneous stuff)
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/lib/Makefile,v 1.1 1996/10/27 09:47:37 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../..
include ../../Makefile.global
INCLUDE_OPT = -I.. \
-I../port/$(PORTNAME) \
-I../include \
-I../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = bit.o fstack.o hasht.o lispsort.o qsort.o stringinfo.o dllist.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for the lib module (miscellaneous stuff)
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/lib/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:28 scrappy Exp $
#
#-------------------------------------------------------------------------
VPATH:=$(VPATH):$(CURDIR)/lib
SRCS_LIB= bit.c fstack.c hasht.c lispsort.c qsort.c stringinfo.c dllist.c
HEADERS+= fstack.h hasht.h lispsort.h qsort.h stringinfo.h dllist.h
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for libpq subsystem (backend half of libpq interface)
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/libpq/Makefile,v 1.1 1996/10/27 09:47:47 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../..
include ../../Makefile.global
INCLUDE_OPT = -I.. \
-I../port/$(PORTNAME) \
-I../include \
-I../../include
CFLAGS+=$(INCLUDE_OPT)
CFLAGS+= -DPOSTPORT='"$(POSTPORT)"'
# kerberos flags
ifdef KRBVERS
CFLAGS+= $(KRBFLAGS)
LDADD+= $(KRBLIBS)
endif
OBJS = be-dumpdata.o be-fsstubs.o be-pqexec.o \
auth.o hba.o pqcomm.o portal.o util.o portalbuf.o pqpacket.o pqsignal.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
be-dumpdata.o be-pqexec.o: ../fmgr.h
../fmgr.h:
$(MAKE) -C .. fmgr.h
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for the (backend side) libpq module
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/libpq/Attic/Makefile.inc,v 1.2 1996/10/11 09:47:11 bryanh Exp $
#
#-------------------------------------------------------------------------
#
# The frontend libpq interfaces to the backend through these files.
#
VPATH:= $(VPATH):$(CURDIR)/libpq
SRCS_LIBPQ= be-dumpdata.c be-fsstubs.c be-pqexec.c
#
# These files are shared with the frontend library.
#
SRCS_LIBPQ+= auth.c hba.c pqcomm.c portal.c util.c portalbuf.c \
pqpacket.c pqsignal.c
HEADERS+= auth.h hba.h be-fsstubs.h libpq-be.h libpq-fs.h libpq.h \
pqcomm.h pqsignal.h
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for main
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/main/Makefile,v 1.1 1996/10/27 09:47:59 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../..
include ../../Makefile.global
INCLUDE_OPT = -I.. \
-I../port/$(PORTNAME) \
-I../include \
-I../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = main.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for the main() of the postgres backend
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/main/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:31 scrappy Exp $
#
#-------------------------------------------------------------------------
VPATH:= $(VPATH):$(CURDIR)/main
SRCS_MAIN= main.c
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for nodes
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/nodes/Makefile,v 1.1 1996/10/27 09:48:06 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../..
include ../../Makefile.global
INCLUDE_OPT = -I.. \
-I../port/$(PORTNAME) \
-I../include \
-I../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = nodeFuncs.o nodes.o list.o \
copyfuncs.o equalfuncs.o makefuncs.o outfuncs.o readfuncs.o \
print.o read.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for the nodes module
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/nodes/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:32 scrappy Exp $
#
# NOTES
# Originally, the nodes module is a home-brew, C++ like inheritance
# system. However, the automatically generated tags, accessor functions
# and the header files themselves are difficult to maintain. We need
# real language support. Emulation doesn't quite do it...
#
# See nodes/README for an explanation of the new no-frills nodes
# structures.
# - ay 11/5/94
#
#-------------------------------------------------------------------------
VPATH:= $(VPATH):$(CURDIR)/nodes
SRCS_NODES= nodeFuncs.c nodes.c list.c \
copyfuncs.c equalfuncs.c makefuncs.c outfuncs.c readfuncs.c \
print.c read.c
HEADERS+= execnodes.h makefuncs.h memnodes.h nodeFuncs.h nodes.h \
params.h parsenodes.h pg_list.h plannodes.h primnodes.h relation.h
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for optimizer
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/optimizer/Makefile,v 1.1 1996/10/27 09:48:14 bryanh Exp $
#
#-------------------------------------------------------------------------
all: SUBSYS.o
SUBSYS.o:
$(MAKE) -C path SUBSYS.o
$(MAKE) -C plan SUBSYS.o
$(MAKE) -C prep SUBSYS.o
$(MAKE) -C util SUBSYS.o
$(LD) -r -o SUBSYS.o \
path/SUBSYS.o plan/SUBSYS.o prep/SUBSYS.o util/SUBSYS.o
clean:
rm -f SUBSYS.o
$(MAKE) -C path clean
$(MAKE) -C plan clean
$(MAKE) -C prep clean
$(MAKE) -C util clean
.DEFAULT:
$(MAKE) -C path $@
$(MAKE) -C plan $@
$(MAKE) -C prep $@
$(MAKE) -C util $@
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for the optimizer module
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/optimizer/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:34 scrappy Exp $
#
#-------------------------------------------------------------------------
optdir=$(CURDIR)/optimizer
VPATH:=$(VPATH):$(optdir):\
$(optdir)/path:$(optdir)/prep:$(optdir)/util:$(optdir)/plan
SUBSRCS=
include $(optdir)/path/Makefile.inc
include $(optdir)/prep/Makefile.inc
include $(optdir)/util/Makefile.inc
include $(optdir)/plan/Makefile.inc
SRCS_OPTIMIZER:= $(SUBSRCS)
HEADERS+= clauseinfo.h clauses.h cost.h internal.h joininfo.h keys.h \
ordering.h pathnode.h paths.h plancat.h planmain.h \
planner.h prep.h tlist.h var.h xfunc.h
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for optimizer/path
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/optimizer/path/Makefile,v 1.1 1996/10/27 09:48:20 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../../..
include ../../../Makefile.global
INCLUDE_OPT = -I../.. \
-I../../port/$(PORTNAME) \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = allpaths.o clausesel.o costsize.o hashutils.o indxpath.o \
joinpath.o joinrels.o joinutils.o mergeutils.o orindxpath.o \
prune.o
# not ready yet: predmig.o xfunc.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for optimizer/path
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/optimizer/path/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:35 scrappy Exp $
#
#-------------------------------------------------------------------------
SUBSRCS= allpaths.c clausesel.c costsize.c hashutils.c indxpath.c \
joinpath.c joinrels.c joinutils.c mergeutils.c orindxpath.c \
prune.c
# not ready yet: predmig.c xfunc.c
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for optimizer/plan
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/optimizer/plan/Makefile,v 1.1 1996/10/27 09:48:33 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../../..
include ../../../Makefile.global
INCLUDE_OPT = -I../.. \
-I../../port/$(PORTNAME) \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = createplan.o initsplan.o planmain.o planner.o setrefs.o
# not ready yet: predmig.o xfunc.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for optimizer/plan
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/optimizer/plan/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:37 scrappy Exp $
#
#-------------------------------------------------------------------------
SUBSRCS+= createplan.c initsplan.c planmain.c planner.c \
setrefs.c
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for optimizer/prep
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/optimizer/prep/Makefile,v 1.1 1996/10/27 09:48:46 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../../..
include ../../../Makefile.global
INCLUDE_OPT = -I../.. \
-I../../port/$(PORTNAME) \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = archive.o prepqual.o preptlist.o prepunion.o
# not ready yet: predmig.o xfunc.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for optimizer/prep
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/optimizer/prep/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:37 scrappy Exp $
#
#-------------------------------------------------------------------------
SUBSRCS+= archive.c prepqual.c preptlist.c prepunion.c
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for optimizer/util
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/optimizer/util/Makefile,v 1.1 1996/10/27 09:48:53 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../../..
include ../../../Makefile.global
INCLUDE_OPT = -I../.. \
-I../../port/$(PORTNAME) \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = clauseinfo.o clauses.o indexnode.o internal.o plancat.o \
joininfo.o keys.o ordering.o pathnode.o relnode.o tlist.o var.o
# not ready yet: predmig.o xfunc.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for optimizer/util
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/optimizer/util/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:38 scrappy Exp $
#
#-------------------------------------------------------------------------
SUBSRCS+= clauseinfo.c clauses.c indexnode.c internal.c plancat.c \
joininfo.c keys.c ordering.c pathnode.c relnode.c tlist.c var.c
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for parser
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/parser/Makefile,v 1.1 1996/10/27 09:49:05 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../..
include ../../Makefile.global
INCLUDE_OPT = -I.. \
-I../port/$(PORTNAME) \
-I../include \
-I../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = analyze.o catalog_utils.o dbcommands.o gram.o \
keywords.o parser.o parse_query.o scan.o scansup.o sysfunc.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
gram.c parse.h: gram.y
$(YACC) $(YFLAGS) $<
mv y.tab.c gram.c
mv y.tab.h parse.h
scan.c: scan.l
$(LEX) $<
mv lex.yy.c scan.c
# The following dependencies on parse.h are computed by
# make depend, but we state them here explicitly anyway because
# parse.h doesn't even exist at first and if user fails to
# do make depend, we still want the build to succeed.
analyze.o keywords.o scan.o: parse.h
# This is unusual: We actually have to build some of the parts before
# we know what the header file dependencies are.
dep: gram.c scan.c
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS) gram.c parse.h 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
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for the parser module
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/parser/Attic/Makefile.inc,v 1.5 1996/09/26 15:40:45 momjian Exp $
#
#-------------------------------------------------------------------------
VPATH:= $(VPATH):$(CURDIR)/parser
PARSEYACCS= gram.c parse.h
#PARSEYACCS= gram.c
$(PARSEYACCS): gram.y
$(YACC) $(YFLAGS) $<
mv y.tab.c $(objdir)/gram.c
mv y.tab.h $(objdir)/parse.h
$(objdir)/gram.o: gram.c
$(cc_inobjdir)
scan.c: scan.l
cd $(objdir); $(LEX) $<; mv lex.yy.c scan.c
$(objdir)/scan.o: scan.c
$(cc_inobjdir)
SRCS_PARSER+= analyze.c catalog_utils.c dbcommands.c gram.c \
keywords.c parser.c parse_query.c scan.c scansup.c sysfunc.c
CLEANFILES+= scan.c ${PARSEYACCS}
POSTGRES_DEPEND+= scan.c $(PARSEYACCS)
HEADERS+= catalog_utils.h io.h parse_query.h parsetree.h \
dbcommands.h keywords.h sysfunc.c
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
# Makefile.inc-- # Makefile--
# Makefile for port/BSD44_derived (for OSs derived from 4.4-lite BSD) # Makefile for port/BSD44_derived
#
# Copyright (c) 1994, Regents of the University of California
#
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/port/BSD44_derived/Attic/Makefile.inc,v 1.3 1996/10/19 06:36:52 scrappy Exp $ # $Header: /cvsroot/pgsql/src/backend/port/BSD44_derived/Attic/Makefile,v 1.1 1996/10/27 09:49:20 bryanh Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# SRCDIR = ../../..
# 4.4-lite BSD-derived OSs require that the lex library be included, include ../../../Makefile.global
# in case yywrap is defined
#
LDADD+= -ll
HAVE_Cplusplus= true INCLUDE_OPT = -I../.. \
-I../../include \
-I../../../include
# CFLAGS+=$(INCLUDE_OPT)
# 4.4-lite BSD-derived OSs have a little trouble with partially-implemented
# dynamic loading soutines. See the comments in port-protos.h. OBJS = dl.o
#
SUBSRCS= dl.c all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
HEADERS+= float.h machine.h port-protos.h
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for the port-specific subsystem of the backend
#
# You must invoke this make file with the PORTNAME variable set to the
# name of a port, i.e. the name of a subdirectory of the current directory.
# Example:
#
# make SUBSYS.o PORTNAME=linux
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/port/Makefile,v 1.1 1996/10/27 09:49:14 bryanh Exp $
#
#-------------------------------------------------------------------------
ifndef PORTNAME
.DEFAULT all:
@echo "Error: Must invoke make with PORTNAME= argument."
@false
else
all: SUBSYS.o
SUBSYS.o:
$(MAKE) -C $(PORTNAME) SUBSYS.o
cp $(PORTNAME)/SUBSYS.o .
clean:
rm -f SUBSYS.o
$(MAKE) -C $(PORTNAME) clean
.DEFAULT:
$(MAKE) -C $(PORTNAME) $@
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for the port module (for code specific to various UNIX
# platforms)
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/port/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:41 scrappy Exp $
#
#-------------------------------------------------------------------------
portdir= $(CURDIR)/port/$(PORTNAME)
VPATH:= $(VPATH):$(portdir)
SUBSRCS=
include $(portdir)/Makefile.inc
SRCS_PORT:= $(SUBSRCS)
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for port/aix
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/port/aix/Attic/Makefile,v 1.1 1996/10/27 09:49:27 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../../..
include ../../../Makefile.global
INCLUDE_OPT = -I../.. \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = dlfcn.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for port/aix (AIX specific stuff)
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/port/aix/Attic/Makefile.inc,v 1.3 1996/10/18 04:46:55 scrappy Exp $
#
#-------------------------------------------------------------------------
#
# aix has fast linkers and don't need the BIGOBJ stuff.
#
BIGOBJS=false
LDFLAGS+= -bE:$(objdir)/$(PROG).exp
LDADD+= -ll -lld
HEADERS+= dlfcn.h machine.h port-protos.h
SUBSRCS+= dlfcn.c
MKLDEXPORT=$(POSTGRESDIR)/src/backend/port/aix/mkldexport.sh
${PROG}.exp: ${PROG}.noexp
mv -f $(objdir)/${PROG}.noexp $(objdir)/${PROG}
$(MKLDEXPORT) $(objdir)/${PROG} ${BINDIR} > $(objdir)/${PROG}.exp
mv -f $(objdir)/${PROG} $(objdir)/${PROG}.noexp
${PROG}.noexp: ${OBJS}
touch -f $(objdir)/${PROG}.exp
${CC} ${LDFLAGS} -o $(objdir)/${PROG}.noexp ${OBJS} ${LDADD}
EXPORTS= ${PROG}.exp
CLEANFILES+= ${PROG}.noexp ${PROG}.exp
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
# Makefile.inc-- # Makefile--
# Makefile for port/alpha (Alpha OSF/1 specific stuff) # Makefile for port/alpha
#
# Copyright (c) 1994, Regents of the University of California
#
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/port/alpha/Attic/Makefile.inc,v 1.2 1996/10/18 04:47:04 scrappy Exp $ # $Header: /cvsroot/pgsql/src/backend/port/alpha/Attic/Makefile,v 1.1 1996/10/27 09:49:37 bryanh Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
LDADD+= -lln SRCDIR = ../../..
include ../../../Makefile.global
# INCLUDE_OPT = -I../.. \
# The YACC grammar is too big.. -I../../include \
# -I../../../include
#.if !defined(CDEBUG)
##CFLAGS+= -Olimit 2000 CFLAGS+=$(INCLUDE_OPT)
#.endif
OBJS = port.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
HEADERS+= machine.h port-protos.h ifeq (depend,$(wildcard depend))
include depend
endif
SUBSRCS= port.c
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for port/bsdi
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/port/bsdi/Attic/Makefile,v 1.1 1996/10/27 09:49:44 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../../..
include ../../../Makefile.global
INCLUDE_OPT = -I../.. \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = dynloader.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for port/bsdi
#
# NOTES
# The BSD/OS port is included here by courtesy of Kurt Lidl.
#
# (5) 1994, Kurt Lidl, lidl@pix.com
#
#-------------------------------------------------------------------------
LDADD+= -ldld -lipc
SUBSRCS= dynloader.c
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for port/bsdi_2_1
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/port/bsdi_2_1/Attic/Makefile,v 1.1 1996/10/27 09:49:50 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../../..
include ../../../Makefile.global
INCLUDE_OPT = -I../.. \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = port.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for port/bsdi_2_1
#
# NOTES
# The BSD/OS port is included here by courtesy of Kurt Lidl.
#
# (5) 1994, Kurt Lidl, lidl@pix.com
#
#-------------------------------------------------------------------------
LDADD+= -ldl -lipc
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
# Makefile.inc-- # Makefile--
# Makefile for port/linux (Linux specific stuff) # Makefile for port/dgux
#
# Copyright (c) 1994, Regents of the University of California
#
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/port/dgux/Attic/Makefile.inc,v 1.3 1996/10/18 04:47:13 scrappy Exp $ # $Header: /cvsroot/pgsql/src/backend/port/dgux/Attic/Makefile,v 1.1 1996/10/27 09:49:57 bryanh Exp $
#
# NOTES
# The Linux port is included here by courtesy of Kai Petzke.
#
# (C) 1994, Kai Petzke, wpp@marie.physik.tu-berlin.de
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
BIGOBJS= false SRCDIR = ../../..
include ../../../Makefile.global
INCLUDE_OPT = -I../.. \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = port.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
HEADERS+= machine.h port-protos.h
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for port/hpux
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/port/hpux/Attic/Makefile,v 1.1 1996/10/27 09:50:12 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../../..
include ../../../Makefile.global
INCLUDE_OPT = -I../.. \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = port.o dynloader.o tas.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for port/hpux (HP-UX specific stuff)
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/port/hpux/Attic/Makefile.inc,v 1.2 1996/10/18 00:33:22 scrappy Exp $
#
#-------------------------------------------------------------------------
#
# HP-UX needs:
# -W l,-E export symbols for linking with the shared libraries
# dynamic loader
# -W p,-H400000 expand cpp #define table size so the Nodes files don't
# break it
#
# -W p,-H400000
ifeq ($(CC), cc)
CFLAGS+= -W l,-E
LDFLAGS+= -W l,-E
LDADD+= -ll -ldld
else
ifeq ($(CC), gcc)
LDADD+= -ll /usr/lib/libdld.sl
endif
endif
#
# The #pragma trick required on 8.07 no longer works -- the #pragma
# is thoroughly broken. However, the +u flag has been extended to
# handle alignment requirement arguments (defaulting to 2) for things
# other than struct references, so the #pragma is no longer needed.
#
#
# (1) The YACC grammar is too big..
# (HP-UX 9.0x, x<2, added basic block limits for +O2; 9.0x, x>=2, changed
# the syntax to something else.)
#
# (2) The 9.00 optimizer chokes on some of our source.
#
#.if (${HPUX_MAJOR} == "09")
#. if !defined(CDEBUG)
#. if (${HPUX_MINOR} == "00" || ${HPUX_MINOR} == "01")
#CFLAGS+= +Obb600
#CFLAGS+= -DWEAK_C_OPTIMIZER
#. else
#CFLAGS+= +Onolimit
#. endif
#. endif
#.endif
HEADERS+= fixade.h machine.h port-protos.h
SUBSRCS+= dynloader.c port.c tas.s
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
# Makefile.inc-- # Makefile--
# Makefile for port/i386_solaris (X86/Solaris 2.x specific stuff) # Makefile for port/i386_solaris
#
# Copyright (c) 1994, Regents of the University of California
#
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/port/i386_solaris/Attic/Makefile.inc,v 1.5 1996/10/18 04:48:16 scrappy Exp $ # $Header: /cvsroot/pgsql/src/backend/port/i386_solaris/Attic/Makefile,v 1.1 1996/10/27 09:50:17 bryanh Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
LDADD+= -ll -ldl SRCDIR = ../../..
include ../../../Makefile.global
INCLUDE_OPT = -I../.. \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = port.o tas.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
SUBSRCS+= port.c tas.s ifeq (depend,$(wildcard depend))
include depend
endif
HEADERS+= machine.h port-protos.h rusagestub.h
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for port/irix5
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/port/irix5/Attic/Makefile,v 1.1 1996/10/27 09:50:24 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../../..
include ../../../Makefile.global
INCLUDE_OPT = -I../.. \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = port.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for port/irix5 (IRIX 5 specific stuff)
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# /usr/local/devel/pglite/cvs/src/backend/port/sparc_solaris/Makefile.inc,v 1.3 1995/03/21 06:51:21 andrew Exp
#
#-------------------------------------------------------------------------
LDADD+= -ll
SUBSRCS+= port.c
HEADERS+= machine.h port-protos.h
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
# Makefile.inc-- # Makefile--
# Makefile for port/linux (Linux specific stuff) # Makefile for port/linux
#
# Copyright (c) 1994, Regents of the University of California
#
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/port/linux/Attic/Makefile.inc,v 1.2 1996/10/18 00:33:32 scrappy Exp $ # $Header: /cvsroot/pgsql/src/backend/port/linux/Attic/Makefile,v 1.1 1996/10/27 09:50:31 bryanh Exp $
#
# NOTES
# The Linux port is included here by courtesy of Kai Petzke.
#
# (C) 1994, Kai Petzke, wpp@marie.physik.tu-berlin.de
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# SRCDIR = ../../..
# linux has fast linkers and don't need the BIGOBJ stuff. include ../../../Makefile.global
#
BIGOBJS= false INCLUDE_OPT = -I../.. \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
ifdef LINUX_ELF ifdef LINUX_ELF
CC=gcc OBJS = port.o
LDADD+= -ldl
CFLAGS+= -DLINUX_ELF
else else
LDADD+= -ldld OBJS = dynloader.o
SUBSRCS+= dynloader.c endif
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif endif
HEADERS+= machine.h port-protos.h
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
# Makefile.inc-- # Makefile--
# Makefile for port/sparc (SPARC/SunOS 4 specific stuff) # Makefile for port/sparc
#
# Copyright (c) 1994, Regents of the University of California
#
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/port/sparc/Attic/Makefile.inc,v 1.2 1996/10/18 04:48:32 scrappy Exp $ # $Header: /cvsroot/pgsql/src/backend/port/sparc/Attic/Makefile,v 1.1 1996/10/27 09:50:43 bryanh Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
LDADD+= -lln -ldl SRCDIR = ../../..
include ../../../Makefile.global
# INCLUDE_OPT = -I../.. \
# SunOS 4 strtol is broken -- doesn't report overflow using errno. -I../../include \
# -I../../../include
SUBSRCS= strtol.c
CFLAGS+=$(INCLUDE_OPT)
OBJS = strtol.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
HEADERS+= float.h machine.h port-protos.h
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
# Makefile.inc-- # Makefile--
# Makefile for port/sparc_solaris (SPARC/Solaris 2.x specific stuff) # Makefile for port/sparc_solaris
#
# Copyright (c) 1994, Regents of the University of California
#
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/port/sparc_solaris/Attic/Makefile.inc,v 1.2 1996/10/18 04:48:47 scrappy Exp $ # $Header: /cvsroot/pgsql/src/backend/port/sparc_solaris/Attic/Makefile,v 1.1 1996/10/27 09:50:50 bryanh Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
LDADD+= -ll -ldl SRCDIR = ../../..
include ../../../Makefile.global
INCLUDE_OPT = -I../.. \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = port.o tas.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
SUBSRCS+= port.c tas.s ifeq (depend,$(wildcard depend))
include depend
endif
HEADERS+= machine.h port-protos.h rusagestub.h
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for port/svr4
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/port/svr4/Attic/Makefile,v 1.1 1996/10/27 09:50:57 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../../..
include ../../../Makefile.global
INCLUDE_OPT = -I../.. \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = port.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for port/svr4 (Intel x86/Intel SVR4 specific stuff)
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# /usr/local/devel/pglite/cvs/src/backend/port/svr4/Makefile.inc,v 1.3 1995/03/21 06:51:21 andrew Exp
#
#-------------------------------------------------------------------------
LDADD+= -ll -ldl
SUBSRCS+= port.c
HEADERS+= machine.h port-protos.h rusagestub.h
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
# Makefile.inc-- # Makefile--
# Makefile for port/ultrix (Ultrix4.x specific stuff) # Makefile for port/ultrix
#
# Copyright (c) 1994, Regents of the University of California
#
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/port/ultrix4/Attic/Makefile.inc,v 1.2 1996/10/18 04:49:09 scrappy Exp $ # $Header: /cvsroot/pgsql/src/backend/port/ultrix4/Attic/Makefile,v 1.1 1996/10/27 09:51:05 bryanh Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
LDADD+= -ldl -lln SRCDIR = ../../..
include ../../../Makefile.global
# INCLUDE_OPT = -I../.. \
# The YACC grammar is too big.. -I../../include \
# -I../../../include
#.if !defined(CDEBUG)
#CFLAGS+= -Olimit 2000 CFLAGS+=$(INCLUDE_OPT)
#.endif
OBJS = dynloader.o port.o strdup.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
HEADERS+= dl.h machine.h port-protos.h ifeq (depend,$(wildcard depend))
include depend
endif
SUBSRCS+= dynloader.c port.c strdup.c
# @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
# regex sources
.PATH: ${.CURDIR}/regex
CFLAGS+=-DPOSIX_MISTAKE
SRCS+= regcomp.c regerror.c regexec.c regfree.c
MAN3+= regex.0
MAN7+= re_format.0
MLINKS+=regex.3 regcomp.3 regex.3 regexec.3 regex.3 regerror.3
MLINKS+=regexec.3 regfree.3
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for postmaster
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/postmaster/Makefile,v 1.1 1996/10/27 09:51:20 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../..
include ../../Makefile.global
INCLUDE_OPT = -I.. \
-I../port/$(PORTNAME) \
-I../include \
-I../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = postmaster.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for the postmaster module
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/postmaster/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:49 scrappy Exp $
#
#-------------------------------------------------------------------------
VPATH:= $(VPATH):$(CURDIR)/postmaster
SRCS_POSTMASTER= postmaster.c
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for regex
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/regex/Makefile,v 1.1 1996/10/27 09:51:27 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../..
include ../../Makefile.global
INCLUDE_OPT = -I.. \
-I../port/$(PORTNAME) \
-I../include \
-I../../include
CFLAGS+=$(INCLUDE_OPT)
CFLAGS+=-DPOSIX_MISTAKE
OBJS = regcomp.o regerror.o regexec.o regfree.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
# @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
# regex sources
VPATH:=$(VPATH):$(CURDIR)/regex
CFLAGS+=-DPOSIX_MISTAKE -I$(CURDIR)/regex
SRCS_REGEX= regcomp.c regerror.c regexec.c regfree.c
MAN3+= regex.0
MAN7+= re_format.0
MLINKS+=regex.3 regcomp.3 regex.3 regexec.3 regex.3 regerror.3
MLINKS+=regexec.3 regfree.3
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for rewrite
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/rewrite/Makefile,v 1.1 1996/10/27 09:51:38 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../..
include ../../Makefile.global
INCLUDE_OPT = -I.. \
-I../port/$(PORTNAME) \
-I../include \
-I../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = rewriteRemove.o rewriteDefine.o \
rewriteHandler.o rewriteManip.o rewriteSupport.o locks.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for the rewrite rules module
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/rewrite/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:51 scrappy Exp $
#
#-------------------------------------------------------------------------
VPATH:= $(VPATH):$(CURDIR)/rewrite
SRCS_REWRITE= rewriteRemove.c rewriteDefine.c \
rewriteHandler.c rewriteManip.c rewriteSupport.c locks.c
HEADERS+= rewriteRemove.h rewriteDefine.h rewriteHandler.h \
rewriteManip.h rewriteSupport.h locks.h prs2lock.h
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for the storage manager subsystem
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/storage/Makefile,v 1.1 1996/10/27 09:51:49 bryanh Exp $
#
#-------------------------------------------------------------------------
all: SUBSYS.o
SUBSYS.o:
$(MAKE) -C buffer SUBSYS.o
$(MAKE) -C file SUBSYS.o
$(MAKE) -C ipc SUBSYS.o
$(MAKE) -C large_object SUBSYS.o
$(MAKE) -C lmgr SUBSYS.o
$(MAKE) -C page SUBSYS.o
$(MAKE) -C smgr SUBSYS.o
$(LD) -r -o SUBSYS.o \
buffer/SUBSYS.o file/SUBSYS.o ipc/SUBSYS.o large_object/SUBSYS.o \
lmgr/SUBSYS.o page/SUBSYS.o smgr/SUBSYS.o
clean:
rm -f SUBSYS.o
$(MAKE) -C buffer clean
$(MAKE) -C file clean
$(MAKE) -C ipc clean
$(MAKE) -C large_object clean
$(MAKE) -C lmgr clean
$(MAKE) -C page clean
$(MAKE) -C smgr clean
.DEFAULT:
$(MAKE) -C buffer $@
$(MAKE) -C file $@
$(MAKE) -C ipc $@
$(MAKE) -C large_object $@
$(MAKE) -C lmgr $@
$(MAKE) -C page $@
$(MAKE) -C smgr $@
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for the storage modules
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/storage/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:52 scrappy Exp $
#
#-------------------------------------------------------------------------
stordir= $(CURDIR)/storage
VPATH:= $(VPATH):$(stordir):$(stordir)/buffer:$(stordir)/file:$(stordir)/ipc:\
$(stordir)/large_object:$(stordir)/lmgr:$(stordir)/page:$(stordir)/smgr
SUBSRCS=
include $(stordir)/buffer/Makefile.inc
include $(stordir)/file/Makefile.inc
include $(stordir)/ipc/Makefile.inc
include $(stordir)/large_object/Makefile.inc
include $(stordir)/lmgr/Makefile.inc
include $(stordir)/page/Makefile.inc
include $(stordir)/smgr/Makefile.inc
SRCS_STORAGE:= $(SUBSRCS)
HEADERS+= backendid.h block.h buf.h buf_internals.h bufmgr.h bufpage.h \
fd.h ipc.h item.h itemid.h itempos.h \
itemptr.h large_object.h lmgr.h lock.h multilev.h off.h page.h \
pagenum.h pos.h proc.h shmem.h sinval.h sinvaladt.h smgr.h spin.h
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for storage/buffer
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/storage/buffer/Makefile,v 1.1 1996/10/27 09:51:54 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../../..
include ../../../Makefile.global
INCLUDE_OPT = -I../.. \
-I../../port/$(PORTNAME) \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = buf_table.o buf_init.o bufmgr.o freelist.o localbuf.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for storage/buffer
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/storage/buffer/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:53 scrappy Exp $
#
#-------------------------------------------------------------------------
SUBSRCS+= buf_table.c buf_init.c bufmgr.c freelist.c localbuf.c
SRCS_SITEMGR+= buf_table.c buf_init.c freelist.c
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for storage/file
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/storage/file/Makefile,v 1.1 1996/10/27 09:52:01 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../../..
include ../../../Makefile.global
INCLUDE_OPT = -I../.. \
-I../../port/$(PORTNAME) \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = fd.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for storage/file
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/storage/file/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:55 scrappy Exp $
#
#-------------------------------------------------------------------------
SUBSRCS+= fd.c
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for storage/ipc
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/storage/ipc/Makefile,v 1.1 1996/10/27 09:52:10 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../../..
include ../../../Makefile.global
INCLUDE_OPT = -I../.. \
-I../../port/$(PORTNAME) \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = ipc.o ipci.o s_lock.o shmem.o shmqueue.o sinval.o \
sinvaladt.o spin.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for storage/ipc
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/storage/ipc/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:54 scrappy Exp $
#
#-------------------------------------------------------------------------
SUBSRCS+= ipc.c ipci.c s_lock.c shmem.c shmqueue.c sinval.c \
sinvaladt.c spin.c
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for storage/large_object
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/storage/large_object/Makefile,v 1.1 1996/10/27 09:52:20 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../../..
include ../../../Makefile.global
INCLUDE_OPT = -I../.. \
-I../../port/$(PORTNAME) \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = inv_api.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for storage/large_object
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/storage/large_object/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:55 scrappy Exp $
#
#-------------------------------------------------------------------------
SUBSRCS+= inv_api.c
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for storage/lmgr
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/storage/lmgr/Makefile,v 1.1 1996/10/27 09:52:27 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../../..
include ../../../Makefile.global
INCLUDE_OPT = -I../.. \
-I../../port/$(PORTNAME) \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = lmgr.o lock.o multi.o proc.o single.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for storage/lmgr
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/storage/lmgr/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:55 scrappy Exp $
#
#-------------------------------------------------------------------------
SUBSRCS+= lmgr.c lock.c multi.c proc.c single.c
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for storage/page
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/storage/page/Makefile,v 1.1 1996/10/27 09:52:34 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../../..
include ../../../Makefile.global
INCLUDE_OPT = -I../.. \
-I../../port/$(PORTNAME) \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = bufpage.o itemptr.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for storage/page
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/storage/page/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:58 scrappy Exp $
#
#-------------------------------------------------------------------------
SUBSRCS+= bufpage.c itemptr.c
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for storage/smgr
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/storage/smgr/Makefile,v 1.1 1996/10/27 09:52:40 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../../..
include ../../../Makefile.global
INCLUDE_OPT = -I../.. \
-I../../port/$(PORTNAME) \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = md.o mm.o smgr.o smgrtype.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for storage/smgr
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/storage/smgr/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:59 scrappy Exp $
#
#-------------------------------------------------------------------------
SUBSRCS+= md.c mm.c smgr.c smgrtype.c
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for tcop
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/tcop/Makefile,v 1.1 1996/10/27 09:52:53 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../..
include ../../Makefile.global
INCLUDE_OPT = -I.. \
-I../port/$(PORTNAME) \
-I../include \
-I../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = aclchk.o dest.o fastpath.o postgres.o pquery.o utility.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
utility.o: ../parse.h
../parse.h:
make -C .. parse.h
dep: ../parse.h
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for the traffic cop module
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/tcop/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:59 scrappy Exp $
#
#-------------------------------------------------------------------------
VPATH:= $(VPATH):$(CURDIR)/tcop
SRCS_TCOP= aclchk.c dest.c fastpath.c postgres.c pquery.c utility.c
HEADERS+= dest.h fastpath.h pquery.h tcopdebug.h tcopprot.h utility.h
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for tioga
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/tioga/Attic/Makefile,v 1.1 1996/10/27 09:53:00 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../..
include ../../Makefile.global
INCLUDE_OPT = -I.. \
-I../port/$(PORTNAME) \
-I../include \
-I../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = tgRecipe.o Varray.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for the Tioga module
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/tioga/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:22:00 scrappy Exp $
#
#-------------------------------------------------------------------------
VPATH:= $(VPATH):$(CURDIR)/tioga
SRCS_TIOGA= tgRecipe.c Varray.c
HEADERS+= tgRecipe.h Arr_TgRecipe.h Varray.h
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for utils
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/utils/Makefile,v 1.1 1996/10/27 09:53:07 bryanh Exp $
#
#-------------------------------------------------------------------------
INCLUDE_OPT = -I.. \
-I../include \
-I../../include
CFLAGS+=$(INCLUDE_OPT)
all: SUBSYS.o
SUBSYS.o: fmgrtab.o
$(MAKE) -C adt SUBSYS.o
$(MAKE) -C cache SUBSYS.o
$(MAKE) -C error SUBSYS.o
$(MAKE) -C fmgr SUBSYS.o
$(MAKE) -C hash SUBSYS.o
$(MAKE) -C init SUBSYS.o
$(MAKE) -C mmgr SUBSYS.o
$(MAKE) -C sort SUBSYS.o
$(MAKE) -C time SUBSYS.o
$(LD) -r -o SUBSYS.o \
fmgrtab.o adt/SUBSYS.o cache/SUBSYS.o error/SUBSYS.o \
fmgr/SUBSYS.o hash/SUBSYS.o init/SUBSYS.o mmgr/SUBSYS.o \
sort/SUBSYS.o time/SUBSYS.o
fmgrtab.o: ../fmgr.h
../fmgr.h:
$(MAKE) -C .. fmgr.h
fmgr.h fmgrtab.c: ./Gen_fmgrtab.sh ../../include/catalog/pg_proc.h
sh $(SHOPTS) Gen_fmgrtab.sh ../../include/catalog/pg_proc.h
clean:
rm -f SUBSYS.o fmgr.h fmgrtab.o fmgrtab.c
$(MAKE) -C adt clean
$(MAKE) -C cache clean
$(MAKE) -C error clean
$(MAKE) -C fmgr clean
$(MAKE) -C hash clean
$(MAKE) -C init clean
$(MAKE) -C mmgr clean
$(MAKE) -C sort clean
$(MAKE) -C time clean
dep: fmgr.h fmgrtab.c
$(CC) -MM $(INCLUDE_OPT) *.c >depend
$(MAKE) -C adt dep
$(MAKE) -C cache dep
$(MAKE) -C error dep
$(MAKE) -C fmgr dep
$(MAKE) -C hash dep
$(MAKE) -C init dep
$(MAKE) -C mmgr dep
$(MAKE) -C sort dep
$(MAKE) -C time dep
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for the utilities modules
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Makefile.inc,v 1.2 1996/08/28 02:13:10 scrappy Exp $
#
#-------------------------------------------------------------------------
utilsdir= $(CURDIR)/utils
VPATH:= $(VPATH):$(utilsdir):\
$(utilsdir)/adt:$(utilsdir)/cache:$(utilsdir)/error:$(utilsdir)/fmgr:\
$(utilsdir)/hash:$(utilsdir)/init:$(utilsdir)/mmgr:$(utilsdir)/sort:\
$(utilsdir)/time
SUBSRCS=
include $(utilsdir)/adt/Makefile.inc
include $(utilsdir)/cache/Makefile.inc
include $(utilsdir)/error/Makefile.inc
include $(utilsdir)/fmgr/Makefile.inc
include $(utilsdir)/hash/Makefile.inc
include $(utilsdir)/init/Makefile.inc
include $(utilsdir)/mmgr/Makefile.inc
include $(utilsdir)/sort/Makefile.inc
include $(utilsdir)/time/Makefile.inc
SRCS_UTILS:= $(SUBSRCS) fmgrtab.c
GENFMGRTAB= $(utilsdir)/Gen_fmgrtab.sh
#GENFMGRTABFILES= fmgr.h fmgrtab.c
GENFMGRTABFILES= fmgrtab.c
#
# BKIOPTS is set in ../catalog/Makefile.inc and sets the -D flags for
# the DATA(...); statements. Hence, ../catalog/Makefile.inc had better
# get slurped in prior to this Makefile.inc, or BKIOPTS should be set
# in a higher directory level.
#
$(GENFMGRTABFILES): $(GENFMGRTAB) ../../include/catalog/pg_proc.h
cd $(objdir); \
sh $(SHOPTS) $(GENFMGRTAB) $(BKIOPTS) ../../include/catalog/pg_proc.h
$(objdir)/fmgrtab.o: fmgrtab.c
$(cc_inobjdir)
POSTGRES_DEPEND+= ${GENFMGRTABFILES}
#
#${PROG}: ${GENFMGRTABFILES}
#
CLEANFILES+= $(GENFMGRTABFILES)
HEADERS+= acl.h array.h bit.h builtins.h catcache.h datum.h \
dynamic_loader.h elog.h exc.h excid.h fcache.h fmgrtab.h \
geo-decls.h hsearch.h inval.h lselect.h lsyscache.h mcxt.h \
memutils.h module.h nabstime.h oidcompos.h palloc.h \
portal.h psort.h rel.h rel2.h relcache.h sets.h \
syscache.h tqual.h
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for utils/adt
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/utils/adt/Makefile,v 1.1 1996/10/27 09:53:15 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../../..
include ../../../Makefile.global
INCLUDE_OPT = -I../.. \
-I../../port/$(PORTNAME) \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = acl.o arrayfuncs.o arrayutils.o bool.o char.o chunk.o date.o \
datum.o dt.o filename.o float.o geo-ops.o geo-selfuncs.o int.o \
misc.o nabstime.o name.o not_in.o numutils.o oid.o \
oidname.o oidint2.o oidint4.o regexp.o regproc.o selfuncs.o \
tid.o varchar.o varlena.o sets.o datetimes.o like.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for utils/adt
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:22:02 scrappy Exp $
#
#-------------------------------------------------------------------------
SUBSRCS+= acl.c arrayfuncs.c arrayutils.c bool.c char.c chunk.c date.c \
datum.c dt.c filename.c float.c geo-ops.c geo-selfuncs.c int.c \
misc.c nabstime.c name.c not_in.c numutils.c oid.c \
oidname.c oidint2.c oidint4.c regexp.c regproc.c selfuncs.c \
tid.c varchar.c varlena.c sets.c datetimes.c like.c
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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