]> granicus.if.org Git - postgresql/blob - src/backend/utils/misc/Makefile
I really hope that I haven't missed anything in this one...
[postgresql] / src / backend / utils / misc / Makefile
1 #-------------------------------------------------------------------------
2 #
3 # Makefile--
4 #    Makefile for utils/misc
5 #
6 # IDENTIFICATION
7 #    $Header: /cvsroot/pgsql/src/backend/utils/misc/Makefile,v 1.7 1998/07/24 03:31:58 scrappy Exp $
8 #
9 #-------------------------------------------------------------------------
10
11 SRCDIR = ../../..
12 include ../../../Makefile.global
13
14 CFLAGS += -I../..
15
16 ifdef MB
17 CFLAGS += -DMB=$(MB)
18 endif
19
20 OBJS = database.o superuser.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 $(CFLAGS) *.c >depend
29
30 clean: 
31         rm -f SUBSYS.o $(OBJS)
32
33 ifeq (depend,$(wildcard depend))
34 include depend
35 endif
36