Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
5061c23a
Commit
5061c23a
authored
Nov 04, 1996
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename CDEBUG to COPT
parent
de3286ce
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
20 deletions
+20
-20
src/Makefile.global
src/Makefile.global
+7
-7
src/bin/pgtclsh/Makefile
src/bin/pgtclsh/Makefile
+3
-3
src/interfaces/libpq++/examples/Makefile
src/interfaces/libpq++/examples/Makefile
+6
-6
src/test/examples/Makefile
src/test/examples/Makefile
+4
-4
No files found.
src/Makefile.global
View file @
5061c23a
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
#
#
#
#
# IDENTIFICATION
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.5
3 1996/11/04 05:01:47
momjian Exp $
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.5
4 1996/11/04 05:14:16
momjian Exp $
#
#
# NOTES
# NOTES
# This is seen by any Makefiles that include mk/postgres.mk. To
# This is seen by any Makefiles that include mk/postgres.mk. To
...
@@ -144,8 +144,8 @@ OIDNAMELEN = 36
...
@@ -144,8 +144,8 @@ OIDNAMELEN = 36
# Compile libpq++
# Compile libpq++
#HAVE_Cplusplus= true
#HAVE_Cplusplus= true
# Set C
DEBUG
to -O for optimization, or -g for debuggable binaries
# Set C
OPT
to -O for optimization, or -g for debuggable binaries
C
DEBUG
=
-O
C
OPT
=
-O
# Commenting out CASSERT will make things go a LOT faster, but you will
# Commenting out CASSERT will make things go a LOT faster, but you will
# also loose a lot of useful error-checking.
# also loose a lot of useful error-checking.
...
@@ -856,7 +856,7 @@ includedir= $(HEADERDIR)
...
@@ -856,7 +856,7 @@ includedir= $(HEADERDIR)
# This goes here so that customization in Makefile.custom is effective
# This goes here so that customization in Makefile.custom is effective
##############################################################################
##############################################################################
#
#
# Flags for CC and LD. (depend on C
DEBUG
and PROFILE)
# Flags for CC and LD. (depend on C
OPT
and PROFILE)
#
#
# PostgreSQL should *always* compile with -Wall -Werror enabled
# PostgreSQL should *always* compile with -Wall -Werror enabled
CFLAGS
+=
-Wall
-Werror
CFLAGS
+=
-Wall
-Werror
...
@@ -865,9 +865,9 @@ CFLAGS+= -Wall -Werror
...
@@ -865,9 +865,9 @@ CFLAGS+= -Wall -Werror
# on the options selected above.
# on the options selected above.
ifdef
C
DEBUG
ifdef
C
OPT
CFLAGS
+=
$(C
DEBUG
)
CFLAGS
+=
$(C
OPT
)
LDFLAGS
+=
$(C
DEBUG
)
LDFLAGS
+=
$(C
OPT
)
else
else
ifndef
CFLAGS_OPT
ifndef
CFLAGS_OPT
CFLAGS_OPT
=
-O
CFLAGS_OPT
=
-O
...
...
src/bin/pgtclsh/Makefile
View file @
5061c23a
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
#
#
#
#
# IDENTIFICATION
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/pgtclsh/Attic/Makefile,v 1.
2 1996/07/23 03:03:36 scrappy
Exp $
# $Header: /cvsroot/pgsql/src/bin/pgtclsh/Attic/Makefile,v 1.
3 1996/11/04 05:14:34 momjian
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -21,11 +21,11 @@ CFLAGS+= -I$(TCL_INCDIR) -I$(TK_INCDIR) -I$(X11_INCDIR) -I$(srcdir)/libpgtcl
...
@@ -21,11 +21,11 @@ CFLAGS+= -I$(TCL_INCDIR) -I$(TK_INCDIR) -I$(X11_INCDIR) -I$(srcdir)/libpgtcl
LIBPGTCL
=
-L
$(srcdir)
/libpgtcl/
$(objdir)
-L
$(LIBDIR)
-lpgtcl
LIBPGTCL
=
-L
$(srcdir)
/libpgtcl/
$(objdir)
-L
$(LIBDIR)
-lpgtcl
pgtclsh
:
$(objdir)/pgtclAppInit.o
pgtclsh
:
$(objdir)/pgtclAppInit.o
$(CC)
$(C
DEBUG
)
-o
$(objdir)
/
$
(
@F
)
$(objdir)
/pgtclAppInit.o
\
$(CC)
$(C
FLAGS
)
-o
$(objdir)
/
$
(
@F
)
$(objdir)
/pgtclAppInit.o
\
$(LIBPGTCL)
$(LIBPQ)
-L
$(TCL_LIBDIR)
$(TCL_LIB)
-lm
$(LD_ADD)
$(LIBPGTCL)
$(LIBPQ)
-L
$(TCL_LIBDIR)
$(TCL_LIB)
-lm
$(LD_ADD)
pgtksh
:
$(objdir)/pgtkAppInit.o
pgtksh
:
$(objdir)/pgtkAppInit.o
$(CC)
$(C
DEBUG
)
-o
$(objdir)
/
$
(
@F
)
$(objdir)
/pgtkAppInit.o
\
$(CC)
$(C
FLAGS
)
-o
$(objdir)
/
$
(
@F
)
$(objdir)
/pgtkAppInit.o
\
$(LIBPGTCL)
$(LIBPQ)
-L
$(TCL_LIBDIR)
-L
$(TK_LIBDIR)
-L
$(X11_LIBDIR)
\
$(LIBPGTCL)
$(LIBPQ)
-L
$(TCL_LIBDIR)
-L
$(TK_LIBDIR)
-L
$(X11_LIBDIR)
\
$(TK_LIB)
$(TCL_LIB)
-lX11
-lm
$(LD_ADD)
$(TK_LIB)
$(TCL_LIB)
-lX11
-lm
$(LD_ADD)
...
...
src/interfaces/libpq++/examples/Makefile
View file @
5061c23a
...
@@ -24,37 +24,37 @@ P0_PROG:= testlibpq0
...
@@ -24,37 +24,37 @@ P0_PROG:= testlibpq0
P0_OBJS
:=
testlibpq0.o
P0_OBJS
:=
testlibpq0.o
$(P0_PROG)
:
$(addprefix $(objdir)/
,
$(P0_OBJS))
$(P0_PROG)
:
$(addprefix $(objdir)/
,
$(P0_OBJS))
$(CXX)
$(C
DEBUG
)
-o
$(objdir)
/
$
(
@F
)
$<
$(LD_ADD)
$(CXX)
$(C
FLAGS
)
-o
$(objdir)
/
$
(
@F
)
$<
$(LD_ADD)
P1_PROG
:=
testlibpq1
P1_PROG
:=
testlibpq1
P1_OBJS
:=
testlibpq1.o
P1_OBJS
:=
testlibpq1.o
$(P1_PROG)
:
$(addprefix $(objdir)/
,
$(P1_OBJS))
$(P1_PROG)
:
$(addprefix $(objdir)/
,
$(P1_OBJS))
$(CXX)
$(C
DEBUG
)
-o
$(objdir)
/
$
(
@F
)
$<
$(LD_ADD)
$(CXX)
$(C
FLAGS
)
-o
$(objdir)
/
$
(
@F
)
$<
$(LD_ADD)
P2_PROG
:=
testlibpq2
P2_PROG
:=
testlibpq2
P2_OBJS
:=
testlibpq2.o
P2_OBJS
:=
testlibpq2.o
$(P2_PROG)
:
$(addprefix $(objdir)/
,
$(P2_OBJS))
$(P2_PROG)
:
$(addprefix $(objdir)/
,
$(P2_OBJS))
$(CXX)
$(C
DEBUG
)
-o
$(objdir)
/
$
(
@F
)
$<
$(LD_ADD)
$(CXX)
$(C
FLAGS
)
-o
$(objdir)
/
$
(
@F
)
$<
$(LD_ADD)
P3_PROG
:=
testlibpq3
P3_PROG
:=
testlibpq3
P3_OBJS
:=
testlibpq3.o
P3_OBJS
:=
testlibpq3.o
$(P3_PROG)
:
$(addprefix $(objdir)/
,
$(P3_OBJS))
$(P3_PROG)
:
$(addprefix $(objdir)/
,
$(P3_OBJS))
$(CXX)
$(C
DEBUG
)
-o
$(objdir)
/
$
(
@F
)
$<
$(LD_ADD)
$(CXX)
$(C
FLAGS
)
-o
$(objdir)
/
$
(
@F
)
$<
$(LD_ADD)
P4_PROG
:=
testlibpq4
P4_PROG
:=
testlibpq4
P4_OBJS
:=
testlibpq4.o
P4_OBJS
:=
testlibpq4.o
$(P4_PROG)
:
$(addprefix $(objdir)/
,
$(P4_OBJS))
$(P4_PROG)
:
$(addprefix $(objdir)/
,
$(P4_OBJS))
$(CXX)
$(C
DEBUG
)
-o
$(objdir)
/
$
(
@F
)
$<
$(LD_ADD)
$(CXX)
$(C
FLAGS
)
-o
$(objdir)
/
$
(
@F
)
$<
$(LD_ADD)
P5_PROG
:=
testlo
P5_PROG
:=
testlo
P5_OBJS
:=
testlo.o
P5_OBJS
:=
testlo.o
$(P5_PROG)
:
$(addprefix $(objdir)/
,
$(P5_OBJS))
$(P5_PROG)
:
$(addprefix $(objdir)/
,
$(P5_OBJS))
$(CXX)
$(C
DEBUG
)
-o
$(objdir)
/
$
(
@F
)
$<
$(LD_ADD)
$(CXX)
$(C
FLAGS
)
-o
$(objdir)
/
$
(
@F
)
$<
$(LD_ADD)
OBJS
:=
$(P0_OBJS)
$(P1_OBJS)
$(P2_OBJS)
$(P3_OBJS)
$(P4_OBJS)
$(P5_OBJS)
OBJS
:=
$(P0_OBJS)
$(P1_OBJS)
$(P2_OBJS)
$(P3_OBJS)
$(P4_OBJS)
$(P5_OBJS)
PROGS
:=
$(P0_PROG)
$(P1_PROG)
$(P2_PROG)
$(P3_PROG)
$(P4_PROG)
$(P5_PROG)
PROGS
:=
$(P0_PROG)
$(P1_PROG)
$(P2_PROG)
$(P3_PROG)
$(P4_PROG)
$(P5_PROG)
...
...
src/test/examples/Makefile
View file @
5061c23a
...
@@ -23,26 +23,26 @@ P1_PROG:= testlibpq
...
@@ -23,26 +23,26 @@ P1_PROG:= testlibpq
P1_OBJS
:=
testlibpq.o
P1_OBJS
:=
testlibpq.o
$(P1_PROG)
:
$(addprefix $(objdir)/
,
$(P1_OBJS))
$(P1_PROG)
:
$(addprefix $(objdir)/
,
$(P1_OBJS))
$(CC)
$(C
DEBUG
)
-o
$(objdir)
/
$
(
@F
)
$<
$(LD_ADD)
$(CC)
$(C
FLAGS
)
-o
$(objdir)
/
$
(
@F
)
$<
$(LD_ADD)
P2_PROG
:=
testlibpq2
P2_PROG
:=
testlibpq2
P2_OBJS
:=
testlibpq2.o
P2_OBJS
:=
testlibpq2.o
$(P2_PROG)
:
$(addprefix $(objdir)/
,
$(P2_OBJS))
$(P2_PROG)
:
$(addprefix $(objdir)/
,
$(P2_OBJS))
$(CC)
$(C
DEBUG
)
-o
$(objdir)
/
$
(
@F
)
$<
$(LD_ADD)
$(CC)
$(C
FLAGS
)
-o
$(objdir)
/
$
(
@F
)
$<
$(LD_ADD)
P3_PROG
:=
testlibpq3
P3_PROG
:=
testlibpq3
P3_OBJS
:=
testlibpq3.o
P3_OBJS
:=
testlibpq3.o
$(P3_PROG)
:
$(addprefix $(objdir)/
,
$(P3_OBJS))
$(P3_PROG)
:
$(addprefix $(objdir)/
,
$(P3_OBJS))
$(CC)
$(C
DEBUG
)
-o
$(objdir)
/
$
(
@F
)
$<
$(LD_ADD)
$(CC)
$(C
FLAGS
)
-o
$(objdir)
/
$
(
@F
)
$<
$(LD_ADD)
P4_PROG
:=
testlo
P4_PROG
:=
testlo
P4_OBJS
:=
testlo.o
P4_OBJS
:=
testlo.o
$(P4_PROG)
:
$(addprefix $(objdir)/
,
$(P4_OBJS))
$(P4_PROG)
:
$(addprefix $(objdir)/
,
$(P4_OBJS))
$(CC)
$(C
DEBUG
)
-o
$(objdir)
/
$
(
@F
)
$<
$(LD_ADD)
$(CC)
$(C
FLAGS
)
-o
$(objdir)
/
$
(
@F
)
$<
$(LD_ADD)
OBJS
:=
$(P1_OBJS)
$(P2_OBJS)
$(P3_OBJS)
$(P4_OBJS)
OBJS
:=
$(P1_OBJS)
$(P2_OBJS)
$(P3_OBJS)
$(P4_OBJS)
PROGS
:=
$(P1_PROG)
$(P2_PROG)
$(P3_PROG)
$(P4_PROG)
PROGS
:=
$(P1_PROG)
$(P2_PROG)
$(P3_PROG)
$(P4_PROG)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment