1 ## Process this file with automake to produce Makefile.in -*- makefile -*-
9 perl-module/Examples.pod \
10 perl-module/Makefile.PL \
11 perl-module/MANIFEST \
12 perl-module/ppport.h \
16 perl-module/lib/PSPP.pm \
20 perl-module/pspp-module-config: Makefile
22 echo '%Locations = (' > $$target ;\
23 printf " SourceDir => '" >> $$target ;\
24 (cd $(top_srcdir) && echo `pwd`\', ) >> $$target ;\
25 printf " BuildDir => '" >> $$target ;\
26 (cd $(top_builddir) && echo `pwd`\' ) >> $$target ;\
27 echo ');' >> $$target ;\
28 cp $$target $(top_builddir)/perl-module/pspp-module-config
32 perl-module/Makefile: perl-module/Makefile.PL perl-module/pspp-module-config
33 cd perl-module && $(PERL) Makefile.PL PREFIX=$(prefix)
35 module-make: perl-module/Makefile
36 cd perl-module && $(MAKE) $(AM_MAKEFLAGS)
39 if test x"$(top_builddir)" != x"$(top_srcdir)" ; then \
40 for f in $(module_sources); do \
41 destdir=`dirname $$f` ;\
43 if test "$(top_srcdir)/$$f" -nt "$(top_builddir)/$$f" ; then \
44 cp $(top_srcdir)/$$f $$destdir ; \
48 $(MAKE) $(AM_MAKEFLAGS) module-make
51 cd perl-module && $(MAKE) $(AM_MAKEFLAGS) test
55 cd perl-module && $(MAKE) $(AM_MAKEFLAGS) clean
56 if test x"$(top_builddir)" != x"$(top_srcdir)" ; then \
57 $(RM) $(module_sources) ; \
59 $(RM) perl-module/Makefile.old
62 # cd perl-module && $(MAKE) $(AM_MAKEFLAGS) doc_install
65 # cd perl-module && $(MAKE) $(AM_MAKEFLAGS) pure_install
68 # cd perl-module && $(MAKE) $(AM_MAKEFLAGS) uninstall
73 perl-module/pspp-module-config \
74 perl-module/const-c.inc \
75 perl-module/const-xs.inc
79 EXTRA_DIST += $(module_sources)