(metux) gitignore update
[mirror-ossqm-expat.git] / bcb5 / expatw.mak
blob08e17d003b8c10afc14065d4f71c49366c311c5f
1 # ---------------------------------------------------------------------------
2 !if !$d(BCB)
3 BCB = $(MAKEDIR)\..
4 !endif
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 # ---------------------------------------------------------------------------
14 VERSION = BCB.05.03
15 # ---------------------------------------------------------------------------
16 PROJECT = Release\libexpatw_mtd.dll
17 OBJFILES = Release\obj\libexpatw\xmlparse.obj Release\obj\libexpatw\xmlrole.obj \
18 Release\obj\libexpatw\xmltok.obj
19 RESFILES =
20 MAINSOURCE = expatw.bpf
21 RESDEPEN = $(RESFILES)
22 LIBFILES =
23 IDLFILES =
24 IDLGENFILES =
25 LIBRARIES =
26 PACKAGES = VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi \
27 ibsmp50.bpi VCLDBX50.bpi TEEUI50.bpi TEEDB50.bpi TEE50.bpi TEEQR50.bpi \
28 VCLIB50.bpi bcbie50.bpi VCLIE50.bpi INETDB50.bpi INET50.bpi NMFAST50.bpi \
29 dclocx50.bpi bcb2kaxserver50.bpi dclusr50.bpi
30 SPARELIBS =
31 DEFFILE = libexpatw_mtd.def
32 # ---------------------------------------------------------------------------
33 PATHCPP = .;..\lib
34 PATHASM = .;
35 PATHPAS = .;
36 PATHRC = .;
37 DEBUGLIBPATH = $(BCB)\lib\debug
38 RELEASELIBPATH = $(BCB)\lib\release
39 USERDEFINES = _WINDOWS;WIN32;NDEBUG;_USRDLL;COMPILED_FROM_DSP;XML_UNICODE_WCHAR_T
40 SYSDEFINES = _NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL
41 INCLUDEPATH = ..\lib;$(BCB)\include
42 LIBPATH = ..\lib;$(BCB)\lib;$(RELEASELIBPATH)
43 WARNINGS= -w-rch -w-par -w-8027 -w-8026 -w-ccc
44 # ---------------------------------------------------------------------------
45 CFLAG1 = -WD -O2 -X- -a8 -b -k- -vi -q -tWM -c -tWD
46 IDLCFLAGS = -I$(BCB)\include
47 PFLAGS = -N2Release\obj\libexpatw -N0Release\obj\libexpatw -$Y- -$L- -$D-
48 RFLAGS = /l 0x409 /d "NDEBUG" /i$(BCB)\include
49 AFLAGS = /mx /w2 /zn
50 LFLAGS = -IRelease\obj\libexpatw -D"" -aa -Tpd -x -Gn -Gi -w -q
51 # ---------------------------------------------------------------------------
52 ALLOBJ = c0d32w.obj $(OBJFILES)
53 ALLRES = $(RESFILES)
54 ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cw32mti.lib
55 # ---------------------------------------------------------------------------
56 !ifdef IDEOPTIONS
58 [Version Info]
59 IncludeVerInfo=0
60 AutoIncBuild=0
61 MajorVer=1
62 MinorVer=0
63 Release=0
64 Build=0
65 Debug=0
66 PreRelease=0
67 Special=0
68 Private=0
69 DLL=0
71 [Version Info Keys]
72 CompanyName=
73 FileDescription=
74 FileVersion=1.0.0.0
75 InternalName=
76 LegalCopyright=
77 LegalTrademarks=
78 OriginalFilename=
79 ProductName=
80 ProductVersion=1.0.0.0
81 Comments=
83 [Debugging]
84 DebugSourceDirs=$(BCB)\source\vcl
86 !endif
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 # ---------------------------------------------------------------------------
99 .autodepend
100 # ---------------------------------------------------------------------------
101 !if "$(USERDEFINES)" != ""
102 AUSERDEFINES = -d$(USERDEFINES:;= -d)
103 !else
104 AUSERDEFINES =
105 !endif
107 !if !$d(BCC32)
108 BCC32 = bcc32
109 !endif
111 !if !$d(CPP32)
112 CPP32 = cpp32
113 !endif
115 !if !$d(DCC32)
116 DCC32 = dcc32
117 !endif
119 !if !$d(TASM32)
120 TASM32 = tasm32
121 !endif
123 !if !$d(LINKER)
124 LINKER = ilink32
125 !endif
127 !if !$d(BRCC32)
128 BRCC32 = brcc32
129 !endif
132 # ---------------------------------------------------------------------------
133 !if $d(PATHCPP)
134 .PATH.CPP = $(PATHCPP)
135 .PATH.C = $(PATHCPP)
136 !endif
138 !if $d(PATHPAS)
139 .PATH.PAS = $(PATHPAS)
140 !endif
142 !if $d(PATHASM)
143 .PATH.ASM = $(PATHASM)
144 !endif
146 !if $d(PATHRC)
147 .PATH.RC = $(PATHRC)
148 !endif
149 # ---------------------------------------------------------------------------
150 $(PROJECT): $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE)
151 $(BCB)\BIN\$(LINKER) @&&!
152 $(LFLAGS) -L$(LIBPATH) +
153 $(ALLOBJ), +
154 $(PROJECT),, +
155 $(ALLLIB), +
156 $(DEFFILE), +
157 $(ALLRES)
159 # ---------------------------------------------------------------------------
160 .pas.hpp:
161 $(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
163 .pas.obj:
164 $(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
166 .cpp.obj:
167 $(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
169 .c.obj:
170 $(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
172 .c.i:
173 $(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
175 .cpp.i:
176 $(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
178 .asm.obj:
179 $(BCB)\BIN\$(TASM32) $(AFLAGS) -i$(INCLUDEPATH:;= -i) $(AUSERDEFINES) -d$(SYSDEFINES:;= -d) $<, $@
181 .rc.res:
182 $(BCB)\BIN\$(BRCC32) $(RFLAGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -fo$@ $<
183 # ---------------------------------------------------------------------------