OSDN Git Service

Hi,
authorBruce Momjian <bruce@momjian.us>
Wed, 13 Oct 1999 11:38:42 +0000 (11:38 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 13 Oct 1999 11:38:42 +0000 (11:38 +0000)
I have changed a bit the makefiles for the win32 port - the *.def files
(created when building shared libraries) are now clean from
Makefile.shlib.

I have also removed "-g" from CFLAGS in the "cygwin32" template - it can
be
enabled when running configure.

                        Dan

src/Makefile.shlib
src/interfaces/ecpg/lib/Makefile.in
src/interfaces/libpq/Makefile.in
src/pl/plpgsql/src/Makefile.in
src/template/cygwin32

index 6d2a5a9..4b1beea 100644 (file)
@@ -6,7 +6,7 @@
 # Copyright (c) 1998, Regents of the University of California
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.15 1999/09/27 20:54:56 momjian Exp $
+#    $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.16 1999/10/13 11:38:34 momjian Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -274,3 +274,6 @@ endif
 
 clean-shlib:
        rm -f $(shlib) lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION) lib$(NAME)$(DLSUFFIX)
+ifeq ($(PORTNAME), win)
+       rm -rf $(NAME).def
+endif
index b636bce..406407b 100644 (file)
@@ -6,7 +6,7 @@
 # Copyright (c) 1994, Regents of the University of California
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/Makefile.in,v 1.48 1999/10/08 11:04:59 meskes Exp $
+#    $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/Makefile.in,v 1.49 1999/10/13 11:38:35 momjian Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -44,9 +44,6 @@ typename.o : typename.c ../include/ecpgtype.h
 
 clean: clean-shlib
        rm -f lib$(NAME).a $(OBJS)
-ifeq ($(PORTNAME), win)
-       rm -f $(NAME).def
-endif
 
 depend dep:
        $(CC) -MM $(CFLAGS) *.c >depend
index e67ee1d..f614c01 100644 (file)
@@ -6,7 +6,7 @@
 # Copyright (c) 1994, Regents of the University of California
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.48 1999/10/11 17:47:01 momjian Exp $
+#    $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.49 1999/10/13 11:38:37 momjian Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -88,9 +88,6 @@ install-headers: libpq-fe.h libpq-int.h
 clean: clean-shlib
        rm -f lib$(NAME).a $(OBJS)
        rm -f dllist.c common.c wchar.c conv.c big5.c
-ifeq ($(PORTNAME), win)
-       rm -f pq.def
-endif
 
 depend dep:
        $(CC) -MM $(CFLAGS) *.c >depend
index c69fdb7..2972a35 100644 (file)
@@ -4,7 +4,7 @@
 #    Makefile for the plpgsql shared object
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.17 1999/06/30 23:57:31 tgl Exp $
+#    $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.18 1999/10/13 11:38:40 momjian Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -82,6 +82,3 @@ clean: clean-shlib
        rm -f *.o pl.tab.h pl_gram.c pl_scan.c
 # And the garbage that might have been left behind by partial build:
        rm -f y.tab.c y.tab.h lex.yy.c
-ifeq ($(PORTNAME), win)
-       rm -f $(NAME).def
-endif
index 4e64378..0a5d841 100644 (file)
@@ -1,5 +1,5 @@
 AROPT:crs
-CFLAGS:-O2 -g
+CFLAGS:-O2
 SHARED_LIB:
 ALL:
 SRCH_INC:/usr/local/include