summaryrefslogtreecommitdiff
path: root/contrib/soundex/Makefile
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-05-29 05:45:56 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-05-29 05:45:56 +0000
commit091126fa28b4dbfd9df2fc4c22deade58f7e24dc (patch)
tree5a4c362f26fa5b00688831ffdf1dfff8b0f60f1f /contrib/soundex/Makefile
parent18952f67446da73f938d213b5225b99e95657837 (diff)
downloadpostgresql-091126fa28b4dbfd9df2fc4c22deade58f7e24dc.tar.gz
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/soundex/Makefile')
-rw-r--r--contrib/soundex/Makefile22
1 files changed, 2 insertions, 20 deletions
diff --git a/contrib/soundex/Makefile b/contrib/soundex/Makefile
index d95549dc01..059fd6d4ee 100644
--- a/contrib/soundex/Makefile
+++ b/contrib/soundex/Makefile
@@ -10,25 +10,7 @@ SRCDIR = $(PGDIR)/src
include $(SRCDIR)/Makefile.global
-INCLUDE_OPT = -I ./ \
- -I $(SRCDIR)/ \
- -I $(SRCDIR)/include \
- -I $(SRCDIR)/interfaces/libpq \
- -I $(SRCDIR)/port/$(PORTNAME)
-
-CFLAGS += $(INCLUDE_OPT)
-
-ifeq ($(PORTNAME), linux)
- ifdef LINUX_ELF
- ifeq ($(CC), gcc)
- CFLAGS += -fPIC
- endif
- endif
-endif
-
-ifeq ($(PORTNAME), i386_solaris)
- CFLAGS+= -fPIC
-endif
+CFLAGS += -I. $(CFLAGS_SL)
MODNAME = soundex
@@ -53,7 +35,7 @@ install: $(MODULE)
$(CC) $(CFLAGS) -shared -o $@ $<
depend dep:
- $(CC) -MM $(INCLUDE_OPT) *.c >depend
+ $(CC) -MM $(CFLAGS) *.c >depend
clean:
rm -f $(MODULE) $(MODNAME).sql