Files
TeslaRel410/BORLAND/BC45/SOURCE/OCF/BOCOLE/MAKEFILE
T
CydandClaude Fable 5 63312e07f9 source410: literal 4.10 source reconstruction + BC++ 4.52 fleet toolchain archived
- BORLAND/: Borland C++ 4.52 (chosen over 4.5 by byte-match: CODE/RP/CW32.LIB
  is identical to 4.52's install lib). BCC32/TLINK32/TLIB/MAKE run natively on
  Win11; CODE/BT/OPT.MAK is the shipped BTL4OPT.EXE's exact flag recipe
  (extender = Borland PowerPack DPMI32, not Phar Lap TNT).
- restoration/source410/: the literal 1995-form reconstruction of the missing
  BT game source (never mixed into CODE/). Round 1-3 state:
  * 6 of 10 surviving original TUs COMPILE CLEAN under the period toolchain
    (BTMSSN, BTCNSL, BTSCNRL, BTTEAM, BTL4MODE, BTL4ARND) - first builds
    since 1996.
  * BT_L4/BTL4APP.CPP pilot reconstruction: 12/12 functions, Fail() lands on
    its binary-recorded line 400 exactly.
  * BT/BTCNSL.HPP: console wire IDs recovered from the binary's ctors
    (Killed=9, Damaged=10, ScoreUpdate=13, DeathWithoutHonor=15 [T1];
    TeamScore=12 flagged [T4]).
  * MUNGA/: 8 engine-header backfills back-dated from the BT412 WinTesla tree
    (VDATA numbering decomp-verified; AUDREND's OpenAL-era virtual removed -
    the period compiler is the drift detector).
  * Tooling: backdate.py (WinTesla->1995 header transform), compile410.sh
    (per-TU verification sweep under authentic OPT.MAK flags).
  * README: corrected roadmap - MECH.HPP is the capstone grown with the mech
    TU reconstructions; BTREG.CPP green = the header-family milestone.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-19 07:33:26 -05:00

155 lines
3.3 KiB
Makefile

# $Header: N:\admin\ocf\source\bocole\makefile.__v 2.0.1.0 10 Apr 1995 18:06:46 CQUINN $
#-----------------------------------------------------------------------------
# ObjectComponents - (C) Copyright 1991, 1993 by Borland International
#
# MAKEFILE for ObjectComponents BOcOle Dlls
#
# To get 16 bit non-debug Bocole.dll, do
# make
# To get 16 bit debug BocoleD.dll, do
# make DEBUG=1
#
# To get 32 bit non-debug BocoleF.dll, do
# make WIN32=1 ANSI=1
# To get 32 bit debug BocoleDF.dll, do
# make WIN32=1 DEBUG=1 ANSI=1
#
# The ANSI symbol is not needed for 16-bit Bocole, nor for UNICODE apps.
# Build with ANSI flag if you want to use Bocole under both NT and Win95
# since Win95 does not support Unicode.
#
# Rename the debug versions of BOCOLED, BOCODF and BOCODFW to
# BOCOLE, BOCOF.dll and BOCOFW.dll respectively to use them for debugging.
#
#------------------------------------------------------------------------
!if $d(DEBUG)
KEY = D
!endif
!if !$d(ANSI)
WIDE = W
!endif
!if !$d(APP)
! ifdef WIN32
FILENAME = BOCO$(KEY)F$(WIDE)
APP = BOCOF$(WIDE)
! else
FILENAME = BOCOLE$(KEY)
APP = BOCOLE
! endif
!else
FILENAME = $(APP)
!endif
! ifdef WIN32
DEFNAME = BOCOF
! else
DEFNAME = BOCOLE
! endif
! ifdef WIN32
MODEL = 32
UNICODE = UNICODE
! else
MODEL = l
! endif
DLL = 1
VERSION = 1
OBJS = \
bolecomp.obj \
bolesvc.obj \
bolecman.obj \
bolecont.obj \
bolesite.obj \
oledll.obj \
boleips.obj \
bolefact.obj \
boledoc.obj \
bolepart.obj \
boleclip.obj \
bhatch.obj \
olenew.obj \
boledata.obj\
bolehelp.obj \
boleguid.obj \
bolever.obj
!if $d(ANSI)
OBJS = $(OBJS) \
utils.obj
!endif
!if $d(DIAGS)
OBJS = $(OBJS) \
hashtbl.obj \
oledebug.obj
!endif
!ifndef WIN32
DEBUG_TARGETS = \
$(RELDIR)\$(APP).map
# $(RELDIR)\$(APP).sym
!endif
OTHER_TARGETS = \
$(RELDIR)\$(DEFNAME).res \
$(RELDIR)\$(APP).dll \
# $(RELDIR)\$(APP).lib \
# $(RELDIR)\bolever.h \
$(DEBUG_TARGETS)
OBJDIR = BIN$(MODEL)$(KEY)$(WIDE)
!ifdef WIN32
RESOURCES = $(SRCDIR)\boleui32\boleui32.res
LIBS = boleui32 ole2w32 # ctl3d32
!else
RESOURCES = $(SRCDIR)\boleui\boleui.res
LIBS = boleui ole2w16 # ctl3dv2
!endif
!include make.inc
$(RELDIR)\$(APP).dll : $(APP).dll
copy $(APP).dll $(RELDIR)\$(FILENAME).dll
#!ifndef WIN32
# tdstrip -s $(RELDIR)\$(APP).dll
#!else
# tdstrp32 -s $(RELDIR)\$(APP).dll
#!endif
$(RELDIR)\$(APP).map : $(APP).map
copy $(APP).map $(RELDIR)\$(FILENAME).map
$(RELDIR)\$(APP).sym : $(APP).map
$(MAPSYM) $(APP).map
copy $(APP).sym $(RELDIR)\$(FILENAME).sym
del $(APP).sym
$(RELDIR)\bolever.h : $(SRCDIR)\bolever.h
copy $(SRCDIR)\bolever.h $(RELDIR)\bolever.h
!ifndef WIN32
boleguid.obj: $(SRCDIR)\boleguid.cpp
$(CPP) -zE_TEXT -zFCODE $(SRCDIR)\boleguid.cpp
# put data into code segment in this module
!endif
!ifdef WIN32
# $(DEFNAME).res: $(SRCDIR)\bole16.rc $(SRCDIR)\bole32.rc
# $(BCROOT)\bin\brc32 -r @&&|
# -I$(BCROOT)\include;$(OLEROOT)\h;$(SRCDIR) \
# $(SRCDIR)\bole32.rc -fo $(DEFNAME).res
# |
!else
$(DEFNAME).res: $(SRCDIR)\bole16.rc
$(BCROOT)\bin\brc -r @&&|
-I.;$(BCROOT)\include $(SRCDIR)\bole16.rc -fo $(DEFNAME).res
|
!endif