Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc3ac9f0

Browse files
committed
Hi,
I have changed a bit the makefiles for the win32 port - the *.def files(created when building shared libraries) are now clean fromMakefile.shlib.I have also removed "-g" from CFLAGS in the "cygwin32" template - it canbeenabled when running configure. Dan
1 parent8ce829e commitc3ac9f0

File tree

5 files changed

+8
-14
lines changed

5 files changed

+8
-14
lines changed

‎src/Makefile.shlib

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Copyright (c) 1998, Regents of the University of California
77
#
88
# IDENTIFICATION
9-
# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.15 1999/09/27 20:54:56 momjian Exp $
9+
# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.16 1999/10/13 11:38:34 momjian Exp $
1010
#
1111
#-------------------------------------------------------------------------
1212

@@ -274,3 +274,6 @@ endif
274274

275275
clean-shlib:
276276
rm -f $(shlib) lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION) lib$(NAME)$(DLSUFFIX)
277+
ifeq ($(PORTNAME), win)
278+
rm -rf $(NAME).def
279+
endif

‎src/interfaces/ecpg/lib/Makefile.in

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Copyright (c) 1994, Regents of the University of California
77
#
88
# IDENTIFICATION
9-
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/Makefile.in,v 1.48 1999/10/08 11:04:59 meskes Exp $
9+
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/Makefile.in,v 1.49 1999/10/13 11:38:35 momjian Exp $
1010
#
1111
#-------------------------------------------------------------------------
1212

@@ -44,9 +44,6 @@ typename.o : typename.c ../include/ecpgtype.h
4444

4545
clean: clean-shlib
4646
rm -f lib$(NAME).a$(OBJS)
47-
ifeq ($(PORTNAME), win)
48-
rm -f $(NAME).def
49-
endif
5047

5148
dependdep:
5249
$(CC) -MM$(CFLAGS)*.c>depend

‎src/interfaces/libpq/Makefile.in

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Copyright (c) 1994, Regents of the University of California
77
#
88
# IDENTIFICATION
9-
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.48 1999/10/11 17:47:01 momjian Exp $
9+
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.49 1999/10/13 11:38:37 momjian Exp $
1010
#
1111
#-------------------------------------------------------------------------
1212

@@ -88,9 +88,6 @@ install-headers: libpq-fe.h libpq-int.h
8888
clean: clean-shlib
8989
rm -f lib$(NAME).a$(OBJS)
9090
rm -f dllist.c common.c wchar.c conv.c big5.c
91-
ifeq ($(PORTNAME), win)
92-
rm -f pq.def
93-
endif
9491

9592
dependdep:
9693
$(CC) -MM$(CFLAGS)*.c>depend

‎src/pl/plpgsql/src/Makefile.in

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Makefile for the plpgsql shared object
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.17 1999/06/30 23:57:31 tgl Exp $
7+
# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.18 1999/10/13 11:38:40 momjian Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -82,6 +82,3 @@ clean: clean-shlib
8282
rm -f*.o pl.tab.h pl_gram.c pl_scan.c
8383
# And the garbage that might have been left behind by partial build:
8484
rm -f y.tab.c y.tab.h lex.yy.c
85-
ifeq ($(PORTNAME), win)
86-
rm -f $(NAME).def
87-
endif

‎src/template/cygwin32

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AROPT:crs
2-
CFLAGS:-O2 -g
2+
CFLAGS:-O2
33
SHARED_LIB:
44
ALL:
55
SRCH_INC:/usr/local/include

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp