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_ext.h copy pg_config_ext.h.win32 pg_config_ext.h
30 if not exist pg_config_os.h copy port\win32.h pg_config_os.h
33 make -N -DCFG=$(CFG) /f bcc32.mak
35 echo All Win32 parts have been built!
39 make -N -DCFG=Release /f bcc32.mak CLEAN
40 make -N -DCFG=Debug /f bcc32.mak CLEAN
42 echo All Win32 parts have been cleaned!
46 del pg_config.h pg_config_ext.h pg_config_os.h