diff options
| author | Bryan Henderson | 1996-10-27 09:55:05 +0000 |
|---|---|---|
| committer | Bryan Henderson | 1996-10-27 09:55:05 +0000 |
| commit | b0d6f0aa639610f47bed818f7bc4e584cd9a391b (patch) | |
| tree | 103835aa6881d565d6ab23d09b7784c4952d8a2b /src/backend/nodes | |
| parent | 1e39d14ff33f7ac436bbbd0b46a3e31faafed561 (diff) | |
Simplify make files, add full dependencies.
Diffstat (limited to 'src/backend/nodes')
| -rw-r--r-- | src/backend/nodes/Makefile | 39 | ||||
| -rw-r--r-- | src/backend/nodes/Makefile.inc | 33 |
2 files changed, 39 insertions, 33 deletions
diff --git a/src/backend/nodes/Makefile b/src/backend/nodes/Makefile new file mode 100644 index 00000000000..51eff228394 --- /dev/null +++ b/src/backend/nodes/Makefile @@ -0,0 +1,39 @@ +#------------------------------------------------------------------------- +# +# 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 + diff --git a/src/backend/nodes/Makefile.inc b/src/backend/nodes/Makefile.inc deleted file mode 100644 index a32fdbad6d1..00000000000 --- a/src/backend/nodes/Makefile.inc +++ /dev/null @@ -1,33 +0,0 @@ -#------------------------------------------------------------------------- -# -# 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 - |
