-
Notifications
You must be signed in to change notification settings - Fork 2
/
makefile
67 lines (52 loc) · 1.5 KB
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#######################################################################
#
# Styler top-level makefile
#
# This builds the 3 main components of Styler (dll exe nlv)
# as well as specific NLS targets (de en es ja nl ru tw).
# Clean a target by prefixing 'clean' to its name (e.g. cleanja)
#
# Tools used: nmake32 ipfc ilink(v5) rc(v4)
# vacpp(v3.08 or v3.65)
#
#
# Set the path to the ACPI Toolkit headers here or in the environment
!ifndef ACPI_INCL
%setenv ACPI_INCL = $(MAKEDIR)\shared\acpi_tk\h
!endif
#######################################################################
#
# Targets
#
# FYI... the '-=' switch below avoids rebuilding an up-to-date
# target when it has the same timestamp as one of its dependents
all: dll exe cli nlv
dll:
%cd $(MAKEDIR)\maindll
@echo .
@nmake32 -= $(ARGS)
exe:
%cd $(MAKEDIR)\pref
@echo .
@nmake32 -= $(ARGS)
cli:
%cd $(MAKEDIR)\CLI-shutdown
@echo .
@nmake32 -= $(ARGS)
nlv:
%cd $(MAKEDIR)\nls
@echo .
@nmake32 -= $(ARGS)
de en es ja nl ru tw:
%set ARGS = $@
%do nlv
clean cleanall: clean_msg cleandll cleanexe cleancli cleannlv
cleandll cleanexe cleancli cleannlv:
%set ARGS = -c $@
%do $[c,$@,6,8]
cleande cleanen cleanes cleanja cleannl cleanru cleantw:
%set ARGS = -c $@
%do nlv
clean_msg:
@echo Other targets: cleanall cleandll cleanexe cleancli cleannlv
@echo + cleande cleanen cleanes cleanja cleannl cleanru cleantw