]> granicus.if.org Git - postgresql/blobdiff - src/win32.mak
Reindent table partitioning code.
[postgresql] / src / win32.mak
index 862b409d0bc57a0dde268d318e14cd582c77b49c..9699e81003db6d23d9efa81e01cc348fc95c6788 100644 (file)
@@ -1,41 +1,32 @@
-# Makefile for Microsoft Visual C++ 5.0 (or compat)
+# src/win32.mak
 
-# 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=
-!ELSE 
+!ELSE
 NULL=nul
-!ENDIF 
-
-!IFDEF MULTIBYTE
-MAKEMACRO = "MULTIBYTE=$(MULTIBYTE)"
 !ENDIF
 
-ALL: 
+ALL:
    cd include
-   if not exist config.h copy config.h.win32 config.h
+   if not exist pg_config.h copy pg_config.h.win32 pg_config.h
+   if not exist pg_config_ext.h copy pg_config_ext.h.win32 pg_config_ext.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
-   cd ..
\ No newline at end of file
+   del pg_config.h pg_config_ext.h pg_config_os.h
+   cd ..