xref: /haiku/src/kits/Jamfile (revision b671e9bbdbd10268a042b4f4cc4317ccd03d105e)
1SubDir HAIKU_TOP src kits ;
2
3# If defined allows to run applications without the registrar
4# -- for development only, of course.
5if $(RUN_WITHOUT_REGISTRAR) {
6	local defines = [ FDefines RUN_WITHOUT_REGISTRAR ] ;
7	SubDirCcFlags $(defines) ;
8	SubDirC++Flags $(defines) ;
9}
10
11# If defined allows to run applications without the app server
12# -- needed until the app server runs on our kernel.
13RUN_WITHOUT_APP_SERVER ?= 0 ;
14if $(RUN_WITHOUT_APP_SERVER) != 0 {
15	local defines = [ FDefines RUN_WITHOUT_APP_SERVER ] ;
16	SubDirCcFlags $(defines) ;
17	SubDirC++Flags $(defines) ;
18}
19
20UsePrivateHeaders [ FDirName kernel ] ;  # For KMessage.h
21#UsePrivateHeaders syslog_daemon ;		# For syslog.cpp
22
23# Build our libbe.so
24
25AddResources libbe.so : libbe_version.rdef ;
26
27SetVersionScript libbe.so : libbe_versions ;
28
29SharedLibrary libbe.so :
30	:
31	<libbe>app_kit.o
32	<libbe>interface_kit.o
33	<libbe>storage_kit.o
34	<libbe>support_kit.o
35
36	libicon.a
37	libagg.a
38
39	libroot.so	# make sure it links against our libroot.so
40	$(TARGET_LIBSTDC++)
41;
42
43# Build libbe_test.so
44
45SetSupportedPlatformsForTarget libbe_test.so : libbe_test ;
46
47SetVersionScript libbe_test.so : libbe_test_versions ;
48
49SharedLibrary libbe_test.so :
50	:
51	<libbe>app_kit.o
52	<libbe>interface_kit.o
53	<libbe>storage_kit.o
54	<libbe>support_kit.o
55
56	libicon.a
57	libagg.a
58
59	$(TARGET_LIBSTDC++)
60;
61
62#SEARCH on [ FGristFiles KMessage.cpp ]
63#	= [ FDirName $(HAIKU_TOP) src system kernel messaging ] ;
64#
65#SEARCH on [ FGristFiles syslog.cpp ]
66#	= [ FDirName $(HAIKU_TOP) src system libroot posix ] ;
67
68
69SubInclude HAIKU_TOP src kits app ;
70SubInclude HAIKU_TOP src kits bluetooth ;
71SubInclude HAIKU_TOP src kits debug ;
72SubInclude HAIKU_TOP src kits device ;
73SubInclude HAIKU_TOP src kits game ;
74SubInclude HAIKU_TOP src kits interface ;
75SubInclude HAIKU_TOP src kits locale ;
76SubInclude HAIKU_TOP src kits mail ;
77SubInclude HAIKU_TOP src kits media ;
78SubInclude HAIKU_TOP src kits midi ;
79SubInclude HAIKU_TOP src kits midi2 ;
80SubInclude HAIKU_TOP src kits network ;
81SubInclude HAIKU_TOP src kits opengl ;
82SubInclude HAIKU_TOP src kits print ;
83SubInclude HAIKU_TOP src kits screensaver ;
84SubInclude HAIKU_TOP src kits shared ;
85SubInclude HAIKU_TOP src kits storage ;
86SubInclude HAIKU_TOP src kits support ;
87SubInclude HAIKU_TOP src kits textencoding ;
88SubInclude HAIKU_TOP src kits tracker ;
89SubInclude HAIKU_TOP src kits translation ;
90