1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150
|
################################################################################
# AUTOMATICALLY GENERATED FILE--DO NOT EDIT
#
# This file is generated automatically by libpqxx's template2mak.py script.
#
# If you modify this file, chances are your modifications will be lost because
# the file will be re-written from time to time.
#
# The template2mak.py script should be available in the tools directory of the
# libpqxx source archive.
#
# Generated from template '/home/jtv/proj/libpqxx/tags/4.0.1/win32/mingw.mak.template'.
################################################################################
# MinGW makefile for libpqxx. Don't use this; use the configure script instead!
# Based on original contributed by Pasquale Fersini <basquale.fersini@libero.it>
include win32/common
CXX = g++.exe
OBJ = \
src/binarystring.o \
src/connection.o \
src/connection_base.o \
src/cursor.o \
src/dbtransaction.o \
src/errorhandler.o \
src/except.o \
src/field.o \
src/largeobject.o \
src/nontransaction.o \
src/notification.o \
src/notify-listen.o \
src/pipeline.o \
src/prepared_statement.o \
src/result.o \
src/robusttransaction.o \
src/statement_parameters.o \
src/strconv.o \
src/subtransaction.o \
src/tablereader.o \
src/tablestream.o \
src/tablewriter.o \
src/transaction.o \
src/transaction_base.o \
src/tuple.o \
src/util.o \
LDFLAGS = -L$(LIBPQPATH) --export-all-symbols --add-stdcall-alias -fpic
LIBS = -lpq -lm -lws2_32
CPPFLAGS = -Iinclude -I$(PGSQLINC) -I$(LIBPQINC) \
-DBUILDING_DLL -DPQXX_SHARED -DPGSTD=$(STD)
BIN = libpqxx.dll
.PHONY: all clean
all: libpqxx.dll
clean:
rm -f $(OBJ) $(BIN)
DLLWRAP=dllwrap.exe
DEFFILE=libpqxx.def
STATICLIB=libpqxx.a
$(BIN): $(OBJ)
$(DLLWRAP) --output-def $(DEFFILE) --driver-name c++ --implib $(STATICLIB) $(OBJ) $(LDFLAGS) $(LIBS) -o $(BIN)
src/binarystring.o: src/binarystring.cxx
$(CXX) $(CPPFLAGS) -c src/binarystring.cxx -o src/binarystring.o $(CXXFLAGS)
src/connection.o: src/connection.cxx
$(CXX) $(CPPFLAGS) -c src/connection.cxx -o src/connection.o $(CXXFLAGS)
src/connection_base.o: src/connection_base.cxx
$(CXX) $(CPPFLAGS) -c src/connection_base.cxx -o src/connection_base.o $(CXXFLAGS)
src/cursor.o: src/cursor.cxx
$(CXX) $(CPPFLAGS) -c src/cursor.cxx -o src/cursor.o $(CXXFLAGS)
src/dbtransaction.o: src/dbtransaction.cxx
$(CXX) $(CPPFLAGS) -c src/dbtransaction.cxx -o src/dbtransaction.o $(CXXFLAGS)
src/errorhandler.o: src/errorhandler.cxx
$(CXX) $(CPPFLAGS) -c src/errorhandler.cxx -o src/errorhandler.o $(CXXFLAGS)
src/except.o: src/except.cxx
$(CXX) $(CPPFLAGS) -c src/except.cxx -o src/except.o $(CXXFLAGS)
src/field.o: src/field.cxx
$(CXX) $(CPPFLAGS) -c src/field.cxx -o src/field.o $(CXXFLAGS)
src/largeobject.o: src/largeobject.cxx
$(CXX) $(CPPFLAGS) -c src/largeobject.cxx -o src/largeobject.o $(CXXFLAGS)
src/nontransaction.o: src/nontransaction.cxx
$(CXX) $(CPPFLAGS) -c src/nontransaction.cxx -o src/nontransaction.o $(CXXFLAGS)
src/notification.o: src/notification.cxx
$(CXX) $(CPPFLAGS) -c src/notification.cxx -o src/notification.o $(CXXFLAGS)
src/notify-listen.o: src/notify-listen.cxx
$(CXX) $(CPPFLAGS) -c src/notify-listen.cxx -o src/notify-listen.o $(CXXFLAGS)
src/pipeline.o: src/pipeline.cxx
$(CXX) $(CPPFLAGS) -c src/pipeline.cxx -o src/pipeline.o $(CXXFLAGS)
src/prepared_statement.o: src/prepared_statement.cxx
$(CXX) $(CPPFLAGS) -c src/prepared_statement.cxx -o src/prepared_statement.o $(CXXFLAGS)
src/result.o: src/result.cxx
$(CXX) $(CPPFLAGS) -c src/result.cxx -o src/result.o $(CXXFLAGS)
src/robusttransaction.o: src/robusttransaction.cxx
$(CXX) $(CPPFLAGS) -c src/robusttransaction.cxx -o src/robusttransaction.o $(CXXFLAGS)
src/statement_parameters.o: src/statement_parameters.cxx
$(CXX) $(CPPFLAGS) -c src/statement_parameters.cxx -o src/statement_parameters.o $(CXXFLAGS)
src/strconv.o: src/strconv.cxx
$(CXX) $(CPPFLAGS) -c src/strconv.cxx -o src/strconv.o $(CXXFLAGS)
src/subtransaction.o: src/subtransaction.cxx
$(CXX) $(CPPFLAGS) -c src/subtransaction.cxx -o src/subtransaction.o $(CXXFLAGS)
src/tablereader.o: src/tablereader.cxx
$(CXX) $(CPPFLAGS) -c src/tablereader.cxx -o src/tablereader.o $(CXXFLAGS)
src/tablestream.o: src/tablestream.cxx
$(CXX) $(CPPFLAGS) -c src/tablestream.cxx -o src/tablestream.o $(CXXFLAGS)
src/tablewriter.o: src/tablewriter.cxx
$(CXX) $(CPPFLAGS) -c src/tablewriter.cxx -o src/tablewriter.o $(CXXFLAGS)
src/transaction.o: src/transaction.cxx
$(CXX) $(CPPFLAGS) -c src/transaction.cxx -o src/transaction.o $(CXXFLAGS)
src/transaction_base.o: src/transaction_base.cxx
$(CXX) $(CPPFLAGS) -c src/transaction_base.cxx -o src/transaction_base.o $(CXXFLAGS)
src/tuple.o: src/tuple.cxx
$(CXX) $(CPPFLAGS) -c src/tuple.cxx -o src/tuple.o $(CXXFLAGS)
src/util.o: src/util.cxx
$(CXX) $(CPPFLAGS) -c src/util.cxx -o src/util.o $(CXXFLAGS)
|