1 #-------------------------------------------------------------------------
4 # Makefile for tutorial
6 # By default, this builds against an existing PostgreSQL installation
7 # (the one identified by whichever pg_config is first in your path).
8 # Within a configured source tree, you can say "gmake NO_PGXS=1 all"
9 # to build using the surrounding source tree.
12 # src/tutorial/Makefile
14 #-------------------------------------------------------------------------
16 MODULES = complex funcs
17 DATA_built = advanced.sql basics.sql complex.sql funcs.sql syscat.sql
22 include $(top_builddir)/src/Makefile.global
23 include $(top_srcdir)/src/makefiles/pgxs.mk
26 PGXS := $(shell $(PG_CONFIG) --pgxs)
33 sed -e "s:_OBJWD_:$$C:g" < $< > $@