~ubuntu-branches/ubuntu/maverick/asc/maverick

« back to all changes in this revision

Viewing changes to source/tools/win/tools.mak

  • Committer: Bazaar Package Importer
  • Author(s): Barry deFreese, Eddy Petrișor, Gonéri Le Bouder, Cyril Brulebois, Barry deFreese
  • Date: 2008-01-08 19:54:18 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080108195418-n19fc4eobhhqxcy5
Tags: 2.0.1.0-1
[ Eddy Petrișor ]
* fixed Homepage semifield

[ Gonéri Le Bouder ]
* add a watchfile
* move homepage from the description to the new Homepage field

[ Cyril Brulebois ]
* Added Vcs-Svn and Vcs-Browser fields in the control file.

[ Barry deFreese ]
* Fix make-clean lintian warning
* New upstream release
* Bump debhelper build-dep to match compat
* Add desktop file
* Update watch file for new upstream naming
* Remove nostrip check from rules
* Bump Standards Version to 3.7.3
* Add myself to uploaders

Show diffs side-by-side

added added

removed removed

Lines of Context:
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 = tools.lib
17
 
OBJFILES = obj\basegfx.obj obj\basestrm.obj obj\buildingtype.obj obj\gameoptions.obj \
18
 
    obj\misc.obj obj\Named.obj obj\palette.obj obj\sgstream.obj obj\typen.obj \
19
 
    obj\vehicletype.obj obj\graphicset.obj obj\ascstring.obj \
20
 
    obj\graphicselector.obj obj\loadpcxc.obj obj\newfont.obj obj\CLoadable.obj \
21
 
    obj\Property.obj obj\PropertyGroup.obj obj\graphics.obj obj\getopt1.obj \
22
 
    obj\getopt.obj obj\strtmesg.obj obj\objecttype.obj obj\terraintype.obj \
23
 
    obj\textfileparser.obj obj\textfiletags.obj
24
 
RESFILES = 
25
 
MAINSOURCE = tools.bpf
26
 
RESDEPEN = $(RESFILES)
27
 
LIBFILES = ..\..\libs\bzlib\win\bzlib.lib ..\..\..\..\sdl\bin\sdl.lib
28
 
IDLFILES = 
29
 
IDLGENFILES = 
30
 
LIBRARIES = 
31
 
PACKAGES = 
32
 
SPARELIBS = 
33
 
DEFFILE = 
34
 
# ---------------------------------------------------------------------------
35
 
PATHCPP = .;..\..;..\..\sdl;..\..\LIBS\getopt
36
 
PATHASM = .;
37
 
PATHPAS = .;
38
 
PATHRC = .;
39
 
LINKER = TLib
40
 
DEBUGLIBPATH = 
41
 
RELEASELIBPATH = 
42
 
USERDEFINES = _DEBUG;HEXAGON;_WIN32_;WIN32;converter;_NOASM_;_SDL_
43
 
SYSDEFINES = _RTLDLL;NO_STRICT
44
 
INCLUDEPATH = ..\..\LIBS\getopt;..\..\sdl;..\..;..\..\..\source;$(BCB)\include;$(BCB)\include\vcl;..\..\win32;..\..\..\..\SDL\include
45
 
LIBPATH = ..\..\LIBS\getopt;..\..\sdl;..\..;..\..\..\source;$(BCB)\lib\obj;$(BCB)\lib
46
 
WARNINGS = -w-par -w-csu
47
 
LISTFILE = 
48
 
# ---------------------------------------------------------------------------
49
 
CFLAG1 = -Od -Q -Vx -Ve -X- -a1 -b -k -y -v -vi- -c -tW -tWM -K
50
 
IDLCFLAGS = 
51
 
PFLAGS = -N2obj -N0obj -$YD -$W -$O- -v -JPHNE -M
52
 
RFLAGS = 
53
 
AFLAGS = /mx /w2 /zd
54
 
LFLAGS = /P64 /0 /E
55
 
# ---------------------------------------------------------------------------
56
 
ALLOBJ = $(OBJFILES)
57
 
ALLRES = 
58
 
ALLLIB = 
59
 
# ---------------------------------------------------------------------------
60
 
!ifdef IDEOPTIONS
61
 
 
62
 
[Version Info]
63
 
