2005-10-18 09:30:49 +08:00
|
|
|
# $PostgreSQL: pgsql/contrib/tsearch2/ispell/Makefile,v 1.9 2005/10/18 01:30:48 tgl Exp $
|
2003-08-23 12:25:29 +08:00
|
|
|
|
2005-09-15 19:14:18 +08:00
|
|
|
SUBOBJS = spell.o regis.o
|
2005-10-18 09:30:49 +08:00
|
|
|
|
2005-09-15 19:14:18 +08:00
|
|
|
EXTRA_CLEAN = SUBSYS.o $(SUBOBJS)
|
|
|
|
|
2005-10-18 09:30:49 +08:00
|
|
|
PG_CPPFLAGS = -I$(srcdir)/..
|
|
|
|
|
2005-09-15 19:14:18 +08:00
|
|
|
ifdef USE_PGXS
|
2005-09-28 01:13:14 +08:00
|
|
|
PGXS := $(shell pg_config --pgxs)
|
2005-09-15 19:14:18 +08:00
|
|
|
include $(PGXS)
|
|
|
|
else
|
2005-10-18 09:30:49 +08:00
|
|
|
subdir = contrib/tsearch2/ispell
|
2003-08-04 22:54:47 +08:00
|
|
|
top_builddir = ../../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
2005-09-15 19:14:18 +08:00
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
|
|
endif
|
2003-08-04 22:54:47 +08:00
|
|
|
|
2003-08-05 04:34:26 +08:00
|
|
|
override CFLAGS += $(CFLAGS_SL)
|
2003-08-04 22:54:47 +08:00
|
|
|
|
|
|
|
all: SUBSYS.o
|
|
|
|
|
|
|
|
SUBSYS.o: $(SUBOBJS)
|
|
|
|
$(LD) $(LDREL) $(LDOUT) $@ $^
|
|
|
|
|
|
|
|
|