Skip to content
Snippets Groups Projects
Select Git revision
  • 58118db39dba592fad26d781b686f0d56c1ba649
  • master default
  • benchmark-tools
  • postgres-lambda
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
24 results

explain.c

Blame
  • Makefile 719 B
    #
    # Makefile for example programs
    #
    
    SRCDIR= ../..
    include ../../Makefile.global
    
    CXXFLAGS= $(CFLAGS)
    
    INCLUDE_OPT= \
                 -I.. \
                 -I../../backend \
                 -I../../include \
                 -I$(LIBPQDIR) 
    
    CXXFLAGS+= $(INCLUDE_OPT)
    
    LD_ADD+= -L.. -lpq++ -L$(LIBPQDIR) -lpq 
    
    #
    # And where libpq goes, so goes the authentication stuff...
    #
    ifdef KRBVERS
    LD_ADD+= $(KRBLIBS)
    CXXFLAGS+= $(KRBFLAGS)
    endif
    
    PROGS= testlibpq0 testlibpq1 testlibpq2 testlibpq3 testlibpq4 testlo
    
    all: submake $(PROGS)
    
    $(PROGS): % : %.cc ../libpq++.a
    	$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $@.cc $(LD_ADD)
    
    .PHONY: submake
    submake: 
    	$(MAKE) -C.. libpq++.a
    
    ../libpq++.a:
    	$(MAKE) -C.. libpq++.a
    
    clean: 
    	rm -f $(PROGS)