]> granicus.if.org Git - postgresql/blob - src/backend/access/transam/Makefile
Add a notion of a 'catalog version number' that can indicate
[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.8 1999/10/24 20:42:27 tgl Exp $
8 #
9 #-------------------------------------------------------------------------
10
11 SRCDIR = ../../..
12 include ../../../Makefile.global
13
14 CFLAGS += -I../.. 
15
16 OBJS = transam.o transsup.o varsup.o xact.o xid.o xlog.o rmgr.o
17
18 all: SUBSYS.o
19
20 SUBSYS.o: $(OBJS)
21         $(LD) -r -o SUBSYS.o $(OBJS)
22
23 depend dep:
24         $(CC) -MM $(CFLAGS) *.c >depend
25
26 clean: 
27         rm -f SUBSYS.o $(OBJS)
28
29 # ensure that version checks in xlog.c get recompiled when config.h or
30 # catversion.h changes, even if "make depend" hasn't been done.
31 xlog.o: xlog.c $(SRCDIR)/include/config.h $(SRCDIR)/include/catalog/catversion.h
32
33 ifeq (depend,$(wildcard depend))
34 include depend
35 endif
36