# ---------------------------------------------------------------------------
!if !$d(BCB)
BCB = $(MAKEDIR)\..
!endif

# ---------------------------------------------------------------------------
# IDE SECTION
# ---------------------------------------------------------------------------
# The following section of the project makefile is managed by the BCB IDE.
# It is recommended to use the IDE to change any of the values in this
# section.
# ---------------------------------------------------------------------------

VERSION = BCB.04.04
# ---------------------------------------------------------------------------
PROJECT = KsCommon4.bpl
OBJFILES = KsBitmap.obj KsCommonConst.obj KsCommonReg.obj KsCommonVersion.obj \
  KsCompress.obj KsControls.obj KsEffects.obj KsForms.obj KsHooks.obj KsItems.obj \
  KsLowLevel.obj KsLzh.obj KsMenuDesigner.obj KsMenuForm.obj KsMenus.obj \
  KsPanels.obj KsStatusBars.obj KsToolBars.obj KsUtils.obj KsProgress.obj \
  KsCheckBoxs.obj KsButtons.obj KsGroupBoxs.obj KsRangeBars.obj KsScrollBars.obj \
  KsTrackBars.obj KsMenuConvert.obj KsTabs.obj ZKsAdler.obj ZKsDeflate.obj \
  ZKsInfBlock.obj ZKsInfCodes.obj ZKsInfFast.obj ZKsInflate.obj ZKsInfTrees.obj \
  ZKsInfUtil.obj ZKsLib.obj ZKsStream.obj ZKsTrees.obj ZKsUtil.obj \
  KsComboBoxs.obj KsConvert.obj KsConvertForm.obj KsConvertFormAdd.obj KsEdits.obj \
  KsHints.obj KsLabels.obj KsListBoxs.obj KsMessages.obj KsSpeedButtons.obj \
  KsSpinButtons.obj KsWin2k.obj KsWinXP.obj KsContnrs.obj KsControlBars.obj \
  KsGrids.obj KsCommon4.obj
RESFILES = KsCommon4.res
RESDEPEN = $(RESFILES) KsMenuDesigner.dfm KsConvertForm.dfm KsConvertFormAdd.dfm
LIBFILES =
LIBRARIES = 
SPARELIBS = Vcl40.lib
PACKAGES = bcbsmp40.bpi vcl40.bpi Vclx40.bpi
DEFFILE =
# ---------------------------------------------------------------------------
PATHCPP = .;
PATHASM = .;
PATHPAS = .;
PATHRC = .;
DEBUGLIBPATH = $(BCB)\lib\debug
RELEASELIBPATH = $(BCB)\lib\release
USERDEFINES =
SYSDEFINES = _RTLDLL;NO_STRICT;USEPACKAGES
# ---------------------------------------------------------------------------
CFLAG1 = -I$(BCB)\include;$(BCB)\include\vcl -Od -Hc -H=$(BCB)\lib\vcl40.csm -w- -Ve -r- \
  -a8 -k -y -v -vi- -c -b- -w-par -w-inl -Vx -tWM -D$(SYSDEFINES);$(USERDEFINES)
PFLAGS = -UC:\Borland\CBuilder4\Lib\Release;c:\borland\CBuilder4\Lib;C:\Borland\CBuilder4\Lib\Release\;c:\borland\CBuilder4\Lib\;$(BCB)\Projects\Lib;$(BCB)\lib\obj;$(BCB)\lib;$(RELEASELIBPATH) \
  -I$(BCB)\include;$(BCB)\include\vcl -$YD -$W -$O- -v -JPHNE -M -LUdclstd40
RFLAGS = -i$(BCB)\include;$(BCB)\include\vcl
AFLAGS = /i$(BCB)\include /i$(BCB)\include\vcl /mx /w2 /zd
LFLAGS = -LC:\Borland\CBuilder4\Lib\Release;c:\borland\CBuilder4\Lib;C:\Borland\CBuilder4\Lib\Release\;c:\borland\CBuilder4\Lib\;$(BCB)\Projects\Lib;$(BCB)\lib\obj;$(BCB)\lib;$(RELEASELIBPATH) \
  -D"Common Package by KS Development" -aa -Tpp -Gpd -x -Gn -Gl -Gi
# ---------------------------------------------------------------------------
ALLOBJ = c0pkg32.obj Memmgr.Lib $(PACKAGES) sysinit.obj $(OBJFILES)
ALLRES = $(RESFILES)
ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cp32mti.lib
# ---------------------------------------------------------------------------
!ifdef IDEOPTIONS

