2001-07-10 12:33:02 -04:00
|
|
|
# $Header: /cvsroot/pgsql/src/pl/plpython/Makefile,v 1.8 2001/07/10 16:33:02 petere Exp $
|
2001-05-09 15:54:38 -04:00
|
|
|
|
2001-05-11 21:30:30 -04:00
|
|
|
subdir = src/pl/plpython
|
|
|
|
|
top_builddir = ../../..
|
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
2001-05-09 15:54:38 -04:00
|
|
|
|
|
|
|
|
|
2001-07-10 12:33:02 -04:00
|
|
|
override CPPFLAGS := -I$(srcdir) $(python_includespec) $(CPPFLAGS)
|
2001-05-09 15:54:38 -04:00
|
|
|
|
2001-05-25 11:48:33 -04:00
|
|
|
override DLLLIBS := $(BE_DLLLIBS) $(DLLLIBS)
|
|
|
|
|
|
2001-05-11 21:30:30 -04:00
|
|
|
NAME = plpython
|
|
|
|
|
SO_MAJOR_VERSION = 0
|
|
|
|
|
SO_MINOR_VERSION = 0
|
|
|
|
|
OBJS = plpython.o
|
2001-05-09 15:54:38 -04:00
|
|
|
|
2001-05-12 13:49:32 -04:00
|
|
|
SHLIB_LINK += $(python_libspec)
|
|
|
|
|
|
2001-05-11 21:30:30 -04:00
|
|
|
include $(top_srcdir)/src/Makefile.shlib
|
2001-05-09 15:54:38 -04:00
|
|
|
|
|
|
|
|
|
2001-05-11 21:30:30 -04:00
|
|
|
all: all-lib
|
2001-05-09 15:54:38 -04:00
|
|
|
|
2001-05-11 21:30:30 -04:00
|
|
|
install: all installdirs
|
|
|
|
|
$(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(libdir)/plpython$(DLSUFFIX)
|
2001-05-09 15:54:38 -04:00
|
|
|
|
2001-05-11 21:30:30 -04:00
|
|
|
installdirs:
|
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(libdir)
|
2001-05-09 15:54:38 -04:00
|
|
|
|
2001-05-11 21:30:30 -04:00
|
|
|
uninstall:
|
|
|
|
|
rm -f $(DESTDIR)$(libdir)/plpython$(DLSUFFIX)
|
2001-05-09 15:54:38 -04:00
|
|
|
|
2001-05-11 21:30:30 -04:00
|
|
|
clean distclean maintainer-clean: clean-lib
|
|
|
|
|
rm -f $(OBJS)
|
|
|
|
|
@rm -f error.diff feature.diff error.output feature.output test.log
|
2001-05-09 15:54:38 -04:00
|
|
|
|
2001-05-11 21:30:30 -04:00
|
|
|
installcheck:
|
|
|
|
|
PATH=$(bindir):$$PATH $(SHELL) $(srcdir)/test.sh
|