*** pgsql/src/Makefile.shlib 2008/12/11 07:34:07 1.119 --- pgsql/src/Makefile.shlib 2009/01/05 09:27:19 1.120 *************** *** 6,12 **** # Copyright (c) 1998, Regents of the University of California # # IDENTIFICATION ! # $PostgreSQL: pgsql/src/Makefile.shlib,v 1.118 2008/11/24 11:59:37 petere Exp $ # #------------------------------------------------------------------------- --- 6,12 ---- # Copyright (c) 1998, Regents of the University of California # # IDENTIFICATION ! # $PostgreSQL: pgsql/src/Makefile.shlib,v 1.119 2008/12/11 07:34:07 petere Exp $ # #------------------------------------------------------------------------- *************** else # PORTNAME == cygwin || PORTNAME == *** 406,420 **** # Cygwin or Win32 case - DLL_DEFFILE = lib$(NAME)dll.def - # If SHLIB_EXPORTS is set, the rules below will build a .def file from # that. Else we build a temporary one here. ifeq (,$(SHLIB_EXPORTS)) exports_file = $(DLL_DEFFILE) $(exports_file): $(OBJS) $(DLLTOOL) --export-all $(DLLTOOL_DEFFLAGS) --output-def $@ $^ endif $(shlib): $(OBJS) $(DLL_DEFFILE) --- 406,421 ---- # Cygwin or Win32 case # If SHLIB_EXPORTS is set, the rules below will build a .def file from # that. Else we build a temporary one here. ifeq (,$(SHLIB_EXPORTS)) + DLL_DEFFILE = lib$(NAME)dll.def exports_file = $(DLL_DEFFILE) $(exports_file): $(OBJS) $(DLLTOOL) --export-all $(DLLTOOL_DEFFLAGS) --output-def $@ $^ + else + DLL_DEFFILE = $(srcdir)/lib$(NAME)dll.def endif $(shlib): $(OBJS) $(DLL_DEFFILE)