2000-06-28 20:30:16 +02:00
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Makefile for src/interfaces
|
|
|
|
#
|
|
|
|
# Copyright (c) 1994, Regents of the University of California
|
|
|
|
#
|
2000-09-26 00:23:01 +02:00
|
|
|
# $Header: /cvsroot/pgsql/src/interfaces/Makefile,v 1.43 2000/09/25 22:23:00 petere Exp $
|
2000-06-28 20:30:16 +02:00
|
|
|
#
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
|
|
|
subdir = src/interfaces
|
|
|
|
top_builddir = ../..
|
2000-08-31 18:12:35 +02:00
|
|
|
include $(top_builddir)/src/Makefile.global
|
2000-06-28 20:30:16 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2000-09-26 00:23:01 +02:00
|
|
|
ifeq ($(with_tcl), yes)
|
2000-06-28 20:30:16 +02:00
|
|
|
DIRS += libpgtcl
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(with_perl), yes)
|
|
|
|
DIRS += perl5
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(with_python), yes)
|
|
|
|
DIRS += python
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
2000-07-19 18:30:27 +02:00
|
|
|
all install installdirs uninstall dep depend distprep:
|
|
|
|
@for dir in $(DIRS); do $(MAKE) -C $$dir $@ || exit; done
|
2000-06-28 20:30:16 +02:00
|
|
|
|
|
|
|
clean:
|
|
|
|
@for dir in $(DIRS); do $(MAKE) -C $$dir $@; done
|
|
|
|
|
|
|
|
distclean maintainer-clean: clean
|
|
|
|
@for dir in $(ALLDIRS); do $(MAKE) -C $$dir $@; done
|