File tree 3 files changed +31
-9
lines changed
3 files changed +31
-9
lines changed Original file line number Diff line number Diff line change 2
2
#
3
3
# Makefile for ecpg compatibility library
4
4
#
5
- # Copyright (c) 1994, Regents of the University of California
5
+ # Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
6
+ # Portions Copyright (c) 1994, Regents of the University of California
6
7
#
7
- # $PostgreSQL: pgsql/src/interfaces/ecpg/compatlib/Makefile,v 1.35 2007/10/04 18:32:07 tgl Exp $
8
+ # $PostgreSQL: pgsql/src/interfaces/ecpg/compatlib/Makefile,v 1.36 2007/10/05 01:51:40 tgl Exp $
8
9
#
9
10
# -------------------------------------------------------------------------
10
11
@@ -46,8 +47,12 @@ snprintf.c: % : $(top_srcdir)/src/port/%
46
47
# Since we can't assume that Windows boxes will have sed, the .DEF files are
47
48
# always built and included in distribution tarballs.
48
49
50
+ distprep : def-files
51
+
49
52
.PHONY : def-files
53
+
50
54
def-files : $(srcdir ) /libecpg_compatdll.def $(srcdir ) /blibecpg_compatdll.def
55
+
51
56
$(srcdir ) /libecpg_compatdll.def : exports.txt
52
57
echo ' ; DEF file for MS VC++' > $@
53
58
echo ' LIBRARY LIBECPG_COMPAT' >> $@
@@ -93,5 +98,8 @@ installdirs:
93
98
94
99
uninstall : uninstall-lib
95
100
96
- clean distclean maintainer-clean : clean-lib
101
+ clean distclean : clean-lib
97
102
rm -f $(OBJS ) snprintf.c exports.list
103
+
104
+ maintainer-clean : distclean
105
+ rm -f $(srcdir ) /libecpg_compatdll.def $(srcdir ) /blibecpg_compatdll.def
Original file line number Diff line number Diff line change 2
2
#
3
3
# Makefile for ecpg library
4
4
#
5
- # Copyright (c) 1994, Regents of the University of California
5
+ # Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
6
+ # Portions Copyright (c) 1994, Regents of the University of California
6
7
#
7
- # $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.52 2007/10/04 20:54:08 tgl Exp $
8
+ # $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.53 2007/10/05 01:51:40 tgl Exp $
8
9
#
9
10
# -------------------------------------------------------------------------
10
11
@@ -64,7 +65,10 @@ $(top_builddir)/src/port/pg_config_paths.h:
64
65
# Since we can't assume that Windows boxes will have sed, the .DEF files are
65
66
# always built and included in distribution tarballs.
66
67
68
+ distprep : def-files
69
+
67
70
.PHONY : def-files
71
+
68
72
def-files : $(srcdir ) /libecpgdll.def $(srcdir ) /blibecpgdll.def
69
73
70
74
$(srcdir ) /libecpgdll.def : exports.txt
@@ -112,6 +116,9 @@ installdirs:
112
116
113
117
uninstall : uninstall-lib
114
118
115
- clean distclean maintainer-clean : clean-lib
119
+ clean distclean : clean-lib
116
120
rm -f $(OBJS )
117
121
rm -f path.c pgstrcasecmp.c snprintf.c strlcpy.c thread.c exports.list
122
+
123
+ maintainer-clean : distclean
124
+ rm -f $(srcdir ) /libecpgdll.def $(srcdir ) /blibecpgdll.def
Original file line number Diff line number Diff line change 2
2
#
3
3
# Makefile for ecpg pgtypes library
4
4
#
5
- # Copyright (c) 1994, Regents of the University of California
5
+ # Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
6
+ # Portions Copyright (c) 1994, Regents of the University of California
6
7
#
7
- # $PostgreSQL: pgsql/src/interfaces/ecpg/pgtypeslib/Makefile,v 1.37 2007/10/04 18:32:07 tgl Exp $
8
+ # $PostgreSQL: pgsql/src/interfaces/ecpg/pgtypeslib/Makefile,v 1.38 2007/10/05 01:51:40 tgl Exp $
8
9
#
9
10
# -------------------------------------------------------------------------
10
11
@@ -44,7 +45,10 @@ include $(top_srcdir)/src/Makefile.shlib
44
45
# Since we can't assume that Windows boxes will have sed, the .DEF files are
45
46
# always built and included in distribution tarballs.
46
47
48
+ distprep : def-files
49
+
47
50
.PHONY : def-files
51
+
48
52
def-files : $(srcdir ) /libpgtypesdll.def $(srcdir ) /blibpgtypesdll.def
49
53
50
54
$(srcdir ) /libpgtypesdll.def : exports.txt
@@ -100,5 +104,8 @@ installdirs:
100
104
101
105
uninstall : uninstall-lib
102
106
103
- clean distclean maintainer-clean : clean-lib
107
+ clean distclean : clean-lib
104
108
rm -f $(OBJS ) pgstrcasecmp.c rint.c snprintf.c exports.list
109
+
110
+ maintainer-clean : distclean
111
+ rm -f $(srcdir ) /libpgtypesdll.def $(srcdir ) /blibpgtypesdll.def
You can’t perform that action at this time.
0 commit comments