diff options
Diffstat (limited to 'src/backend/Makefile')
| -rw-r--r-- | src/backend/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/backend/Makefile b/src/backend/Makefile index e6499106b78..82cdd0f568e 100644 --- a/src/backend/Makefile +++ b/src/backend/Makefile @@ -4,7 +4,7 @@ # # Copyright (c) 1994, Regents of the University of California # -# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.94 2003/02/03 14:24:07 momjian Exp $ +# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.95 2003/03/21 17:18:34 petere Exp $ # #------------------------------------------------------------------------- @@ -31,12 +31,12 @@ endif all: submake-libpgport postgres $(POSTGRES_IMP) -ifneq ($(PORTNAME), win) +ifneq ($(PORTNAME), cygwin) postgres: $(OBJS) $(CC) $(CFLAGS) $(LDFLAGS) $(export_dynamic) $^ $(LIBS) -o $@ -else # win +else # cygwin postgres: $(OBJS) $(DLLINIT) postgres.def libpostgres.a $(DLLTOOL) --dllname $@$(X) --output-exp $@.exp --def postgres.def @@ -51,7 +51,7 @@ postgres.def: $(OBJS) libpostgres.a: postgres.def $(DLLTOOL) --dllname postgres.exe --def postgres.def --output-lib $@ -endif # win +endif # cygwin ifeq ($(PORTNAME), aix) @@ -126,7 +126,7 @@ distprep: ########################################################################## install: all installdirs install-bin -ifeq ($(PORTNAME), win) +ifeq ($(PORTNAME), cygwin) ifeq ($(MAKE_DLL), true) $(INSTALL_DATA) libpostgres.a $(DESTDIR)$(libdir)/libpostgres.a endif @@ -148,7 +148,7 @@ endif installdirs: $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(datadir) -ifeq ($(PORTNAME), win) +ifeq ($(PORTNAME), cygwin) ifeq ($(MAKE_DLL), true) $(mkinstalldirs) $(DESTDIR)$(libdir) endif @@ -165,7 +165,7 @@ uninstall: ifeq ($(MAKE_EXPORTS), true) rm -f $(DESTDIR)$(pkglibdir)/$(POSTGRES_IMP) endif -ifeq ($(PORTNAME), win) +ifeq ($(PORTNAME), cygwin) ifeq ($(MAKE_DLL), true) rm -f $(DESTDIR)$(libdir)/libpostgres.a endif @@ -183,7 +183,7 @@ clean: rm -f postgres$(X) $(POSTGRES_IMP) \ $(top_srcdir)/src/include/parser/parse.h \ $(top_builddir)/src/include/utils/fmgroids.h -ifeq ($(PORTNAME), win) +ifeq ($(PORTNAME), cygwin) rm -f postgres.dll postgres.def libpostgres.a endif for i in $(DIRS); do $(MAKE) -C $$i clean || exit; done |
