summaryrefslogtreecommitdiff
path: root/contrib/array
diff options
context:
space:
mode:
authorTom Lane2000-05-29 05:45:56 +0000
committerTom Lane2000-05-29 05:45:56 +0000
commit091126fa28b4dbfd9df2fc4c22deade58f7e24dc (patch)
tree5a4c362f26fa5b00688831ffdf1dfff8b0f60f1f /contrib/array
parent18952f67446da73f938d213b5225b99e95657837 (diff)
Generated header files parse.h and fmgroids.h are now copied into
the src/include tree, so that -I backend is no longer necessary anywhere. Also, clean up some bit rot in contrib tree.
Diffstat (limited to 'contrib/array')
-rw-r--r--contrib/array/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/contrib/array/Makefile b/contrib/array/Makefile
index 951250a29dd..c29569d76f5 100644
--- a/contrib/array/Makefile
+++ b/contrib/array/Makefile
@@ -11,12 +11,7 @@ SRCDIR = $(PGDIR)/src
include $(SRCDIR)/Makefile.global
-INCLUDE_OPT = -I./ \
- -I$(SRCDIR)/ \
- -I$(SRCDIR)/include \
- -I$(SRCDIR)/port/$(PORTNAME)
-
-CFLAGS += $(INCLUDE_OPT) $(CFLAGS_SL)
+CFLAGS += -I. $(CFLAGS_SL)
MODNAME = array_iterator
@@ -61,7 +56,7 @@ $(SQLDIR):
$(CC) $(CFLAGS) -shared -o $@ $<
depend dep:
- $(CC) -MM $(INCLUDE_OPT) *.c >depend
+ $(CC) -MM $(CFLAGS) *.c >depend
clean:
rm -f *~ $(MODULE) $(MODNAME).sql