head	1.13;
access;
symbols
	REL7_4_29:1.7
	REL8_0_25:1.9
	REL8_1_21:1.10
	REL7_4_28:1.7
	REL8_0_24:1.9
	REL8_1_20:1.10
	REL7_4_27:1.7
	REL8_0_23:1.9
	REL8_1_19:1.10
	REL7_4_26:1.7
	REL8_0_22:1.9
	REL8_1_18:1.10
	REL7_4_25:1.7
	REL8_0_21:1.9
	REL8_1_17:1.10
	REL7_4_24:1.7
	REL8_0_20:1.9
	REL8_1_16:1.10
	REL7_4_23:1.7
	REL8_0_19:1.9
	REL8_1_15:1.10
	REL7_4_22:1.7
	REL8_0_18:1.9
	REL8_1_14:1.10
	REL7_4_21:1.7
	REL8_0_17:1.9
	REL8_1_13:1.10
	REL7_4_20:1.7
	REL8_0_16:1.9
	REL8_1_12:1.10
	REL7_3_21:1.7
	REL7_4_19:1.7
	REL8_0_15:1.9
	REL8_1_11:1.10
	REL7_3_20:1.7
	REL7_4_18:1.7
	REL8_0_14:1.9
	REL8_1_10:1.10
	REL7_3_19:1.7
	REL7_4_17:1.7
	REL8_0_13:1.9
	REL8_1_9:1.10
	REL8_0_12:1.9
	REL8_1_8:1.10
	REL7_3_18:1.7
	REL7_4_16:1.7
	REL8_0_11:1.9
	REL8_1_7:1.10
	REL8_0_10:1.9
	REL8_1_6:1.10
	REL7_4_15:1.7
	REL7_3_17:1.7
	REL8_1_5:1.10
	REL8_0_9:1.9
	REL7_4_14:1.7
	REL7_3_16:1.7
	REL7_3_15:1.7
	REL7_4_13:1.7
	REL8_0_8:1.9
	REL8_1_4:1.10
	REL7_3_14:1.7
	REL7_4_12:1.7
	REL8_0_7:1.9
	REL8_1_3:1.10
	REL7_3_13:1.7
	REL7_4_11:1.7
	REL8_0_6:1.9
	REL8_1_2:1.10
	REL7_3_12:1.7
	REL7_4_10:1.7
	REL8_0_5:1.9
	REL8_1_1:1.10
	REL8_1_STABLE:1.10.0.2
	REL8_1_0:1.10
	REL8_1_0RC1:1.10
	REL8_1_0BETA4:1.10
	REL8_1_0BETA3:1.10
	REL7_3_11:1.7
	REL7_4_9:1.7
	REL8_0_4:1.9
	REL8_1_0BETA2:1.9
	REL8_1_0BETA1:1.9
	REL7_2_8:1.7
	REL7_3_10:1.7
	REL7_4_8:1.7
	REL8_0_3:1.9
	REL8_0_2:1.9
	REL7_2_7:1.7
	REL7_3_9:1.7
	REL7_4_7:1.7
	REL8_0_1:1.9
	REL8_0_STABLE:1.9.0.4
	REL8_0_0:1.9.0.2
	REL8_0_0RC5:1.9
	REL8_0_0RC4:1.9
	REL8_0_0RC3:1.9
	REL8_0_0RC2:1.9
	REL8_0_0RC1:1.9
	REL8_0_0BETA5:1.9
	REL8_0_0BETA4:1.9
	REL7_4_6:1.7
	REL7_3_8:1.7
	REL7_2_6:1.7
	REL8_0_0BETA3:1.9
	REL8_0_0BETA2:1.9
	REL7_2_5:1.7
	REL7_4_5:1.7
	REL7_3_7:1.7
	REL7_4_4:1.7
	REL8_0_0BETA1:1.8
	REL7_4_3:1.7
	REL7_4_2:1.7
	REL7_3_6:1.7
	REL7_4_1:1.7
	REL7_3_5:1.7
	REL7_4:1.7
	REL7_4_RC2:1.7
	REL7_4_STABLE:1.7.0.10
	REL7_4_RC1:1.7
	REL7_4_BETA5:1.7
	REL7_4_BETA4:1.7
	REL7_4_BETA3:1.7
	REL7_4_BETA2:1.7
	WIN32_DEV:1.7.0.8
	REL7_4_BETA1:1.7
	REL7_3_4:1.7
	REL7_3_2:1.7
	REL7_2_4:1.7
	REL7_3_STABLE:1.7.0.6
	REL7_2_3:1.7
	REL7_2_STABLE:1.7.0.4
	REL7_2:1.7
	REL7_2_RC2:1.7
	REL7_2_RC1:1.7
	REL7_2_BETA5:1.7
	REL7_2_BETA4:1.7
	REL7_2_BETA3:1.7
	REL7_2_BETA2:1.7
	REL7_2_BETA1:1.7
	REL7_1_2:1.7
	REL7_1_STABLE:1.7.0.2
	REL7_1_BETA:1.6
	REL7_1_BETA3:1.6
	REL7_1_BETA2:1.6
	REL7_1:1.7;
