]> granicus.if.org Git - postgresql/blob - src/backend/commands/Makefile
Major cleanout of PORTNAME variables from Makefiles...bound to screw up
[postgresql] / src / backend / commands / Makefile
1 #-------------------------------------------------------------------------
2 #
3 # Makefile--
4 #    Makefile for commands
5 #
6 # IDENTIFICATION
7 #    $Header: /cvsroot/pgsql/src/backend/commands/Makefile,v 1.10 1997/12/20 00:23:32 scrappy Exp $
8 #
9 #-------------------------------------------------------------------------
10
11 SRCDIR = ../..
12 include ../../Makefile.global
13
14 INCLUDE_OPT = -I.. 
15
16 CFLAGS+=$(INCLUDE_OPT)
17
18 OBJS = async.o creatinh.o command.o copy.o defind.o define.o \
19        remove.o rename.o vacuum.o version.o view.o cluster.o \
20        recipe.o explain.o sequence.o trigger.o user.o proclang.o dbcommands.o
21
22 all: SUBSYS.o
23
24 SUBSYS.o: $(OBJS)
25         $(LD) -r -o SUBSYS.o $(OBJS)
26
27 depend dep:
28         $(CC) -MM $(INCLUDE_OPT) *.c >depend
29
30 clean: 
31         rm -f SUBSYS.o $(OBJS) 
32
33 ifeq (depend,$(wildcard depend))
34 include depend
35 endif
36