]> granicus.if.org Git - postgresql/blob - src/backend/utils/adt/Makefile
New unified regression test driver, test/regress makefile cleanup,
[postgresql] / src / backend / utils / adt / Makefile
1 #
2 # Makefile for utils/adt
3 #
4 # $Header: /cvsroot/pgsql/src/backend/utils/adt/Makefile,v 1.47 2000/09/29 17:17:33 petere Exp $
5 #
6
7 subdir = src/backend/utils/adt
8 top_builddir = ../../../..
9 include $(top_builddir)/src/Makefile.global
10
11 # seems to be required for some date/time stuff 1999/07/22 bjm
12 ifeq "$(findstring alpha,$(host_cpu))" "alpha"
13 ifeq "$(GCC)" "yes"
14 CFLAGS+= -mieee
15 endif
16 endif
17
18 OBJS = acl.o arrayfuncs.o arrayutils.o bool.o cash.o char.o \
19         date.o datetime.o datum.o float.o format_type.o \
20         geo_ops.o geo_selfuncs.o int.o int8.o like.o \
21         misc.o nabstime.o name.o not_in.o numeric.o numutils.o \
22         oid.o oracle_compat.o \
23         regexp.o regproc.o ruleutils.o selfuncs.o sets.o \
24         tid.o timestamp.o varbit.o varchar.o varlena.o version.o \
25         network.o mac.o inet_net_ntop.o inet_net_pton.o \
26         ri_triggers.o pg_lzcompress.o pg_locale.o formatting.o \
27         ascii.o quote.o
28
29 all: SUBSYS.o
30
31 SUBSYS.o: $(OBJS)
32         $(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
33
34 depend dep:
35         $(CC) -MM $(CFLAGS) *.c >depend
36
37 clean: 
38         rm -f SUBSYS.o $(OBJS)
39
40 ifeq (depend,$(wildcard depend))
41 include depend
42 endif