aboutsummaryrefslogtreecommitdiff
path: root/contrib/string/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/string/Makefile')
-rw-r--r--contrib/string/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/contrib/string/Makefile b/contrib/string/Makefile
index dd8f0e6f2a6..d372aa08457 100644
--- a/contrib/string/Makefile
+++ b/contrib/string/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 = string_io
@@ -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