postgresql/src/pl/plpython/Makefile

37 lines
819 B
Makefile
Raw Normal View History

# $Header: /cvsroot/pgsql/src/pl/plpython/Makefile,v 1.6 2001/05/14 22:06:50 petere Exp $
2001-05-09 21:54:38 +02:00
subdir = src/pl/plpython
top_builddir = ../../..
include $(top_builddir)/src/Makefile.global
2001-05-09 21:54:38 +02:00
override CPPFLAGS := -I$(srcdir) -I$(python_includedir) $(CPPFLAGS)
2001-05-09 21:54:38 +02:00
NAME = plpython
SO_MAJOR_VERSION = 0
SO_MINOR_VERSION = 0
OBJS = plpython.o
2001-05-09 21:54:38 +02:00
SHLIB_LINK += $(python_libspec)
include $(top_srcdir)/src/Makefile.shlib
2001-05-09 21:54:38 +02:00
all: all-lib
2001-05-09 21:54:38 +02:00
install: all installdirs
$(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(libdir)/plpython$(DLSUFFIX)
2001-05-09 21:54:38 +02:00
installdirs:
$(mkinstalldirs) $(DESTDIR)$(libdir)
2001-05-09 21:54:38 +02:00
uninstall:
rm -f $(DESTDIR)$(libdir)/plpython$(DLSUFFIX)
2001-05-09 21:54:38 +02: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 21:54:38 +02:00
installcheck:
PATH=$(bindir):$$PATH $(SHELL) $(srcdir)/test.sh