Lines 55-60
endif
Link Here
|
55 |
# where to find psql for running the tests |
55 |
# where to find psql for running the tests |
56 |
PSQLDIR = $(bindir) |
56 |
PSQLDIR = $(bindir) |
57 |
|
57 |
|
|
|
58 |
# where to find xsubpp for building XS. |
59 |
XSUBPPDIR = $(shell $(PERL) -MConfig -e 'use List::Util qw(first); print first { -x "$$_/xsubpp" } @Config{qw(installsitebin installvendorbin installbin)}') |
60 |
|
58 |
include $(top_srcdir)/src/Makefile.shlib |
61 |
include $(top_srcdir)/src/Makefile.shlib |
59 |
|
62 |
|
60 |
plperl.o: perlchunks.h plperl_opmask.h |
63 |
plperl.o: perlchunks.h plperl_opmask.h |
Lines 70-81
perlchunks.h: $(PERLCHUNKS)
Link Here
|
70 |
all: all-lib |
73 |
all: all-lib |
71 |
|
74 |
|
72 |
SPI.c: SPI.xs |
75 |
SPI.c: SPI.xs |
73 |
@if [ x"$(perl_privlibexp)" = x"" ]; then echo "configure switch --with-perl was not specified."; exit 1; fi |
76 |
@if [ x"$(XSUBPPDIR)" = x"" ]; then echo "configure switch --with-perl was not specified."; exit 1; fi |
74 |
$(PERL) $(perl_privlibexp)/ExtUtils/xsubpp -typemap $(perl_privlibexp)/ExtUtils/typemap $< >$@ |
77 |
$(PERL) $(XSUBPPDIR)/xsubpp -typemap $(perl_privlibexp)/ExtUtils/typemap $< >$@ |
75 |
|
78 |
|
76 |
Util.c: Util.xs |
79 |
Util.c: Util.xs |
77 |
@if [ x"$(perl_privlibexp)" = x"" ]; then echo "configure switch --with-perl was not specified."; exit 1; fi |
80 |
@if [ x"$(XSUBPPDIR)" = x"" ]; then echo "configure switch --with-perl was not specified."; exit 1; fi |
78 |
$(PERL) $(perl_privlibexp)/ExtUtils/xsubpp -typemap $(perl_privlibexp)/ExtUtils/typemap $< >$@ |
81 |
$(PERL) $(XSUBPPDIR)/xsubpp -typemap $(perl_privlibexp)/ExtUtils/typemap $< >$@ |
79 |
|
82 |
|
80 |
|
83 |
|
81 |
install: all install-lib install-data |
84 |
install: all install-lib install-data |