Commit 81fa9e0e authored by Bruce Momjian's avatar Bruce Momjian

in the Directory src/bin/pgtclsh there is a good mechanism to integrate

the
tcl-spec in the Makefile.
The patch in the attachemant does this in the src/interfaces/libpgtcl
too

Thank you
 Rudolf Weber
parent 37ce95c4
......@@ -1312,6 +1312,8 @@ AC_OUTPUT(
src/interfaces/libpq++/Makefile
src/interfaces/libpgeasy/Makefile
src/interfaces/libpgtcl/Makefile
src/interfaces/libpgtcl/mkMakefile.tcldefs.sh
src/interfaces/libpgtcl/mkMakefile.tkdefs.sh
src/interfaces/odbc/GNUmakefile
src/interfaces/odbc/Makefile.global
src/interfaces/python/GNUmakefile
......
This diff is collapsed.
......@@ -6,7 +6,7 @@
# Copyright (c) 1994, Regents of the University of California
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.41 2000/06/06 22:01:01 petere Exp $
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.42 2000/06/13 09:16:39 momjian Exp $
#
#-------------------------------------------------------------------------
......@@ -19,6 +19,14 @@ include $(SRCDIR)/Makefile.global
CFLAGS+= -I$(LIBPQDIR)
#
# Include definitions from the tclConfig.sh file
#
include Makefile.tcldefs
ifeq ($(USE_TK), true)
include Makefile.tkdefs
endif
ifdef KRBVERS
CFLAGS+= $(KRBFLAGS)
endif
......@@ -46,6 +54,11 @@ install-headers: beforeinstall-headers libpgtcl.h
beforeinstall-headers:
-@if [ ! -d $(HEADERDIR) ]; then mkdir $(HEADERDIR); fi
Makefile.tcldefs: mkMakefile.tcldefs.sh
/bin/sh mkMakefile.tcldefs.sh
Makefile.tkdefs: mkMakefile.tkdefs.sh
/bin/sh mkMakefile.tkdefs.sh
.PHONY: clean
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment