6
6
# Copyright (c) 1998, Regents of the University of California
7
7
#
8
8
# IDENTIFICATION
9
- # $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.66 2003/01/11 17:22:19 tgl Exp $
9
+ # $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.67 2003/03/21 17:18:34 petere Exp $
10
10
#
11
11
#-------------------------------------------------------------------------
12
12
@@ -194,7 +194,7 @@ ifeq ($(PORTNAME), unixware)
194
194
LINK.shared += -Wl,-z,text -Wl,-h,$(soname)
195
195
endif
196
196
197
- ifeq ($(PORTNAME), win )
197
+ ifeq ($(PORTNAME), cygwin )
198
198
shlib := $(NAME)$(DLSUFFIX)
199
199
endif
200
200
@@ -225,7 +225,7 @@ all-static-lib: lib$(NAME).a
225
225
226
226
all-shared-lib: $(shlib)
227
227
228
- ifneq ($(PORTNAME), win )
228
+ ifneq ($(PORTNAME), cygwin )
229
229
230
230
ifndef LORDER
231
231
MK_NO_LORDER := true
@@ -239,12 +239,12 @@ else
239
239
endif
240
240
$(RANLIB) $@
241
241
242
- endif # not win
242
+ endif # not cygwin
243
243
244
244
ifeq ($(enable_shared), yes)
245
245
246
246
ifneq ($(PORTNAME), beos)
247
- ifneq ($(PORTNAME), win )
247
+ ifneq ($(PORTNAME), cygwin )
248
248
ifneq ($(PORTNAME), aix)
249
249
250
250
# Normal case
@@ -270,9 +270,9 @@ $(shlib): lib$(NAME).a
270
270
271
271
endif # PORTNAME == aix
272
272
273
- else # PORTNAME == win
273
+ else # PORTNAME == cygwin
274
274
275
- # WIN case
275
+ # Cygwin case
276
276
$(shlib) lib$(NAME).a: $(OBJS) $(DLLINIT)
277
277
$(DLLTOOL) --export-all --output-def $(NAME).def $(OBJS)
278
278
$(DLLWRAP) -o $(shlib) --dllname $(shlib) --def $(NAME).def $(OBJS) $(DLLINIT) $(SHLIB_LINK)
@@ -281,7 +281,7 @@ $(shlib) lib$(NAME).a: $(OBJS) $(DLLINIT)
281
281
$(DLLINIT): $(DLLINIT:%.o=%.c)
282
282
$(MAKE) -C $(@D) $(@F)
283
283
284
- endif # PORTNAME == win
284
+ endif # PORTNAME == cygwin
285
285
286
286
else # PORTNAME == beos
287
287
@@ -308,7 +308,7 @@ install-lib-static: lib$(NAME).a
308
308
ifeq ($(enable_shared), yes)
309
309
install-lib-shared: $(shlib)
310
310
$(INSTALL_SHLIB) $< $(DESTDIR)$(libdir)/$(shlib)
311
- ifneq ($(PORTNAME), win )
311
+ ifneq ($(PORTNAME), cygwin )
312
312
ifneq ($(shlib), lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION))
313
313
cd $(DESTDIR)$(libdir) && \
314
314
rm -f lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION) && \
@@ -320,7 +320,7 @@ ifneq ($(shlib), lib$(NAME)$(DLSUFFIX))
320
320
$(LN_S) $(shlib) lib$(NAME)$(DLSUFFIX)
321
321
endif
322
322
323
- endif # not win
323
+ endif # not cygwin
324
324
endif # enable_shared
325
325
326
326
@@ -351,6 +351,6 @@ ifdef EXPSUFF
351
351
rm -f lib$(NAME)$(EXPSUFF)
352
352
endif
353
353
endif
354
- ifeq ($(PORTNAME), win )
354
+ ifeq ($(PORTNAME), cygwin )
355
355
rm -f $(NAME).dll $(NAME).def
356
356
endif
0 commit comments