Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a4f25b6

Browse files
author
Michael Meskes
committed
Started working on a seperate pgtypes library. First test work. PLEASE test compilation on iother systems.
1 parent 48dfa0d commit a4f25b6

23 files changed

+5412
-67
lines changed

src/interfaces/ecpg/ChangeLog

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1353,6 +1353,14 @@ Tue Feb 25 16:46:27 CET 2003
13531353
- Allow SET CONNECTION to be followed by connection object without
13541354
leading "TO" or "=".
13551355
- Allow whenever statement to list function without parameters.
1356+
1357+
1358+
Sun Mar 16 11:28:01 CET 2003
1359+
1360+
- Started with a pgtypes library.
1361+
- Renamed lib directory to ecpglib.
1362+
- Added numerical functions to library and preprocessor.
13561363
- Set ecpg version to 2.12.0.
1357-
- Set library to 3.4.2.
1364+
- Set ecpg library to 3.4.2.
1365+
- Set pgtypes library to 1.0.0
13581366

src/interfaces/ecpg/Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ include $(top_builddir)/src/Makefile.global
44

55
all install installdirs uninstall dep depend distprep:
66
$(MAKE) -C include $@
7-
$(MAKE) -C lib $@
7+
$(MAKE) -C ecpglib $@
8+
$(MAKE) -C pgtypeslib $@
89
$(MAKE) -C preproc $@
910

1011
clean distclean maintainer-clean:
1112
-$(MAKE) -C include $@
12-
-$(MAKE) -C lib $@
13+
-$(MAKE) -C ecpglib $@
14+
-$(MAKE) -C pgtypeslib $@
1315
-$(MAKE) -C preproc $@
1416
-$(MAKE) -C test clean

src/interfaces/ecpg/ecpglib/Makefile

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
#-------------------------------------------------------------------------
2+
#
3+
# Makefile for ecpg library
4+
#
5+
# Copyright (c) 1994, Regents of the University of California
6+
#
7+
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.1 2003/03/16 10:42:53 meskes Exp $
8+
#
9+
#-------------------------------------------------------------------------
10+
11+
subdir = src/interfaces/ecpg/ecpglib
12+
top_builddir = ../../../..
13+
include $(top_builddir)/src/Makefile.global
14+
15+
NAME= ecpg
16+
SO_MAJOR_VERSION= 3
17+
SO_MINOR_VERSION= 4.2
18+
19+
override CPPFLAGS := -g -I$(top_srcdir)/src/interfaces/ecpg/include -I$(libpq_srcdir) $(CPPFLAGS)
20+
21+
OBJS= execute.o typename.o descriptor.o data.o error.o prepare.o memory.o \
22+
connect.o misc.o
23+
24+
SHLIB_LINK= $(libpq)
25+
26+
all: all-lib
27+
28+
# Shared library stuff
29+
include $(top_srcdir)/src/Makefile.shlib
30+
31+
install: all installdirs install-lib
32+
33+
installdirs:
34+
$(mkinstalldirs) $(DESTDIR)$(libdir)
35+
36+
uninstall: uninstall-lib
37+
38+
clean distclean maintainer-clean: clean-lib
39+
rm -f $(OBJS)
40+
41+
depend dep:
42+
$(CC) -MM $(CFLAGS) *.c >depend
43+
44+
ifeq (depend,$(wildcard depend))
45+
include depend
46+
endif

0 commit comments

Comments
 (0)