]> granicus.if.org Git - postgresql/blobdiff - src/bcc32.mak
Rename USE_INLINE to PG_USE_INLINE
[postgresql] / src / bcc32.mak
index 784ad68b0ab060967ba684ca5662280bd561174f..c691924163d7cc2a38aa4c6d71c1f97b6353dd13 100644 (file)
@@ -1,8 +1,7 @@
-# $PostgreSQL: pgsql/src/bcc32.mak,v 1.4 2006/10/06 18:53:53 tgl Exp $
+# src/bcc32.mak
 
 # Makefile for Borland C++ 5.5 (or compat)
-# Top-file makefile for Win32 parts of postgresql.
-# Note that most parts are not ported to Win32!
+# Top-file makefile for building Win32 libpq with Borland C++.
 
 !IF "$(CFG)" != "Release" && "$(CFG)" != "Debug"
 !MESSAGE Invalid configuration "$(CFG)" specified.
 !MESSAGE
 !MESSAGE Possible choices for configuration are:
 !MESSAGE
-!MESSAGE "Release" (Win32 Release )
+!MESSAGE "Release" (Win32 Release)
 !MESSAGE "Debug" (Win32 Debug)
 !MESSAGE
 !ENDIF
 
 !IF "$(OS)" == "Windows_NT"
 NULL=
-!ELSE 
+!ELSE
 NULL=nul
-!ENDIF 
+!ENDIF
 
-ALL: 
+ALL:
    cd include
    if not exist pg_config.h copy pg_config.h.win32 pg_config.h
+   if not exist pg_config_ext.h copy pg_config_ext.h.win32 pg_config_ext.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 ..\..\bin\psql
    make -N -DCFG=$(CFG) /f bcc32.mak
    cd ..\..
    echo All Win32 parts have been built!
@@ -40,13 +38,10 @@ CLEAN:
    cd interfaces\libpq
    make -N -DCFG=Release /f bcc32.mak CLEAN
    make -N -DCFG=Debug /f bcc32.mak CLEAN
-   cd ..\..\bin\psql
-   make -N -DCFG=Release /f bcc32.mak CLEAN
-   make -N -DCFG=Debug /f bcc32.mak CLEAN
    cd ..\..
    echo All Win32 parts have been cleaned!
 
 DISTCLEAN: CLEAN
    cd include
-   del pg_config.h pg_config_os.h
+   del pg_config.h pg_config_ext.h pg_config_os.h
    cd ..