VirtualBox

source: kBuild/trunk/src/kWorker/Makefile.kmk@ 2831

Last change on this file since 2831 was 2831, checked in by bird, 8 years ago

kWorker: early prototype.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.9 KB
Line 
1# $Id: Makefile.kmk 2831 2016-08-18 22:10:08Z bird $
2## @file
3# Sub-makefile for kWorker.
4#
5
6#
7# Copyright (c) 2016 knut st. osmundsen <bird-kBuild-spamx@anduin.net>
8#
9# This file is part of kBuild.
10#
11# kBuild is free software; you can redistribute it and/or modify
12# it under the terms of the GNU General Public License as published by
13# the Free Software Foundation; either version 3 of the License, or
14# (at your option) any later version.
15#
16# kBuild is distributed in the hope that it will be useful,
17# but WITHOUT ANY WARRANTY; without even the implied warranty of
18# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19# GNU General Public License for more details.
20#
21# You should have received a copy of the GNU General Public License
22# along with kBuild. If not, see <http://www.gnu.org/licenses/>
23#
24#
25
26SUB_DEPTH = ../..
27include $(PATH_KBUILD)/subheader.kmk
28
29PROGRAMS += kWorker
30kWorker_TEMPLATE = BIN
31kWorker_INCS = kStuff/include
32kWorker_DEFS.release = NASSERT
33kWorker_SOURCES = kWorker.c
34kWorker_LIBS = \
35 $(kStuff_1_TARGET) \
36 $(LIB_KDEP) \
37 $(LIB_KUTIL)
38include $(KBUILD_PATH)/sdks/WINDDK.kmk
39kWorker_LIBS.win = \
40 $(TEMPLATE_BIN_LIBS) \
41 $(PATH_SDK_WINDDK_LIB_WNET)/ntdll.lib
42kWorker_LDFLAGS.win = \
43 /BASE:0x10000 /DYNAMICBASE:NO /FIXED /SECTION:DefLdBuf,EWR
44
45
46#
47# kStuff library.
48#
49LIBRARIES += kStuff
50kStuff_TEMPLATE = LIB
51kStuff_INCS = kStuff/include
52
53# kLdr
54kStuff_SOURCES += \
55 kStuff/kLdr/kLdr.c \
56 kStuff/kLdr/kLdrDyld.c \
57 kStuff/kLdr/kLdrDyldFind.c \
58 kStuff/kLdr/kLdrDyldMod.c \
59 kStuff/kLdr/kLdrDyldOS.c \
60 kStuff/kLdr/kLdrDyLdSem.c \
61 kStuff/kLdr/kLdrMod.c \
62 kStuff/kLdr/kLdrModLX.c \
63 kStuff/kLdr/kLdrModMachO.c \
64 kStuff/kLdr/kLdrModNative.c \
65 kStuff/kLdr/kLdrModPE.c
66kLdr_SOURCES.os2 += \
67 kStuff/kLdr/kLdr-os2.c \
68 kStuff/kLdr/kLdrA-os2.asm
69kLdr_SOURCES.win += \
70 kStuff/kLdr/kLdr-win.c
71
72# kRdr
73kStuff_SOURCES += \
74 kStuff/kRdr/kRdr.cpp \
75 kStuff/kRdr/kRdrFile.cpp \
76 kStuff/kRdr/kRdrBuffered.cpp
77
78# kCpu
79kStuff_SOURCES += \
80 kStuff/kCpu/kCpuCompare.c \
81 kStuff/kCpu/kCpuGetArchAndCpu.c
82
83# kHlp (CRT)
84kStuff_SOURCES += \
85 kStuff/kHlp/Generic/kHlpMemPComp.c \
86 kStuff/kHlp/Generic/kHlpMemICompAscii.c \
87 kStuff/kHlp/Generic/kHlpStrPCat.c \
88 kStuff/kHlp/Generic/kHlpStrNPCat.c \
89 kStuff/kHlp/Generic/kHlpStrPComp.c \
90 kStuff/kHlp/Generic/kHlpStrNPComp.c \
91 kStuff/kHlp/Generic/kHlpStrICompAscii.c \
92 kStuff/kHlp/Generic/kHlpStrIPCompAscii.c \
93 kStuff/kHlp/Generic/kHlpStrNICompAscii.c \
94 kStuff/kHlp/Generic/kHlpStrNIPCompAscii.c \
95 kStuff/kHlp/Generic/kHlpStrPCopy.c \
96 kStuff/kHlp/Generic/kHlpStrNLen.c \
97 kStuff/kHlp/Generic/kHlpInt2Ascii.c \
98 \
99 kStuff/kHlp/Generic/kHlpGetEnvUZ.c \
100 \
101 kStuff/kHlp/Generic/kHlpGetExt.c \
102 kStuff/kHlp/Generic/kHlpGetFilename.c \
103 kStuff/kHlp/Generic/kHlpIsFilenameOnly.c \
104 \
105 kStuff/kHlp/Generic/kHlpPage.c \
106 \
107 kStuff/kHlp/CRT/kHlpCRTAlloc.cpp \
108 kStuff/kHlp/CRT/kHlpCRTEnv.cpp \
109 kStuff/kHlp/CRT/kHlpCRTString.cpp
110kStuff_SOURCES.darwin += \
111 kStuff/kHlp/Bare/kHlpSys-darwin.c
112
113
114
115include $(KBUILD_PATH)/subfooter.kmk
116
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