mirror of
https://github.com/postgres/postgres.git
synced 2025-06-25 01:02:05 +03:00
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
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user