Hi,
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
This commit is contained in:
parent
8ce829ea6a
commit
c3ac9f07b7
@ -6,7 +6,7 @@
|
|||||||
# Copyright (c) 1998, Regents of the University of California
|
# Copyright (c) 1998, Regents of the University of California
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# 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:
|
clean-shlib:
|
||||||
rm -f $(shlib) lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION) lib$(NAME)$(DLSUFFIX)
|
rm -f $(shlib) lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION) lib$(NAME)$(DLSUFFIX)
|
||||||
|
ifeq ($(PORTNAME), win)
|
||||||
|
rm -rf $(NAME).def
|
||||||
|
endif
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
# Copyright (c) 1994, Regents of the University of California
|
# Copyright (c) 1994, Regents of the University of California
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# 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
|
clean: clean-shlib
|
||||||
rm -f lib$(NAME).a $(OBJS)
|
rm -f lib$(NAME).a $(OBJS)
|
||||||
ifeq ($(PORTNAME), win)
|
|
||||||
rm -f $(NAME).def
|
|
||||||
endif
|
|
||||||
|
|
||||||
depend dep:
|
depend dep:
|
||||||
$(CC) -MM $(CFLAGS) *.c >depend
|
$(CC) -MM $(CFLAGS) *.c >depend
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
# Copyright (c) 1994, Regents of the University of California
|
# Copyright (c) 1994, Regents of the University of California
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# 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
|
clean: clean-shlib
|
||||||
rm -f lib$(NAME).a $(OBJS)
|
rm -f lib$(NAME).a $(OBJS)
|
||||||
rm -f dllist.c common.c wchar.c conv.c big5.c
|
rm -f dllist.c common.c wchar.c conv.c big5.c
|
||||||
ifeq ($(PORTNAME), win)
|
|
||||||
rm -f pq.def
|
|
||||||
endif
|
|
||||||
|
|
||||||
depend dep:
|
depend dep:
|
||||||
$(CC) -MM $(CFLAGS) *.c >depend
|
$(CC) -MM $(CFLAGS) *.c >depend
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
# Makefile for the plpgsql shared object
|
# Makefile for the plpgsql shared object
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# 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
|
rm -f *.o pl.tab.h pl_gram.c pl_scan.c
|
||||||
# And the garbage that might have been left behind by partial build:
|
# And the garbage that might have been left behind by partial build:
|
||||||
rm -f y.tab.c y.tab.h lex.yy.c
|
rm -f y.tab.c y.tab.h lex.yy.c
|
||||||
ifeq ($(PORTNAME), win)
|
|
||||||
rm -f $(NAME).def
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
AROPT:crs
|
AROPT:crs
|
||||||
CFLAGS:-O2 -g
|
CFLAGS:-O2
|
||||||
SHARED_LIB:
|
SHARED_LIB:
|
||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:/usr/local/include
|
SRCH_INC:/usr/local/include
|
||||||
|
Loading…
x
Reference in New Issue
Block a user