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