1# --------------------------------------------------------------------------- 2!if !$d(BCB) 3BCB = $(MAKEDIR)\.. 4!endif 5 6# --------------------------------------------------------------------------- 7# IDE SECTION 8# --------------------------------------------------------------------------- 9# The following section of the project makefile is managed by the BCB IDE. 10# It is recommended to use the IDE to change any of the values in this 11# section. 12# --------------------------------------------------------------------------- 13 14VERSION = BCB.05.03 15# --------------------------------------------------------------------------- 16PROJECT = Release\libexpats_mtd.lib 17OBJFILES = Release\obj\libexpat_static\xmlparse.obj \ 18 Release\obj\libexpat_static\xmlrole.obj \ 19 Release\obj\libexpat_static\xmltok.obj 20RESFILES = 21MAINSOURCE = expat_static.bpf 22RESDEPEN = $(RESFILES) 23LIBFILES = 24IDLFILES = 25IDLGENFILES = 26LIBRARIES = 27PACKAGES = 28SPARELIBS = 29DEFFILE = 30# --------------------------------------------------------------------------- 31PATHCPP = .;..\lib 32PATHASM = .; 33PATHPAS = .; 34PATHRC = .; 35LINKER = TLib 36DEBUGLIBPATH = $(BCB)\lib\debug 37RELEASELIBPATH = $(BCB)\lib\release 38USERDEFINES = _WINDOWS;WIN32;NDEBUG;_LIB;COMPILED_FROM_DSP;XML_STATIC 39SYSDEFINES = _NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL 40INCLUDEPATH = ..\lib;$(BCB)\include 41LIBPATH = ..\lib;$(BCB)\lib;$(RELEASELIBPATH) 42WARNINGS = -w-rch -w-par -w-8027 -w-8026 -w-ccc 43LISTFILE = 44# --------------------------------------------------------------------------- 45CFLAG1 = -O2 -X- -a8 -b -k- -vi -q -tWM -c 46IDLCFLAGS = -I$(BCB)\include 47PFLAGS = -N2Release\obj\libexpat_static -N0Release\obj\libexpat_static -$Y- -$L- -$D- 48RFLAGS = /l 0x409 /d "NDEBUG" /i$(BCB)\include 49AFLAGS = /mx /w2 /zn 50LFLAGS = 51# --------------------------------------------------------------------------- 52ALLOBJ = $(OBJFILES) 53ALLRES = $(RESFILES) 54ALLLIB = $(LIBFILES) $(LIBRARIES) 55# --------------------------------------------------------------------------- 56!ifdef IDEOPTIONS 57 58[Version Info] 59IncludeVerInfo=0 60AutoIncBuild=0 61MajorVer=1 62MinorVer=0 63Release=0 64Build=0 65Debug=0 66PreRelease=0 67Special=0 68Private=0 69DLL=0 70 71[Version Info Keys] 72CompanyName= 73FileDescription= 74FileVersion=1.0.0.0 75InternalName= 76LegalCopyright= 77LegalTrademarks= 78OriginalFilename= 79ProductName= 80ProductVersion=1.0.0.0 81Comments= 82 83[Debugging] 84DebugSourceDirs=$(BCB)\source\vcl 85 86!endif 87 88 89 90 91 92# --------------------------------------------------------------------------- 93# MAKE SECTION 94# --------------------------------------------------------------------------- 95# This section of the project file is not used by the BCB IDE. It is for 96# the benefit of building from the command-line using the MAKE utility. 97# --------------------------------------------------------------------------- 98 99.autodepend 100# --------------------------------------------------------------------------- 101!if "$(USERDEFINES)" != "" 102AUSERDEFINES = -d$(USERDEFINES:;= -d) 103!else 104AUSERDEFINES = 105!endif 106 107!if !$d(BCC32) 108BCC32 = bcc32 109!endif 110 111!if !$d(CPP32) 112CPP32 = cpp32 113!endif 114 115!if !$d(DCC32) 116DCC32 = dcc32 117!endif 118 119!if !$d(TASM32) 120TASM32 = tasm32 121!endif 122 123!if !$d(LINKER) 124LINKER = TLib 125!endif 126 127!if !$d(BRCC32) 128BRCC32 = brcc32 129!endif 130 131 132# --------------------------------------------------------------------------- 133!if $d(PATHCPP) 134.PATH.CPP = $(PATHCPP) 135.PATH.C = $(PATHCPP) 136!endif 137 138!if $d(PATHPAS) 139.PATH.PAS = $(PATHPAS) 140!endif 141 142!if $d(PATHASM) 143.PATH.ASM = $(PATHASM) 144!endif 145 146!if $d(PATHRC) 147.PATH.RC = $(PATHRC) 148!endif 149# --------------------------------------------------------------------------- 150!if "$(LISTFILE)" == "" 151COMMA = 152!else 153COMMA = , 154!endif 155 156$(PROJECT): $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE) 157 $(BCB)\BIN\$(LINKER) /u $@ @&&! 158 $(LFLAGS) $? $(COMMA) $(LISTFILE) 159 160! 161# --------------------------------------------------------------------------- 162.pas.hpp: 163 $(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< } 164 165.pas.obj: 166 $(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< } 167 168.cpp.obj: 169 $(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< } 170 171.c.obj: 172 $(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< } 173 174.c.i: 175 $(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< } 176 177.cpp.i: 178 $(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< } 179 180.asm.obj: 181 $(BCB)\BIN\$(TASM32) $(AFLAGS) -i$(INCLUDEPATH:;= -i) $(AUSERDEFINES) -d$(SYSDEFINES:;= -d) $<, $@ 182 183.rc.res: 184 $(BCB)\BIN\$(BRCC32) $(RFLAGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -fo$@ $< 185# --------------------------------------------------------------------------- 186 187 188 189 190