ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/bioseg/tags/release-0.6/Makefile
Revision: 37
Committed: Thu Aug 21 16:20:40 2008 UTC (11 years, 1 month ago) by kmr
File size: 570 byte(s)
Log Message:
Tagged 0.6

Line File contents
1 ifdef INTERBASE_COORDS
2 BIOSEG := bioseg0
3 PG_CPPFLAGS = -I. -DINTERBASE_COORDS
4 else
5 BIOSEG := bioseg
6 PG_CPPFLAGS = -I.
7 endif
8
9 MODULE_big = $(BIOSEG)
10 OBJS = bioseg.o
11 DATA_built = $(BIOSEG).sql
12 DATA = uninstall_$(BIOSEG).sql
13 REGRESS = $(BIOSEG)
14
15
16
17 ifdef USE_PGXS
18 PGXS := $(shell pg_config --pgxs)
19 include $(PGXS)
20 else
21 subdir = contrib/bioseg
22 top_builddir = ../..
23 include $(top_builddir)/src/Makefile.global
24 include $(top_srcdir)/contrib/contrib-global.mk
25 endif
26
27 $(BIOSEG).sql: bioseg.sql.in
28 sed 's,MODULE_PATHNAME,$$libdir/$*,g' $< | sed 's,$$BIOSEG_TYPE,$(BIOSEG),g' >$@