Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / databases / postgresql83 / files / GNUmakefile.libpq
blobe9496d173dd61868c537d227672daba401fcb9f5
1 # $NetBSD: GNUmakefile.libpq,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $
3 # This GNUmakefile overrides the `all' target of $(libpq_srcdir)/Makefile
4 # to be empty if INSTALLED_LIBPQ is defined.  This handles the submake
5 # targets sprinkled throughout the PostgreSQL Makefiles that execute
7 #       @$(MAKE) -C $(libpq_builddir) all
9 # to ensure that the libpq libraries are built first.  If INSTALLED_LIBPQ
10 # is defined, then have the `all' target simple return success.
12 ifdef INSTALLED_LIBPQ
13 all:
14         @test -f libpq.a || touch libpq.a
15 endif
17 %: force
18         @$(MAKE) -f Makefile $@
20 force: ;