mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Simplify make files, add full dependencies.
This commit is contained in:
		
							
								
								
									
										39
									
								
								src/backend/nodes/Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								src/backend/nodes/Makefile
									
									
									
									
									
										Normal file
									
								
							@@ -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
 | 
			
		||||
 | 
			
		||||
@@ -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
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user