Thread

  1. libpgtcl

    Rudolf Weber <rfweber@bluewin.de> — 2000-06-06T17:28:29Z

    Hello,
    
    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
    --
    ---------------------------------------------------------------
    Rudolf Weber
    http://www.infnet.verein.de/home/rw 
    E-Mail: rfweber@bluewin.de
  2. Re: libpgtcl

    Bruce Momjian <pgman@candle.pha.pa.us> — 2000-06-13T09:15:20Z

    Applied.
    
    
    > Hello,
    > 
    > 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
    > --
    > ---------------------------------------------------------------
    > Rudolf Weber
    > http://www.infnet.verein.de/home/rw 
    > E-Mail: rfweber@bluewin.de
    
    > --- ./src/interfaces/libpgtcl/mkMakefile.tcldefs.sh.in.orig	Tue Jun  6 01:03:10 2000
    > +++ ./src/interfaces/libpgtcl/mkMakefile.tcldefs.sh.in	Tue Jun  6 01:02:19 2000
    > @@ -0,0 +1,16 @@
    > +
    > +if [ ! -f @TCL_CONFIG_SH@ ]; then
    > +    echo "@TCL_CONFIG_SH@ not found"
    > +    echo "I need this file! Please make a symbolic link to this file"
    > +    echo "and start make again."
    > +    exit 1
    > +fi
    > +
    > +cat @TCL_CONFIG_SH@ |
    > +    egrep '^TCL_' |
    > +    while read inp
    > +    do
    > +	    eval eval echo $inp
    > +    done >Makefile.tcldefs
    > +
    > +exit 0
    > --- ./src/interfaces/libpgtcl/mkMakefile.tkdefs.sh.in.orig	Tue Jun  6 01:03:21 2000
    > +++ ./src/interfaces/libpgtcl/mkMakefile.tkdefs.sh.in	Tue Jun  6 01:02:19 2000
    > @@ -0,0 +1,18 @@
    > +
    > +if [ ! -f @TK_CONFIG_SH@ ]; then
    > +    echo "@TK_CONFIG_SH@ not found"
    > +    echo "I need this file! Please make a symbolic link to this file"
    > +    echo "and start make again."
    > +    exit 1
    > +fi
    > +
    > +. @TK_CONFIG_SH@
    > +
    > +cat @TK_CONFIG_SH@ |
    > +    egrep '^TK_' |
    > +    while read inp
    > +    do
    > +	    eval eval echo $inp
    > +    done >Makefile.tkdefs
    > +
    > +exit 0
    > --- ./src/interfaces/libpgtcl/Makefile.in.orig	Wed Mar  8 02:58:36 2000
    > +++ ./src/interfaces/libpgtcl/Makefile.in	Tue Jun  6 01:22:46 2000
    > @@ -17,6 +17,14 @@
    >  SRCDIR= @top_srcdir@
    >  include $(SRCDIR)/Makefile.global
    >  
    > +#
    > +# Include definitions from the tclConfig.sh file
    > +#
    > +include Makefile.tcldefs
    > +ifeq ($(USE_TK), true)
    > +include Makefile.tkdefs
    > +endif
    > +
    >  CFLAGS+= -I$(SRCDIR)/backend \
    >           -I$(SRCDIR)/include \
    >           -I$(LIBPQDIR)
    > @@ -48,6 +56,11 @@
    >  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
    >  
    > --- ./src/configure.in.orig	Thu May 25 00:43:59 2000
    > +++ ./src/configure.in	Tue Jun  6 01:16:10 2000
    > @@ -1371,6 +1371,8 @@
    >  	interfaces/ecpg/preproc/Makefile
    >  	interfaces/libpq++/Makefile
    >  	interfaces/libpgeasy/Makefile
    > +	interfaces/libpgtcl/mkMakefile.tcldefs.sh
    > +	interfaces/libpgtcl/mkMakefile.tkdefs.sh
    >  	interfaces/libpgtcl/Makefile
    >  	interfaces/odbc/GNUmakefile
    >  	interfaces/odbc/Makefile.global
    
    
    -- 
      Bruce Momjian                        |  http://www.op.net/~candle
      pgman@candle.pha.pa.us               |  (610) 853-3000
      +  If your life is a hard drive,     |  830 Blythe Avenue
      +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026