]> granicus.if.org Git - postgresql/blob - src/win32.mak
Missed this part in pg_config.h rename.
[postgresql] / src / win32.mak
1 # $Header: /cvsroot/pgsql/src/win32.mak,v 1.6 2001/08/24 22:42:28 petere 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 !IFDEF  MULTIBYTE
14 MAKEMACRO = "MULTIBYTE=$(MULTIBYTE)"
15 !ENDIF
16
17 ALL: 
18    cd include
19    if not exist pg_config.h copy pg_config.h.win32 pg_config.h
20    cd ..
21    cd interfaces\libpq
22    nmake /f win32.mak $(MAKEMACRO)
23    cd ..\libpq++
24    nmake /f win32.mak $(MAKEMACRO)
25    cd ..\..\bin\psql
26    nmake /f win32.mak $(MAKEMACRO)
27    cd ..\..
28    echo All Win32 parts have been built!
29
30 CLEAN:
31    cd interfaces\libpq
32    nmake /f win32.mak CLEAN
33    cd ..\..\bin\psql
34    nmake /f win32.mak CLEAN
35    cd ..\..
36    echo All Win32 parts have been cleaned!
37
38 DISTCLEAN: CLEAN
39    cd include
40    del config.h
41    cd ..