]> granicus.if.org Git - postgresql/blob - src/win32.mak
Code cleanup: use "bool" for Boolean variables, rather than "int".
[postgresql] / src / win32.mak
1 # $PostgreSQL: pgsql/src/win32.mak,v 1.15 2007/03/05 14:18:38 mha Exp $
2
3 # Top-file makefile for building Win32 libpq with Visual C++ 6.0.
4 # (see src/tools/msvc for tools to build with Visual C++ 2005 and newer)
5
6 !IF "$(OS)" == "Windows_NT"
7 NULL=
8 !ELSE 
9 NULL=nul
10 !ENDIF 
11
12 ALL: 
13    cd include
14    if not exist pg_config.h copy pg_config.h.win32 pg_config.h
15    if not exist pg_config_os.h copy port\win32.h pg_config_os.h
16    cd ..
17    cd interfaces\libpq
18    nmake /f win32.mak $(MAKEMACRO)
19    cd ..\..
20    echo All Win32 parts have been built!
21
22 CLEAN:
23    cd interfaces\libpq
24    nmake /f win32.mak CLEAN
25    cd ..\..
26    echo All Win32 parts have been cleaned!
27
28 DISTCLEAN: CLEAN
29    cd include
30    del pg_config.h pg_config_os.h
31    cd ..