mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
1 Update Snowball sources
2 Makefile fixes
This commit is contained in:
@ -1,20 +1,24 @@
|
||||
# $PostgreSQL: pgsql/contrib/tsearch2/ispell/Makefile,v 1.6 2004/06/23 11:06:11 teodor Exp $
|
||||
# $PostgreSQL: pgsql/contrib/tsearch2/ispell/Makefile,v 1.7 2005/09/15 11:14:18 teodor Exp $
|
||||
|
||||
subdir = contrib/tsearch2/ispell
|
||||
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
|
||||
top_builddir = ../../..
|
||||
include $(top_builddir)/src/Makefile.global
|
||||
include $(top_srcdir)/contrib/contrib-global.mk
|
||||
endif
|
||||
|
||||
|
||||
PG_CPPFLAGS = -I$(srcdir)/.. $(CPPFLAGS)
|
||||
override CFLAGS += $(CFLAGS_SL)
|
||||
|
||||
SUBOBJS = spell.o regis.o
|
||||
|
||||
all: SUBSYS.o
|
||||
|
||||
SUBSYS.o: $(SUBOBJS)
|
||||
$(LD) $(LDREL) $(LDOUT) $@ $^
|
||||
|
||||
EXTRA_CLEAN = SUBSYS.o $(SUBOBJS)
|
||||
|
||||
include $(top_srcdir)/contrib/contrib-global.mk
|
||||
|
Reference in New Issue
Block a user