mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-15 08:20:16 +08:00
805e431a38
source directory. This involves mostly makefiles using $(srcdir) when they might have used ".". (Regression tests don't work with this, yet.) Sort out usage of CPPFLAGS, CFLAGS (and CXXFLAGS). Add "override" keyword in most places, to preserve necessary flags even when the user overrode the flags.
31 lines
652 B
Makefile
31 lines
652 B
Makefile
#
|
|
# $Header: /cvsroot/pgsql/contrib/mSQL-interface/Attic/Makefile,v 1.6 2000/10/20 21:03:18 petere Exp $
|
|
#
|
|
|
|
subdir = contrib/mSQL-interface
|
|
top_builddir = ../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
NAME := mpgsql
|
|
SO_MAJOR_VERSION := 0
|
|
SO_MINOR_VERSION := 0
|
|
OBJS := mpgsql.o
|
|
|
|
override CPPFLAGS += -I$(libpq_srcdir)
|
|
|
|
include $(top_srcdir)/src/Makefile.shlib
|
|
|
|
all: all-lib
|
|
|
|
install: all installdirs install-lib
|
|
$(INSTALL_DATA) README.$(NAME) $(docdir)/contrib
|
|
|
|
installdirs:
|
|
$(mkinstalldirs) $(libdir) $(docdir)/contrib
|
|
|
|
uninstall: uninstall-lib
|
|
rm -f $(docdir)/contrib/README.$(NAME)
|
|
|
|
clean distclean maintainer-clean: clean-lib
|
|
rm -f $(OBJS)
|