aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/Makefile.inc
blob: e74e35084a42e4c42118d2ddcaba4d607217b125 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#-------------------------------------------------------------------------
#
# Makefile.inc--
#    Makefile for the utilities modules
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
#    $Header: /cvsroot/pgsql/src/backend/utils/Attic/Makefile.inc,v 1.2 1996/08/28 02:13:10 scrappy Exp $
#
#-------------------------------------------------------------------------

utilsdir= $(CURDIR)/utils
VPATH:= $(VPATH):$(utilsdir):\
	$(utilsdir)/adt:$(utilsdir)/cache:$(utilsdir)/error:$(utilsdir)/fmgr:\
	$(utilsdir)/hash:$(utilsdir)/init:$(utilsdir)/mmgr:$(utilsdir)/sort:\
	$(utilsdir)/time

SUBSRCS=
include $(utilsdir)/adt/Makefile.inc
include $(utilsdir)/cache/Makefile.inc
include $(utilsdir)/error/Makefile.inc
include $(utilsdir)/fmgr/Makefile.inc
include $(utilsdir)/hash/Makefile.inc
include $(utilsdir)/init/Makefile.inc
include $(utilsdir)/mmgr/Makefile.inc
include $(utilsdir)/sort/Makefile.inc
include $(utilsdir)/time/Makefile.inc
SRCS_UTILS:= $(SUBSRCS) fmgrtab.c

GENFMGRTAB= $(utilsdir)/Gen_fmgrtab.sh
#GENFMGRTABFILES= fmgr.h fmgrtab.c
GENFMGRTABFILES= fmgrtab.c

#
# BKIOPTS is set in ../catalog/Makefile.inc and sets the -D flags for
# the DATA(...); statements.  Hence, ../catalog/Makefile.inc had better
# get slurped in prior to this Makefile.inc, or BKIOPTS should be set
# in a higher directory level.
#
$(GENFMGRTABFILES): $(GENFMGRTAB) ../../include/catalog/pg_proc.h
	cd $(objdir); \
	sh $(SHOPTS) $(GENFMGRTAB) $(BKIOPTS) ../../include/catalog/pg_proc.h

$(objdir)/fmgrtab.o:  fmgrtab.c
	$(cc_inobjdir)

POSTGRES_DEPEND+= ${GENFMGRTABFILES}

#
#${PROG}: ${GENFMGRTABFILES}
#

CLEANFILES+= $(GENFMGRTABFILES)

HEADERS+= acl.h array.h bit.h builtins.h catcache.h datum.h \
	dynamic_loader.h elog.h exc.h excid.h fcache.h fmgrtab.h \
	geo-decls.h hsearch.h inval.h lselect.h lsyscache.h mcxt.h \
	memutils.h module.h nabstime.h oidcompos.h palloc.h  \
	portal.h psort.h rel.h rel2.h relcache.h sets.h \
	syscache.h tqual.h