Remove croak and Perl_croak from gettext triggers. While we could
[PostgreSQL.git] / src / bcc32.mak
blob31b2b2388a1477af7efc182725719c40e34267a2
1 # $PostgreSQL$
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:
10 !MESSAGE
11 !MESSAGE make -DCFG=[Release | Debug] /f bcc32.mak
12 !MESSAGE
13 !MESSAGE Possible choices for configuration are:
14 !MESSAGE
15 !MESSAGE "Release" (Win32 Release)
16 !MESSAGE "Debug" (Win32 Debug)
17 !MESSAGE
18 !ENDIF
20 !IF "$(OS)" == "Windows_NT"
21 NULL=
22 !ELSE
23 NULL=nul
24 !ENDIF
26 ALL:
27 cd include
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
30 cd ..
31 cd interfaces\libpq
32 make -N -DCFG=$(CFG) /f bcc32.mak
33 cd ..\..
34 echo All Win32 parts have been built!
36 CLEAN:
37 cd interfaces\libpq
38 make -N -DCFG=Release /f bcc32.mak CLEAN
39 make -N -DCFG=Debug /f bcc32.mak CLEAN
40 cd ..\..
41 echo All Win32 parts have been cleaned!
43 DISTCLEAN: CLEAN
44 cd include
45 del pg_config.h pg_config_os.h
46 cd ..