2000-06-16 03:05:22 +08:00
|
|
|
#
|
2004-08-21 04:13:10 +08:00
|
|
|
# $PostgreSQL: pgsql/contrib/mSQL-interface/Makefile,v 1.9 2004/08/20 20:13:05 momjian Exp $
|
2000-06-16 03:05:22 +08:00
|
|
|
#
|
|
|
|
|
2004-08-21 04:13:10 +08:00
|
|
|
NAME = mpgsql
|
|
|
|
SO_MAJOR_VERSION = 0
|
|
|
|
SO_MINOR_VERSION = 0
|
|
|
|
OBJS = mpgsql.o
|
|
|
|
|
|
|
|
PG_CPPFLAGS = -I$(libpq_srcdir)
|
|
|
|
|
|
|
|
ifdef USE_PGXS
|
|
|
|
PGXS = $(shell pg_config --pgxs)
|
|
|
|
include $(PGXS)
|
|
|
|
else
|
2000-07-09 21:14:19 +08:00
|
|
|
subdir = contrib/mSQL-interface
|
|
|
|
top_builddir = ../..
|
2000-09-01 00:12:35 +08:00
|
|
|
include $(top_builddir)/src/Makefile.global
|
2004-08-21 04:13:10 +08:00
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
|
|
endif
|
2000-06-16 03:05:22 +08:00
|
|
|
|
2000-07-09 21:14:19 +08:00
|
|
|
all: all-lib
|
2000-06-16 03:05:22 +08:00
|
|
|
|
2000-07-09 21:14:19 +08:00
|
|
|
install: all installdirs install-lib
|
|
|
|
$(INSTALL_DATA) README.$(NAME) $(docdir)/contrib
|
2000-06-16 03:05:22 +08:00
|
|
|
|
2000-07-09 21:14:19 +08:00
|
|
|
installdirs:
|
|
|
|
$(mkinstalldirs) $(libdir) $(docdir)/contrib
|
2000-06-16 03:05:22 +08:00
|
|
|
|
2000-07-09 21:14:19 +08:00
|
|
|
uninstall: uninstall-lib
|
|
|
|
rm -f $(docdir)/contrib/README.$(NAME)
|
2000-06-16 03:05:22 +08:00
|
|
|
|
2000-07-09 21:14:19 +08:00
|
|
|
clean distclean maintainer-clean: clean-lib
|
|
|
|
rm -f $(OBJS)
|