locks; strict;
comment	@# @;


1.13
date	2006.09.05.17.20.28;	author tgl;	state dead;
branches;
next	1.12;

1.12
date	2006.07.15.03.33.14;	author tgl;	state Exp;
branches;
next	1.11;

1.11
date	2005.12.09.21.19.34;	author petere;	state Exp;
branches;
next	1.10;

1.10
date	2005.09.27.17.13.05;	author tgl;	state Exp;
branches;
next	1.9;

1.9
date	2004.08.20.20.13.05;	author momjian;	state Exp;
branches;
next	1.8;

1.8
date	2003.11.29.19.51.35;	author pgsql;	state Exp;
branches;
next	1.7;

1.7
date	2001.02.20.19.20.27;	author petere;	state Exp;
branches;
next	1.6;

1.6
date	2000.10.20.21.03.18;	author petere;	state Exp;
branches;
next	1.5;

1.5
date	2000.08.31.16.09.00;	author petere;	state Exp;
branches;
next	1.4;

1.4
date	2000.07.09.13.13.17;	author petere;	state Exp;
branches;
next	1.3;

1.3
date	2000.06.19.13.53.47;	author momjian;	state Exp;
branches;
next	1.2;

1.2
date	2000.06.16.18.58.54;	author momjian;	state Exp;
branches;
next	1.1;

1.1
date	2000.06.15.19.05.03;	author momjian;	state Exp;
branches;
next	;


desc
@@


1.13
log
@Remove contrib modules that have been migrated to pgfoundry: adddepend,
dbase, dbmirror, fulltextindex, mac, userlock; or abandoned: mSQL-interface,
tips.
@
text
@#
# $PostgreSQL: pgsql/contrib/mSQL-interface/Makefile,v 1.12 2006/07/15 03:33:14 tgl Exp $
#

MODULE_big = mpgsql
SO_MAJOR_VERSION = 0
SO_MINOR_VERSION = 0
OBJS	= mpgsql.o
DOCS = README.mpgsql

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
@


1.12
log
@Fix some makefiles that fail to yield good results from 'make -qp'.
This doesn't really matter for ordinary building of Postgres, but it's
useful for automated checks, such as my just-committed pgcheckdefines.
@
text
@d2 1
a2 1
# $PostgreSQL: pgsql/contrib/mSQL-interface/Makefile,v 1.11 2005/12/09 21:19:34 petere Exp $
@


1.11
log
@Allow installation into directories containing spaces in the name.
@
text
@d2 1
a2 1
# $PostgreSQL: pgsql/contrib/mSQL-interface/Makefile,v 1.10 2005/09/27 17:13:05 tgl Exp $
d5 1
a5 1
NAME	= mpgsql
d9 1
a21 14

all: all-lib

install: all installdirs install-lib
	$(INSTALL_DATA) $(srcdir)/README.$(NAME) '$(DESTDIR)$(docdir)/contrib'

installdirs:
	$(mkinstalldirs) $(libdir) '$(DESTDIR)$(docdir)/contrib'

uninstall: uninstall-lib
	rm -f '$(DESTDIR)$(docdir)/contrib/README.$(NAME)'

clean distclean maintainer-clean: clean-lib
	rm -f $(OBJS)
@


1.10
log
@PGXS should be set with := not =, as specified in the documentation,
to avoid useless multiple executions of pg_config.
@
text
@d2 1
a2 1
# $PostgreSQL: pgsql/contrib/mSQL-interface/Makefile,v 1.9 2004/08/20 20:13:05 momjian Exp $
d25 1
a25 1
	$(INSTALL_DATA) README.$(NAME) $(docdir)/contrib
d28 1
a28 1
	$(mkinstalldirs) $(libdir) $(docdir)/contrib
d31 1
a31 1
	rm -f $(docdir)/contrib/README.$(NAME)
@


1.9
log
@> Please find enclose a submission to fix these problems.
>
> The patch adds missing the "libpgport.a" file to the installation under
> "install-all-headers". It is needed by some contribs. I install the
> library in "pkglibdir", but I was wondering whether it should be "libdir"?
> I was wondering also whether it would make sense to have a "libpgport.so"?
>
> It fixes various macros which are used by contrib makefiles, especially
> libpq_*dir and LDFLAGS when used under PGXS. It seems to me that they are
> needed to
>
> It adds the ability to test and use PGXS with contribs, with "make
> USE_PGXS=1". Without the macro, this is exactly as before, there should be
> no difference, esp. wrt the vpath feature that seemed broken by previous
> submission. So it should not harm anybody, and it is useful at least to me.
>
> It fixes some inconsistencies in various contrib makefiles
> (useless override, ":=" instead of "=").

