summaryrefslogtreecommitdiff
path: root/databases/postgresql73/files/GNUmakefile.libpgtcl
blob: 851138ee1e518fde6bbd2362238b65122182f2cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $NetBSD: GNUmakefile.libpgtcl,v 1.1.1.1 2004/07/24 22:14:40 recht Exp $
#
# This GNUmakefile overrides the `all' target of $(libpgtcl_srcdir)/Makefile
# to be empty if INSTALLED_LIBPGTCL is defined.  This handles the submake
# targets sprinkled throughout the PostgreSQL Makefiles that execute
#
#	@$(MAKE) -C $(libpgtcl_builddir) all
#
# to ensure that the libpgtcl libraries are built first.  If INSTALLED_LIBPGTCL
# is defined, then have the `all' target simple return success.

ifdef INSTALLED_LIBPGTCL
all:
	@test -f libpgtcl.a || touch libpgtcl.a
endif

%: force
	@$(MAKE) -f Makefile $@

force: ;