1 # $PostgreSQL: pgsql/src/bcc32.mak,v 1.3 2005/05/13 18:12:35 momjian Exp $
3 # Makefile for Borland C++ 5.5 (or compat)
4 # Top-file makefile for Win32 parts of postgresql.
5 # Note that most parts are not ported to Win32!
7 !IF "$(CFG)" != "Release" && "$(CFG)" != "Debug"
8 !MESSAGE Invalid configuration "$(CFG)" specified.
9 !MESSAGE You can specify a configuration when running MAKE
10 !MESSAGE by defining the macro CFG on the command line. For example:
12 !MESSAGE make -DCFG=[Release | Debug] /f bcc32.mak
14 !MESSAGE Possible choices for configuration are:
16 !MESSAGE "Release" (Win32 Release )
17 !MESSAGE "Debug" (Win32 Debug)
21 !IF "$(OS)" == "Windows_NT"
29 if not exist pg_config.h copy pg_config.h.win32 pg_config.h
32 make -N -DCFG=$(CFG) /f bcc32.mak
34 make -N -DCFG=$(CFG) /f bcc32.mak
36 echo All Win32 parts have been built!
40 make -N -DCFG=Release /f bcc32.mak CLEAN
41 make -N -DCFG=Debug /f bcc32.mak CLEAN
43 make -N -DCFG=Release /f bcc32.mak CLEAN
44 make -N -DCFG=Debug /f bcc32.mak CLEAN
46 echo All Win32 parts have been cleaned!