mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-10 04:47:37 +08:00
add --without-tk option to disable Tk. We don't need the AC_PATH_XTRA test because tkConfig.sh already contains all the information about how to compile and link with X. Also make sure that libpq is up to date for libpgtcl. Remove executable bits from pgaccess.sh, but add it to pgaccess.
48 lines
1016 B
Makefile
48 lines
1016 B
Makefile
#-------------------------------------------------------------------------
|
|
#
|
|
# Makefile for src/interfaces
|
|
#
|
|
# Copyright (c) 1994, Regents of the University of California
|
|
#
|
|
# $Header: /cvsroot/pgsql/src/interfaces/Makefile,v 1.43 2000/09/25 22:23:00 petere Exp $
|
|
#
|
|
#-------------------------------------------------------------------------
|
|
|
|
subdir = src/interfaces
|
|
top_builddir = ../..
|
|
include $(top_builddir)/src/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 ($(with_tcl), yes)
|
|
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
|