mirror of
https://github.com/postgres/postgres.git
synced 2026-05-28 11:35:13 -04:00
32163099d7
The latter updated accordingly. Also add `dist' and `distcheck' targets to play with, but caveat packager. Updated backend/bootstrap and backend/parser makefile to make them marginally builddir aware and fix the usual set of things. Add rule to automatically remake config.h dependent on config.h.in and config.status. (Adopted from Autoconf manual and about every other package.) On a good day we should now have a complete and accurate set of dependencies throughout everything.
48 lines
999 B
Makefile
48 lines
999 B
Makefile
#-------------------------------------------------------------------------
|
|
#
|
|
# Makefile for src/interfaces
|
|
#
|
|
# Copyright (c) 1994, Regents of the University of California
|
|
#
|
|
# $Header: /cvsroot/pgsql/src/interfaces/Makefile,v 1.41 2000/07/19 16:30:06 petere Exp $
|
|
#
|
|
#-------------------------------------------------------------------------
|
|
|
|
subdir = src/interfaces
|
|
top_builddir = ../..
|
|
include ../Makefile.global
|
|
|
|
DIRS := libpq ecpg libpgeasy
|
|
|
|
ALLDIRS := $(DIRS) odbc libpq++ libpgtcl perl5 python
|
|
|
|
ifeq ($(enable_odbc), yes)
|
|
DIRS += odbc
|
|
endif
|
|
|
|
ifeq ($(with_CXX), yes)
|
|
DIRS += libpq++
|
|
endif
|
|
|
|
ifeq ($(USE_TCL), true)
|
|
DIRS += libpgtcl
|
|
endif
|
|
|
|
ifeq ($(with_perl), yes)
|
|
DIRS += perl5
|
|
endif
|
|
|
|
ifeq ($(with_python), yes)
|
|
DIRS += python
|
|
endif
|
|
|
|
|
|
all install installdirs uninstall dep depend distprep:
|
|
@for dir in $(DIRS); do $(MAKE) -C $$dir $@ || exit; done
|
|
|
|
clean:
|
|
@for dir in $(DIRS); do $(MAKE) -C $$dir $@; done
|
|
|
|
distclean maintainer-clean: clean
|
|
@for dir in $(ALLDIRS); do $(MAKE) -C $$dir $@; done
|