2 include $(TOP)/config/make.cfg
4 #MM kernel-exec-includes : \
5 #MM compiler-includes \
6 #MM kernel-exec-includes-$(ARCH)-$(CPU) \
7 #MM includes-$(ARCH)-$(CPU)
10 abortio adddevice addhead addintserver addlibrary addmemhandler \
11 addmemlist addport addresource addsemaphore addtail addtask alert \
12 allocabs allocate allocentry allocmem allocpooled allocsignal \
13 alloctrap allocvec attemptsemaphore attemptsemaphoreshared availmem \
14 cachecleare cacheclearu cachecontrol cachepostdma cachepredma cause \
15 checkio childfree childorphan childstatus childwait closedevice \
16 closelibrary coldreboot copymem copymemquick createiorequest \
17 createmsgport createpool deallocate debug deleteiorequest \
18 deletemsgport deletepool disable dispatch doio enable enqueue \
19 exception findname findport findresident findsemaphore findtask \
20 forbid freeentry freemem freepooled freesignal freetrap freevec getcc \
21 getmsg initcode initresident initsemaphore initstruct insert \
22 makefunctions makelibrary obtainquickvector obtainsemaphore \
23 obtainsemaphorelist obtainsemaphoreshared oldopenlibrary opendevice \
24 openlibrary openresource permit preparecontext procure putmsg rawdofmt \
25 rawioinit rawmaygetchar rawputchar releasesemaphore \
26 releasesemaphorelist remdevice remhead remintserver remlibrary \
27 remmemhandler remove remport remresource remsemaphore remtail remtask \
28 replymsg reschedule sendio setexcept setfunction setintvector \
29 setsignal setsr settaskpri signal stackswap sumkickdata sumlibrary \
30 superstate supervisor switch taggedopenlibrary typeofmem userstate \
31 vacate wait waitio waitport allocvecpooled freevecpooled newallocentry \
35 INIT_FILE := exec_init
36 SYS_FILES := prepareexecbase
37 FILES := traphandler exec_util idletask
39 ifeq ($(FLAVOUR),palmnative)
40 #basically the same as 'not native' a few lines above except for LIB:=.
41 FILES += romtagscanner
44 ifeq ($(FLAVOUR),native)
45 DEPLIBS := arossupport arosc
50 # I need the private includes (for SIZEOF_ALL_REGISTERS) and they
51 # have to be first in the list
52 USER_CFLAGS := -I. -I$(GENINCDIR) -idirafter /usr/include
54 # As a hack the SYS_FILES are added as the initfile.
55 %build_module mmake=kernel-exec \
56 modname=exec modtype=library \
57 files="$(SYS_FILES) $(INIT_FILE) $(ALL_FUNCTIONS) $(FILES)" \
60 # ***** Native ***************
61 # Uncommented because unsupported at the moment
62 #ifeq ($(FLAVOUR),native)
64 ## Main function for exec.strap. Need this apart as an anchor for the link:
65 #INIT_FILE := execstrap_init
66 #OSMODULE := exec.strap
67 #LIB := $(LIBDIR)/lib$(LIBNAME).a
69 ## Other support files:
72 # initcode initstruct makelibrary makefunctions findresident \
73 # initresident setintvector addintserver remintserver \
74 # availmem allocentry freeentry typeofmem addmemlist \
75 # addmemhandler remmemhandler insert addhead addtail remove remhead \
76 # remtail enqueue findname setsignal allocsignal freesignal addport \
77 # remport waitport findport createmsgport deletemsgport putmsg getmsg \
78 # replymsg doio sendio checkio waitio abortio createiorequest \
79 # deleteiorequest addresource remresource openresource addlibrary \
80 # remlibrary oldopenlibrary closelibrary setfunction sumlibrary \
81 # openlibrary taggedopenlibrary adddevice remdevice opendevice \
82 # closedevice findtask rawdofmt allocvec freevec initsemaphore \
83 # attemptsemaphore findsemaphore addsemaphore remsemaphore \
84 # obtainsemaphoreshared attemptsemaphoreshared createpool deletepool \
85 # allocpooled freepooled \
86 # cacheclearu cachepredma cachepostdma \
87 # disable forbid coldreboot getcc
91 ## ***** Not Native ***************