[Version Info]
IncludeVerInfo=1
AutoIncBuild=0
MajorVer=1
MinorVer=0
Release=0
Build=0
Debug=0
PreRelease=0
Special=0
Private=0
DLL=0
Locale=1049
CodePage=1251

[Version Info Keys]
CompanyName=
FileDescription=
FileVersion=1.0.0.0
InternalName=
LegalCopyright=
LegalTrademarks=
OriginalFilename=
ProductName=
ProductVersion=1.0.0.0
Comments=

[Excluded Packages]
$(BCB)\Projects\Bpl\ThemeEngine4.bpl=ThemeEngine by KS Development
$(BCB)\Projects\Bpl\SkinEngine4.bpl=SkinEngine II by KS Development
$(BCB)\Projects\Bpl\ThemeEngineDB4.bpl=ThemeEngine DB VCL by KS Development
$(BCB)\Projects\Bpl\MediaPack4.bpl=MediaPack II by KS Development
$(BCB)\Projects\Bpl\SkinEngineDB4.bpl=SkinEngine DB VCL by KS Development

[HistoryLists\hlIncludePath]
Count=1
Item0=$(BCB)\include;$(BCB)\include\vcl

[HistoryLists\hlLibraryPath]
Count=3
Item0=c:\borland\CBuilder4\Lib;c:\borland\CBuilder4\Lib\;$(BCB)\lib\obj;$(BCB)\lib
Item1=c:\borland\CBuilder4\Lib;$(BCB)\lib\obj;$(BCB)\lib
Item2=$(BCB)\lib\obj;$(BCB)\lib

[HistoryLists\hlDebugSourcePath]
Count=1
Item0=$(BCB)\source\vcl

[Debugging]
DebugSourceDirs=$(BCB)\source\vcl

[Parameters]
RunParams=
HostApplication=
RemoteHost=
RemotePath=
RemoteDebug=0

[Compiler]
InMemoryExe=0
ShowInfoMsgs=0

!endif

# ---------------------------------------------------------------------------
# MAKE SECTION
# ---------------------------------------------------------------------------
# This section of the project file is not used by the BCB IDE.  It is for
# the benefit of building from the command-line using the MAKE utility.
# ---------------------------------------------------------------------------

.autodepend
# ---------------------------------------------------------------------------
!if !$d(BCC32)
BCC32 = bcc32
!endif

!if !$d(CPP32)
CPP32 = cpp32
!endif

!if !$d(DCC32)
DCC32 = dcc32
!endif

!if !$d(TASM32)
TASM32 = tasm32
!endif

!if !$d(LINKER)
LINKER = ilink32
!endif

!if !$d(BRCC32)
BRCC32 = brcc32
!endif

# ---------------------------------------------------------------------------
!if $d(PATHCPP)
.PATH.CPP = $(PATHCPP)
.PATH.C   = $(PATHCPP)
!endif

!if $d(PATHPAS)
.PATH.PAS = $(PATHPAS)
!endif

!if $d(PATHASM)
.PATH.ASM = $(PATHASM)
!endif

!if $d(PATHRC)
.PATH.RC  = $(PATHRC)
!endif
# ---------------------------------------------------------------------------
$(PROJECT): $(OBJFILES) $(RESDEPEN) $(DEFFILE)
    $(BCB)\BIN\$(LINKER) @&&!
    $(LFLAGS) +
    $(ALLOBJ), +
    $(PROJECT),, +
    $(ALLLIB), +
    $(DEFFILE), +
    $(ALLRES)
!
# ---------------------------------------------------------------------------
.pas.hpp:
    $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< }

.pas.obj:
    $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< }

.cpp.obj:
    $(BCB)\BIN\$(BCC32) $(CFLAG1) -n$(@D) {$< }

.c.obj:
    $(BCB)\BIN\$(BCC32) $(CFLAG1) -n$(@D) {$< }

.c.i:
    $(BCB)\BIN\$(CPP32) $(CFLAG1) -n. {$< }

.cpp.i:
    $(BCB)\BIN\$(CPP32) $(CFLAG1) -n. {$< }

.asm.obj:
    $(BCB)\BIN\$(TASM32) $(AFLAGS) $<, $@

.rc.res:
    $(BCB)\BIN\$(BRCC32) $(RFLAGS) -fo$@ $<
# ---------------------------------------------------------------------------
