2005-09-15 19:14:18 +08:00
|
|
|
# $PostgreSQL: pgsql/contrib/tsearch2/ispell/Makefile,v 1.7 2005/09/15 11:14:18 teodor Exp $
|
2003-08-23 12:25:29 +08:00
|
|
|
|
2005-09-15 19:14:18 +08:00
|
|
|
PG_CPPFLAGS = -I$(srcdir)/..
|
|
|
|
SUBOBJS = spell.o regis.o
|
|
|
|
EXTRA_CLEAN = SUBSYS.o $(SUBOBJS)
|
|
|
|
|
|
|
|
ifdef USE_PGXS
|
|
|
|
PGXS = $(shell pg_config --pgxs)
|
|
|
|
include $(PGXS)
|
|
|
|
else
|
|
|
|
subdir = contrib/tsearch2
|
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) $@ $^
|
|
|
|
|
|
|
|
|