blob: 7e700a7a34f84fec6a6a951d2a3c8e91072eff9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $Header: /cvsroot/pgsql/src/pl/plperl/GNUmakefile,v 1.6 2000/11/02 18:40:13 petere Exp $
subdir = src/pl/plperl
top_builddir = ../../..
include $(top_builddir)/src/Makefile.global
plperl_installdir = $(DESTDIR)$(libdir)
all: Makefile
$(MAKE) -f $< all
Makefile: Makefile.PL
plperl_installdir='$(plperl_installdir)' \
EXTRA_INCLUDES='$(filter -I%, $(CPPFLAGS))' \
$(PERL) $<
install: all installdirs
$(MAKE) -f Makefile install
installdirs:
$(mkinstalldirs) $(DESTDIR)$(plperl_installdir)
uninstall:
rm -f $(DESTDIR)$(libdir)/plperl$(DLSUFFIX)
clean distclean maintainer-clean:
-[ -f Makefile ] && $(MAKE) -f Makefile clean
rm -f Makefile Makefile.old
|