1 | # $Id: Makefile,v 1.2 2002-09-02 20:23:29 bird Exp $
|
---|
2 |
|
---|
3 | #
|
---|
4 | # Stub file in case someone wanna do the testcases
|
---|
5 | # by including make in the big make process.
|
---|
6 | #
|
---|
7 |
|
---|
8 |
|
---|
9 | #
|
---|
10 | # Load the build setup
|
---|
11 | #
|
---|
12 | PATH_ROOT=..
|
---|
13 | !include $(PATH_ROOT)\make\setup.mak
|
---|
14 |
|
---|
15 | #
|
---|
16 | # Target config.
|
---|
17 | #
|
---|
18 | TARGET_MODE = EMPTY
|
---|
19 | TARGET_DIR = $(PATH_PUB)\make
|
---|
20 |
|
---|
21 |
|
---|
22 | #
|
---|
23 | # Load the processing rules
|
---|
24 | #
|
---|
25 | RULE_PACKING = packing
|
---|
26 | !include $(MAKE_INCLUDE_PROCESS)
|
---|
27 |
|
---|
28 |
|
---|
29 | !if !$(BUILD_FORWARDING)
|
---|
30 | #
|
---|
31 | # Packing rule - makes a release of the makesystem
|
---|
32 | #
|
---|
33 | $(RULE_PACKING):
|
---|
34 | if not exist $(TARGET_DIR)\make\testcase $(TOOL_CREATEPATH) $(TARGET_DIR)\make\testcase
|
---|
35 | if not exist $(TARGET_DIR)\tools\bin $(TOOL_CREATEPATH) $(TARGET_DIR)\tools\bin
|
---|
36 | $(TOOL_COPY) *.mk $(TARGET_DIR)\make
|
---|
37 | $(TOOL_COPY) *.mak $(TARGET_DIR)\make
|
---|
38 | $(TOOL_COPY) makefile $(TARGET_DIR)\make
|
---|
39 | $(TOOL_COPY) testcase\*.mak $(TARGET_DIR)\make\testcase
|
---|
40 | $(TOOL_COPY) testcase\makefile $(TARGET_DIR)\make\testcase
|
---|
41 | $(TOOL_COPY) testcase\*.c $(TARGET_DIR)\make\testcase
|
---|
42 | $(TOOL_COPY) testcase\*.cpp $(TARGET_DIR)\make\testcase
|
---|
43 | $(TOOL_COPY) testcase\*.def $(TARGET_DIR)\make\testcase
|
---|
44 | $(TOOL_COPY) $(PATH_TOOLS)\BuildEnv.cmd $(TARGET_DIR)\tools\bin
|
---|
45 | $(TOOL_COPY) $(PATH_TOOLS)\CmdQd.exe $(TARGET_DIR)\tools\bin
|
---|
46 | $(TOOL_COPY) $(PATH_TOOLS)\CreatePath.cmd $(TARGET_DIR)\tools\bin
|
---|
47 | $(TOOL_COPY) $(PATH_TOOLS)\DoDirs.cmd $(TARGET_DIR)\tools\bin
|
---|
48 | $(TOOL_COPY) $(PATH_TOOLS)\DoMakes.cmd $(TARGET_DIR)\tools\bin
|
---|
49 | $(TOOL_COPY) $(PATH_TOOLS)\DoWithDirs.cmd $(TARGET_DIR)\tools\bin
|
---|
50 | $(TOOL_COPY) $(PATH_TOOLS)\ExecTestcase.cmd $(TARGET_DIR)\tools\bin
|
---|
51 | $(TOOL_COPY) $(PATH_TOOLS)\Exists.cmd $(TARGET_DIR)\tools\bin
|
---|
52 | $(TOOL_COPY) $(PATH_TOOLS)\FastDep.exe $(TARGET_DIR)\tools\bin
|
---|
53 | $(TOOL_COPY) $(PATH_TOOLS)\kDef2Wat.exe $(TARGET_DIR)\tools\bin
|
---|
54 | $(TOOL_COPY) $(PATH_TOOLS)\lxLite.cfg $(TARGET_DIR)\tools\bin
|
---|
55 | $(TOOL_COPY) $(PATH_TOOLS)\lxLite.cmd $(TARGET_DIR)\tools\bin
|
---|
56 | $(TOOL_COPY) $(PATH_TOOLS)\lxLite.exe $(TARGET_DIR)\tools\bin
|
---|
57 | $(TOOL_COPY) $(PATH_TOOLS)\MapSym.cmd $(TARGET_DIR)\tools\bin
|
---|
58 | $(TOOL_COPY) $(PATH_TOOLS)\rm.exe $(TARGET_DIR)\tools\bin
|
---|
59 | !endif
|
---|