IncludeVerInfo=0
64
 
AutoIncBuild=0
65
 
MajorVer=1
66
 
MinorVer=0
67
 
Release=0
68
 
Build=0
69
 
Debug=0
70
 
PreRelease=0
71
 
Special=0
72
 
Private=0
73
 
DLL=0
74
 
 
75
 
[Version Info Keys]
76
 
CompanyName=
77
 
FileDescription=
78
 
FileVersion=1.0.0.0
79
 
InternalName=
80
 
LegalCopyright=
81
 
LegalTrademarks=
82
 
OriginalFilename=
83
 
ProductName=
84
 
ProductVersion=1.0.0.0
85
 
Comments=
86
 
 
87
 
[Debugging]
88
 
DebugSourceDirs=$(BCB)\source\vcl
89
 
 
90
 
!endif
91
 
 
92
 
 
93
 
 
94
 
 
95
 
 
96
 
# ---------------------------------------------------------------------------
97
 
# MAKE SECTION
98
 
# ---------------------------------------------------------------------------
99
 
# This section of the project file is not used by the BCB IDE.  It is for
100
 
# the benefit of building from the command-line using the MAKE utility.
101
 
# ---------------------------------------------------------------------------
102
 
 
103
 
.autodepend
104
 
# ---------------------------------------------------------------------------
105
 
!if "$(USERDEFINES)" != ""
106
 
AUSERDEFINES = -d$(USERDEFINES:;= -d)
107
 
!else
108
 
AUSERDEFINES =
109
 
!endif
110
 
 
111
 
!if !$d(BCC32)
112
 
BCC32 = bcc32
113
 
!endif
114
 
 
115
 
!if !$d(CPP32)
116
 
CPP32 = cpp32
117
 
!endif
118
 
 
119
 
!if !$d(DCC32)
120
 
DCC32 = dcc32
121
 
!endif
122
 
 
123
 
!if !$d(TASM32)
124
 
TASM32 = tasm32
125
 
!endif
126
 
 
127
 
!if !$d(LINKER)
128
 
LINKER = TLib
129
 
!endif
130
 
 
131
 
!if !$d(BRCC32)
132
 
BRCC32 = brcc32
133
 
!endif
134
 
 
135
 
 
136
 
# ---------------------------------------------------------------------------
137
 
!if $d(PATHCPP)
138
 
.PATH.CPP = $(PATHCPP)
139
 
.PATH.C   = $(PATHCPP)
140
 
!endif
141
 
 
142
 
!if $d(PATHPAS)
143
 
.PATH.PAS = $(PATHPAS)
144
 
!endif
145
 
 
146
 
!if $d(PATHASM)
147
 
.PATH.ASM = $(PATHASM)
148
 
!endif
149
 
 
150
 
!if $d(PATHRC)
151
 
.PATH.RC  = $(PATHRC)
152
 
!endif
153
 
# ---------------------------------------------------------------------------
154
 
!if "$(LISTFILE)" ==  ""
155
 
COMMA =
156
 
!else
157
 
COMMA = ,
158
 
!endif
159
 
 
160
 
$(PROJECT): $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE)
161
 
    $(BCB)\BIN\$(LINKER) /u $@ @&&!
162
 
    $(LFLAGS) $? $(COMMA) $(LISTFILE)
163
 
 
164
 
!
165
 
# ---------------------------------------------------------------------------
166
 
.pas.hpp:
167
 
    $(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
168
 
 
169
 
.pas.obj:
170
 
    $(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
171
 
 
172
 
.cpp.obj:
173
 
    $(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
174
 
 
175
 
.c.obj:
176
 
    $(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
177
 
 
178
 
.c.i:
179
 
    $(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
180
 
 
181
 
.cpp.i:
182
 
    $(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
183
 
 
184
 
.asm.obj:
185
 
    $(BCB)\BIN\$(TASM32) $(AFLAGS) -i$(INCLUDEPATH:;= -i) $(AUSERDEFINES) -d$(SYSDEFINES:;= -d) $<, $@
186
 
 
187
 
.rc.res:
188
 
    $(BCB)\BIN\$(BRCC32) $(RFLAGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -fo$@ $<
189
 
# ---------------------------------------------------------------------------
190
 
 
191
 
 
192
 
 
193