File: common-sample

package info (click to toggle)
libpqxx 4.0.1%2Bdfsg3-8
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 16,012 kB
  • ctags: 9,469
  • sloc: sh: 11,289; cpp: 10,801; xml: 1,256; makefile: 287; ansic: 195; python: 159
file content (102 lines) | stat: -rw-r--r-- 3,852 bytes parent folder | download | duplicates (2)
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
# Common options for Visual C++ makefiles to build libpqxx and its regression
# test.
# THE ORIGINAL OF THIS FILE IS CALLED common-sample; DON'T EDIT THE ORIGINAL or
# you may lose your changes when you upgrade your libpqxx sources.
# Instead, copy "common-sample" to "common" and edit just the file "common".

# Caution: on Windows, some environments, such as the "make" that comes with
# Visual C++, expect you to use backslashes as path separators (for example,
# "C:\src\libpqxx") whereas others like MinGW want you to use more conventional
# slashes (as in "C:/src/libpqxx").

# Standard library namespace.
# There are only two reasons why you might want to change this:
#
# 1. Your compiler doesn't define the standard library in the "std" namespace
# but in the global namespace, in which case PGSTD should be the empty string.
# However, a compiler with that problem is not likely to be good enough to
# compile libpqxx.
#
# 2. You are using a third-party standard library implementation such as
# STLport, which lives in another namespace to avoid clashes with the
# implementation that came with the compiler.
#
# In the latter case, PGSTD must be set to the namespace used by your preferred
# implementation.  In all other cases, just leave this set to "std".

STD="std"

# If you are using a 3rd-party STL like STLport, remember to check your path
# and be sure the STLport is included before the MSVC includes. VCVARS32.BAT
# doesn't know anything about the directories as defined in the IDE. I use
#
# set INCLUDE=\Utility\Code\STLport-4.5\stlport;%INCLUDE%
#
# ...and set STD to "_STL".

# Depending on your STL library min/max need to be defined.  Using STLport
# there is no need for libpqxx to redefine these for me.

# The next line gives us the directory under which all PostgreSQL include
# directories, DLLs and LIB files can be found.
#
# If you built PostgreSQL from source, this is probably the only line you
# will need to change.
#
# If you installed PostgreSQL using the One Click Installer from EnterpriseDB,
# comment out the following line and uncomment the line after it.
#
# Edit the appropriate line to match your specific installation.

PGSQLSRC="C:\Sources\postgresql-9.1.1\src"

#PGSQLSRC="C:\Program Files\PostgreSQL\9.1"

# This is the directory where the Postgres header files, e.g. postgres_ext.h,
# are found.

PGSQLINC=$(PGSQLSRC)\include

# This is the directory where the libpq header files, e.g. libpq-fe.h,
# are found.  If you used the One Click Installer, comment out the next line
# and uncomment the one following it:

LIBPQINC=$(PGSQLSRC)\interfaces\libpq

#LIBPQINC=$(PGSQLSRC)\include

# This is the directory where the release build of the libpq DLL
# and its corresponding LIB file are found, as well as the names of
# those two files.
#
# If you installed PostgreSQL using the One Click Installer from EnterpriseDB,
# comment out the next three lines and uncomment the following three:

LIBPQPATH=$(PGSQLSRC)\interfaces\libpq\Release
LIBPQDLL=libpq.dll
LIBPQLIB=libpqdll.lib

#LIBPQPATH=$(PGSQLSRC)\lib
#LIBPQDLL=libpq.dll
#LIBPQLIB=libpq.lib

# This is the directory where the debug build of the libpq DLL
# and its corresponding LIB file are found, as well as the names of
# those two files.
#
# NOTE: If you don't have access to a debug build of libpq, just
# provide the same information as above here. The debug builds of
# libpqxx will reference the release version of libpq, which will
# only limit your ability to debug libpq sources but otherwise should
# work just fine.
#
# If you installed PostgreSQL using the One Click Installer from EnterpriseDB,
# comment out the next three lines and uncomment the following three.

LIBPQDPATH=$(PGSQLSRC)\interfaces\libpq\Debug
LIBPQDDLL=libpqd.dll
LIBPQDLIB=libpqddll.lib

#LIBPQDPATH=$(PGSQLSRC)\lib
#LIBPQDDLL=libpq.dll
#LIBPQDLIB=libpq.lib