1 #-------------------------------------------------------------------------
4 # Makefile for tutorial
7 # $Header: /cvsroot/pgsql/src/tutorial/Makefile,v 1.16 2002/09/05 18:28:46 petere Exp $
9 #-------------------------------------------------------------------------
13 include $(top_builddir)/src/Makefile.global
15 override CFLAGS+= $(CFLAGS_SL)
16 SHLIB_LINK = $(BE_DLLLIBS)
19 # DLOBJS are the dynamically-loaded object files. The "funcs" queries
20 # include CREATE FUNCTIONs that load routines from these files.
22 DLOBJS= complex$(DLSUFFIX) funcs$(DLSUFFIX)
24 QUERIES= advanced.sql basics.sql complex.sql funcs.sql syscat.sql
26 all: $(DLOBJS) $(QUERIES)
31 sed -e "s:_OBJWD_:$$C:g" < $< > $@
33 clean distclean maintainer-clean:
34 rm -f $(DLOBJS) $(QUERIES)