1 # $PostgreSQL: pgsql/src/bcc32.mak,v 1.5 2007/03/05 14:18:38 mha Exp $
3 # Makefile for Borland C++ 5.5 (or compat)
4 # Top-file makefile for building Win32 libpq with Borland C++.
6 !IF "$(CFG)" != "Release" && "$(CFG)" != "Debug"
7 !MESSAGE Invalid configuration "$(CFG)" specified.
8 !MESSAGE You can specify a configuration when running MAKE
9 !MESSAGE by defining the macro CFG on the command line. For example:
11 !MESSAGE make -DCFG=[Release | Debug] /f bcc32.mak
13 !MESSAGE Possible choices for configuration are:
15 !MESSAGE "Release" (Win32 Release)
16 !MESSAGE "Debug" (Win32 Debug)
20 !IF "$(OS)" == "Windows_NT"
28 if not exist pg_config.h copy pg_config.h.win32 pg_config.h
29 if not exist pg_config_os.h copy port\win32.h pg_config_os.h
32 make -N -DCFG=$(CFG) /f bcc32.mak
34 echo All Win32 parts have been built!
38 make -N -DCFG=Release /f bcc32.mak CLEAN
39 make -N -DCFG=Debug /f bcc32.mak CLEAN
41 echo All Win32 parts have been cleaned!
45 del pg_config.h pg_config_os.h