Fabien COELHO
@
text
@d2 1
a2 1
# $PostgreSQL: pgsql-server/contrib/mSQL-interface/Makefile,v 1.8 2003/11/29 19:51:35 pgsql Exp $
d13 1
a13 1
PGXS = $(shell pg_config --pgxs)
@


1.8
log
@
$Header: -> $PostgreSQL Changes ...
@
text
@d2 1
a2 1
# $PostgreSQL: /cvsroot/pgsql-server/contrib/mSQL-interface/Makefile,v 1.7 2001/02/20 19:20:27 petere Exp $
d5 11
d19 2
a20 9

NAME	:= mpgsql
SO_MAJOR_VERSION := 0
SO_MINOR_VERSION := 0
OBJS	:= mpgsql.o

override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS)

include $(top_srcdir)/src/Makefile.shlib
@


1.7
log
@Make sure -L and -I's for our source tree are always before system include
or library directories on the command line.
@
text
@d2 1
a2 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/contrib/mSQL-interface/Makefile,v 1.6 2000/10/20 21:03:18 petere Exp $
@


1.6
log
@Add support for VPATH builds, that is, building somewhere else than in the
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.
@
text
@d2 1
a2 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/contrib/mSQL-interface/Makefile,v 1.5 2000/08/31 16:09:00 petere Exp $
d14 1
a14 1
override CPPFLAGS += -I$(libpq_srcdir)
@


1.5
log
@Fix relative path references so that make knowns which dependencies refer
to one another. Sort out builddir vs srcdir variable namings. Remove some
now obsoleted make variables.
@
text
@d2 1
a2 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/contrib/mSQL-interface/Makefile,v 1.4 2000/07/09 13:13:17 petere Exp $
d14 1
a14 1
CFLAGS	+= -I$(libpq_srcdir)
@


1.4
log
@Another round of those unportable config/build changes :-/

* Add option to build with OpenSSL out of the box. Fix thusly exposed
  bit rot. Although it compiles now, getting this to do something
  useful is left as an exercise.

* Fix Kerberos options to defer checking for required libraries until
  all the other libraries are checked for.

* Change default odbcinst.ini and krb5.srvtab path to PREFIX/etc.

* Install work around for Autoconf's install-sh relative path anomaly.
  Get rid of old INSTL_*_OPTS variables, now that we don't need them
  anymore.

* Use `gunzip -c' instead of g?zcat. Reportedly broke on AIX.

* Look for only one of readline.h or readline/readline.h, not both.

* Make check for PS_STRINGS cacheable. Don't test for the header files
  separately.

* Disable fcntl(F_SETLK) test on Linux.

* Substitute the standard GCC warnings set into CFLAGS in configure,
  don't add it on in Makefile.global.

* Sweep through contrib tree to teach makefiles standard semantics.

... and in completely unrelated news:

* Make postmaster.opts arbitrary options-aware. I still think we need to
  save the environment as well.
@
text
@d2 1
a2 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/contrib/mSQL-interface/Makefile,v 1.3 2000/06/19 13:53:47 momjian Exp $
d7 1
a7 1
include ../../src/Makefile.global
d14 1
a14 1
CFLAGS	+= -I$(LIBPQDIR)
@


1.3
log
@Update to /contrib from Karel.
@
text
@d2 1
a2 1
# $Header$
d5 3
a7 1
TOPDIR=../..
d9 4
a12 1
include ../Makefile.global
d14 1
a14 1
NAME	= mpgsql
d16 1
a16 7
PROGRAM	= 
OBJS	= 
DOCS	= README.$(NAME) $(NAME).c
SQLS	= 
BINS    = 
EXAMPLES=
MODS	= 
d18 1
a18 1
OTHER_CLEAN = 
d20 2
a21 1
all::
d23 2
a24 1
install: install_doc
d26 2
a27 4
install_doc:
	for inst_file in $(DOCS); do \
		$(INSTALL) $(INSTL_LIB_OPTS) $$inst_file $(CONTRIB_DOCDIR); \
	done
d29 2
a30 6
clean:
	$(RM) *~ $(OBJS) $(MODS) $(PROGRAM) depend $(OTHER_CLEAN) core log

ifeq (depend,$(wildcard depend))
include depend
endif
@


1.2
log
@Cleanup README Makefile installs.
@
text
@d2 1
a2 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/contrib/mSQL-interface/Makefile,v 1.1 2000/06/15 19:05:03 momjian Exp $
d13 1
a13 1
DOCS	= README $(NAME).c
d27 1
a27 1
		$(INSTALL) $(INSTL_LIB_OPTS) $$inst_file $(CONTRIB_DOCDIR)/$(DOCS).$(NAME); \
@


1.1
log
@Add missing /contrib files to CVS.
@
text
@d2 1
a2 1
# $Header$
d13 1
a13 1
DOCS	= $(NAME).doc $(NAME).c
d27 1
a27 1
		$(INSTALL) $(INSTL_LIB_OPTS) $$inst_file $(CONTRIB_DOCDIR); \
@
