VirtualBox

source: kBuild/trunk/src/gmake/Makefile.kmk@ 225

Last change on this file since 225 was 225, checked in by bird, 20 years ago

kMk builtin command basics. KMK_VERSION variable.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.1 KB
Line 
1# $Id: Makefile.kmk 225 2005-02-09 08:31:14Z bird $
2export KBUILD_VCC70_DEPS = 1
3
4PROGRAMS = kmk
5
6kmk_TOOL = GCC3
7kmk_TOOL.os2 = GCC3OMF
8kmk_TOOL.win32 = VCC70
9
10kmk_CFLAGS.linux.release = -O3
11kmk_CFLAGS.os2.relase = -O3
12kmk_CFLAGS.win32 = -MT -W3
13
14kmk_DEPS = $(PATH_TARGET)/config.h
15
16kmk_INCS = $(PATH_TARGET) .
17kmk_INCS.win32 = \
18 w32/include \
19 glob \
20 $(PATH_DEV)/x86.win32/vcc70/include \
21 $(PATH_DEV)/x86.win32/sdk200209/include
22
23kmk_DEFS = \
24 HAVE_CONFIG_H \
25 CONFIG_NO_DEFAULT_SUFFIXES \
26 CONFIG_NO_DEFAULT_PATTERN_RULES \
27 CONFIG_NO_DEFAULT_TERMINAL_RULES \
28 CONFIG_NO_DEFAULT_SUFFIX_RULES \
29 CONFIG_NO_DEFAULT_VARIABLES \
30 CONFIG_WITH_KMK_BUILTIN
31kmk_DEFS.win32 = WINDOWS32 _CONSOLE WIN32
32kmk_DEFS.win32.release = NDEBUG
33
34kmk_LDFLAGS.linux.release = -s
35kmk_LDFLAGS.os2 = -Zhigh-mem -Zstack=1024
36kmk_LDFLAGS.os2.release = -s
37kmk_LDFLAGS.win32 = /SUBSYSTEM:console /INCREMENTAL:no /NOD
38
39kmk_LIBS.linux = rt
40kmk_LIBS.win32 = \
41 $(PATH_DEV)/x86.win32/vcc70/lib/libcmt.lib \
42 $(PATH_DEV)/x86.win32/vcc70/lib/oldnames.lib \
43 $(PATH_DEV)/x86.win32/sdk200209/lib/Kernel32.Lib \
44 $(PATH_DEV)/x86.win32/sdk200209/lib/User32.Lib \
45 $(PATH_DEV)/x86.win32/sdk200209/lib/AdvAPI32.Lib
46
47kmk_SOURCES = \
48 main.c \
49 read.c \
50 hash.c \
51 variable.c \
52 ar.c \
53 arscan.c \
54 commands.c \
55 default.c \
56 dir.c \
57 expand.c \
58 file.c \
59 function.c \
60 implicit.c \
61 job.c \
62 misc.c \
63 remake.c \
64 rule.c \
65 signame.c \
66 version.c \
67 vpath.c \
68 remote-stub.c \
69 kmkbuiltin.c
70
71kmk_SOURCES.os2 = \
72 getopt.c \
73 getopt1.c \
74
75kmk_SOURCES.win32 = \
76 getopt.c \
77 getopt1.c \
78 getloadavg.c \
79 w32/subproc/misc.c \
80 w32/subproc/sub_proc.c \
81 w32/subproc/w32err.c \
82 glob/glob.c \
83 glob/fnmatch.c \
84 w32/compat/dirent.c \
85 w32/pathstuff.c
86
87#MAKE_DLLSHELL
88
89
90DEPTH = ../..
91include $(PATH_KBUILD)/rules.kmk
92
93$(PATH_TARGET)/config.h: config.h.$(BUILD_TARGET)
94 $(CP) $^ $@
95
96parallel: parallel_1 parallel_2 parallel_3 parallel_4 parallel_5
97parallel_1 parallel_2 parallel_3 parallel_4 parallel_5:
98 echo $@_start ; sleep 1; echo $@_done
99
100test:
101 echo "1"
102 echo "2"
103 echo "3"
104 echo "4"
105
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette