]> granicus.if.org Git - postgresql/blob - src/win32.mak
DTrace support, with a small initial set of probes
[postgresql] / src / win32.mak
1 # $PostgreSQL: pgsql/src/win32.mak,v 1.13 2006/07/06 02:12:32 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    if not exist pg_config_os.h copy port\win32.h pg_config_os.h
17    cd ..
18    cd interfaces\libpq
19    nmake /f win32.mak $(MAKEMACRO)
20    cd ..\..\bin\psql
21    nmake /f win32.mak $(MAKEMACRO)
22    cd ..\..\bin\pg_dump
23    nmake /f win32.mak $(MAKEMACRO)
24    cd ..\..\bin\pg_config
25    nmake /f win32.mak $(MAKEMACRO)
26    cd ..\..
27    echo All Win32 parts have been built!
28
29 CLEAN:
30    cd interfaces\libpq
31    nmake /f win32.mak CLEAN
32    cd ..\..\bin\psql
33    nmake /f win32.mak CLEAN
34    cd ..\..\bin\pg_dump
35    nmake /f win32.mak CLEAN
36    cd ..\..\bin\pg_config
37    nmake /f win32.mak CLEAN
38    cd ..\..
39    echo All Win32 parts have been cleaned!
40
41 DISTCLEAN: CLEAN
42    cd include
43    del config.h
44    cd ..