]> granicus.if.org Git - postgresql/blob - src/win32.mak
Improve performance of our private version of qsort. Per recent testing,
[postgresql] / src / win32.mak
1 # $PostgreSQL: pgsql/src/win32.mak,v 1.12 2006/03/03 23:11:48 momjian Exp $
2
3 # Makefile for Microsoft Visual C++ 5.0 (or compat)
4 # Top-file makefile for Win32 parts of postgresql.
5 # Note that most parts are not ported to Win32!
6
7 !IF "$(OS)" == "Windows_NT"
8 NULL=
9 !ELSE 
10 NULL=nul
11 !ENDIF 
12
13 ALL: 
14    cd include
15    if not exist pg_config.h copy pg_config.h.win32 pg_config.h
16    cd ..
17    cd interfaces\libpq
18    nmake /f win32.mak $(MAKEMACRO)
19    cd ..\..\bin\psql
20    nmake /f win32.mak $(MAKEMACRO)
21    cd ..\..\bin\pg_dump
22    nmake /f win32.mak $(MAKEMACRO)
23    cd ..\..\bin\pg_config
24    nmake /f win32.mak $(MAKEMACRO)
25    cd ..\..
26    echo All Win32 parts have been built!
27
28 CLEAN:
29    cd interfaces\libpq
30    nmake /f win32.mak CLEAN
31    cd ..\..\bin\psql
32    nmake /f win32.mak CLEAN
33    cd ..\..\bin\pg_dump
34    nmake /f win32.mak CLEAN
35    cd ..\..\bin\pg_config
36    nmake /f win32.mak CLEAN
37    cd ..\..
38    echo All Win32 parts have been cleaned!
39
40 DISTCLEAN: CLEAN
41    cd include
42    del config.h
43    cd ..