62
|
1 |
ifeq "$(PLATFORM)" "WINSCW"
|
|
2 |
ZDIR:=$(EPOCROOT)epoc32\release\$(PLATFORM)\$(CFG)\z
|
|
3 |
SISFILE=$(ZDIR)\system\install\upsserver.sis
|
|
4 |
endif
|
|
5 |
|
|
6 |
ifeq "$(PLATFORM)" "ARMV5"
|
|
7 |
ZDIR:=$(EPOCROOT)epoc32\data\z
|
|
8 |
SISFILE=$(ZDIR)\system\install\upsserver.sis
|
|
9 |
endif
|
|
10 |
|
|
11 |
#
|
|
12 |
# The targets invoked by abld...
|
|
13 |
#
|
|
14 |
|
|
15 |
MAKMAKE : DO_NOTHING
|
|
16 |
FREEZE : DO_NOTHING
|
|
17 |
LIB : DO_NOTHING
|
|
18 |
RESOURCE : DO_NOTHING
|
|
19 |
CLEANLIB : DO_NOTHING
|
|
20 |
FINAL : DO_NOTHING
|
|
21 |
SAVESPACE : BLD
|
|
22 |
BLD : MAKEDATA
|
|
23 |
|
|
24 |
DO_NOTHING:
|
|
25 |
|
|
26 |
|
|
27 |
ifndef SISFILE
|
|
28 |
#
|
|
29 |
# Not supported on this target so nothing to do
|
|
30 |
#
|
|
31 |
MAKEDATA :
|
|
32 |
@echo ----------------
|
|
33 |
@echo Do nothing ...
|
|
34 |
@echo ----------------
|
|
35 |
|
|
36 |
CLEAN:
|
|
37 |
|
|
38 |
RELEASABLES:
|
|
39 |
|
|
40 |
else
|
|
41 |
#
|
|
42 |
# WINSCW or ARM
|
|
43 |
#
|
|
44 |
MAKEDATA : $(SISFILE)
|
|
45 |
|
|
46 |
$(SISFILE) : upsserver.pkg
|
|
47 |
@cd
|
|
48 |
@echo ---------------------------
|
|
49 |
@echo Building UPS ROM stub
|
|
50 |
@echo ---------------------------
|
|
51 |
@echo nb. The stub does not contain any exes, just mentions them.
|
|
52 |
makesis -s $< $@
|
|
53 |
|
|
54 |
DO_NOTHING:
|
|
55 |
rem do nothing
|
|
56 |
|
|
57 |
CLEAN :
|
|
58 |
-@erase $(SISFILE) /f
|
|
59 |
|
|
60 |
RELEASABLES :
|
|
61 |
@echo $(SISFILE)
|
|
62 |
endif
|