postgres/contrib/mSQL-interface/Makefile

35 lines
759 B
Makefile
Raw Normal View History

2000-06-15 23:05:22 +04:00
#
# $PostgreSQL: pgsql/contrib/mSQL-interface/Makefile,v 1.11 2005/12/09 21:19:34 petere Exp $
2000-06-15 23:05:22 +04: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
subdir = contrib/mSQL-interface
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif
2000-06-15 23:05:22 +04:00
all: all-lib
2000-06-15 23:05:22 +04:00
install: all installdirs install-lib
$(INSTALL_DATA) $(srcdir)/README.$(NAME) '$(DESTDIR)$(docdir)/contrib'
2000-06-15 23:05:22 +04:00
installdirs:
$(mkinstalldirs) $(libdir) '$(DESTDIR)$(docdir)/contrib'
2000-06-15 23:05:22 +04:00
uninstall: uninstall-lib
rm -f '$(DESTDIR)$(docdir)/contrib/README.$(NAME)'
2000-06-15 23:05:22 +04:00
clean distclean maintainer-clean: clean-lib
rm -f $(OBJS)