pgdevel / src / bcc32.mak

# src/bcc32.mak

# Makefile for Borland C++ 5.5 (or compat)
# Top-file makefile for building Win32 libpq with Borland C++.

!IF "$(CFG)" != "Release" && "$(CFG)" != "Debug"
!MESSAGE Invalid configuration "$(CFG)" specified.
!MESSAGE You can specify a configuration when running MAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE make  -DCFG=[Release | Debug] /f bcc32.mak
!MESSAGE Possible choices for configuration are:
!MESSAGE "Release" (Win32 Release)
!MESSAGE "Debug" (Win32 Debug)

!IF "$(OS)" == "Windows_NT"

   cd include
   if not exist pg_config.h copy pg_config.h.win32 pg_config.h
   if not exist pg_config_os.h copy port\win32.h pg_config_os.h
   cd ..
   cd interfaces\libpq
   make -N -DCFG=$(CFG) /f bcc32.mak
   cd ..\..
   echo All Win32 parts have been built!

   cd interfaces\libpq
   make -N -DCFG=Release /f bcc32.mak CLEAN
   make -N -DCFG=Debug /f bcc32.mak CLEAN
   cd ..\..
   echo All Win32 parts have been cleaned!

   cd include
   del pg_config.h pg_config_os.h
   cd ..
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.