*** pgsql/src/pl/plperl/GNUmakefile 2009/06/05 18:29:56 1.37 --- pgsql/src/pl/plperl/GNUmakefile 2010/01/09 02:40:50 1.38 *************** *** 1,5 **** # Makefile for PL/Perl ! # $PostgreSQL: pgsql/src/pl/plperl/GNUmakefile,v 1.36 2008/10/02 08:11:11 petere Exp $ subdir = src/pl/plperl top_builddir = ../../.. --- 1,5 ---- # Makefile for PL/Perl ! # $PostgreSQL: pgsql/src/pl/plperl/GNUmakefile,v 1.37 2009/06/05 18:29:56 adunstan Exp $ subdir = src/pl/plperl top_builddir = ../../.. *************** PSQLDIR = $(bindir) *** 45,50 **** --- 45,55 ---- include $(top_srcdir)/src/Makefile.shlib + plperl.o: perlchunks.h + + perlchunks.h: plc_*.pl + $(PERL) text2macro.pl --strip='^(\#.*|\s*)$$' plc_*.pl > perlchunks.htmp + mv perlchunks.htmp perlchunks.h all: all-lib *************** submake: *** 65,71 **** $(MAKE) -C $(top_builddir)/src/test/regress pg_regress$(X) clean distclean maintainer-clean: clean-lib ! rm -f SPI.c $(OBJS) rm -rf results rm -f regression.diffs regression.out --- 70,76 ---- $(MAKE) -C $(top_builddir)/src/test/regress pg_regress$(X) clean distclean maintainer-clean: clean-lib ! rm -f SPI.c $(OBJS) perlchunks.htmp perlchunks.h rm -rf results rm -f regression.diffs regression.out