]> granicus.if.org Git - postgresql/blob - src/backend/access/transam/Makefile
Generated header files parse.h and fmgroids.h are now copied into
[postgresql] / src / backend / access / transam / Makefile
1 #-------------------------------------------------------------------------
2 #
3 # Makefile--
4 #    Makefile for access/transam
5 #
6 # IDENTIFICATION
7 #    $Header: /cvsroot/pgsql/src/backend/access/transam/Makefile,v 1.11 2000/05/29 05:44:41 tgl Exp $
8 #
9 #-------------------------------------------------------------------------
10
11 SRCDIR = ../../..
12 include ../../../Makefile.global
13
14 OBJS = transam.o transsup.o varsup.o xact.o xid.o xlog.o rmgr.o
15
16 all: SUBSYS.o
17
18 SUBSYS.o: $(OBJS)
19         $(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
20
21 depend dep:
22         $(CC) -MM $(CFLAGS) *.c >depend
23
24 clean: 
25         rm -f SUBSYS.o $(OBJS)
26
27 # ensure that version checks in xlog.c get recompiled when config.h or
28 # catversion.h changes, even if "make depend" hasn't been done.
29 xlog.o: xlog.c $(SRCDIR)/include/config.h $(SRCDIR)/include/catalog/catversion.h
30
31 ifeq (depend,$(wildcard depend))
32 include depend
33 endif
34