1515# for use only by the backend binaries
1616#
1717# LIBOBJS is set by configure (via Makefile.global) to be the list of
18- # object files that are conditionally neededdepending on platform .
18+ # object files that are conditionally neededas determined by configure's probing .
1919# OBJS adds additional object files that are always compiled.
2020#
2121# IDENTIFICATION
22- # $PostgreSQL: pgsql/src/port/Makefile,v 1.36 2008/02/18 14:51:48 petere Exp $
22+ # $PostgreSQL: pgsql/src/port/Makefile,v 1.37 2008/11/25 18:19:31 tgl Exp $
2323#
2424# -------------------------------------------------------------------------
2525
@@ -30,7 +30,11 @@ include $(top_builddir)/src/Makefile.global
3030override CPPFLAGS := -I$(top_builddir ) /src/port -DFRONTEND$(CPPFLAGS )
3131LIBS +=$(PTHREAD_LIBS )
3232
33- OBJS =$(LIBOBJS ) chklocale.o copydir.o dirmod.o exec.o noblock.o path.o pipe.o pgsleep.o pgstrcasecmp.o qsort.o qsort_arg.o sprompt.o thread.o
33+ OBJS =$(LIBOBJS ) chklocale.o copydir.o dirmod.o exec.o noblock.o path.o\
34+ pgsleep.o pgstrcasecmp.o qsort.o qsort_arg.o sprompt.o thread.o
35+ ifneq (,$(filter $(PORTNAME ) ,cygwin win32) )
36+ OBJS += pipe.o
37+ endif
3438
3539# foo_srv.o and foo.o are both built from foo.c, but only foo.o has -DFRONTEND
3640OBJS_SRV =$(OBJS:%.o=%_srv.o )