]> granicus.if.org Git - postgresql/blobdiff - src/win32.mak
Document which versions of ActivePerl and ActiveTcl are required
[postgresql] / src / win32.mak
index e5ae1c64c9f9483271c17bbc29caa800557c02ca..63f7e67631ee7591acc60bd96b2f7f4f94b1d133 100644 (file)
@@ -1,8 +1,7 @@
-# $Header: /cvsroot/pgsql/src/win32.mak,v 1.6 2001/08/24 22:42:28 petere Exp $
+# $PostgreSQL: pgsql/src/win32.mak,v 1.16 2007/08/03 10:47:10 mha Exp $
 
-# Makefile for Microsoft Visual C++ 5.0 (or compat)
-# Top-file makefile for Win32 parts of postgresql.
-# Note that most parts are not ported to Win32!
+# Top-file makefile for building Win32 libpq with Visual C++ 7.1.
+# (see src/tools/msvc for tools to build with Visual C++ 2005 and newer)
 
 !IF "$(OS)" == "Windows_NT"
 NULL=
@@ -10,32 +9,23 @@ NULL=
 NULL=nul
 !ENDIF 
 
-!IFDEF MULTIBYTE
-MAKEMACRO = "MULTIBYTE=$(MULTIBYTE)"
-!ENDIF
-
 ALL: 
    cd include
    if not exist pg_config.h copy pg_config.h.win32 pg_config.h
+   if not exist pg_config_os.h copy port\win32.h pg_config_os.h
    cd ..
    cd interfaces\libpq
    nmake /f win32.mak $(MAKEMACRO)
-   cd ..\libpq++
-   nmake /f win32.mak $(MAKEMACRO)
-   cd ..\..\bin\psql
-   nmake /f win32.mak $(MAKEMACRO)
    cd ..\..
    echo All Win32 parts have been built!
 
 CLEAN:
    cd interfaces\libpq
    nmake /f win32.mak CLEAN
-   cd ..\..\bin\psql
-   nmake /f win32.mak CLEAN
    cd ..\..
    echo All Win32 parts have been cleaned!
 
 DISTCLEAN: CLEAN
    cd include
-   del config.h
+   del pg_config.h pg_config_os.h
    cd ..