ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/bioseg/trunk/Makefile
Revision: 3
Committed: Tue Aug 14 23:05:57 2007 UTC (12 years, 1 month ago) by kmr
File size: 570 byte(s)
Log Message:
Moved all files to trunk directory.

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' >$@