xref: /haiku/src/kits/Jamfile (revision e5430a086c769ea76c3944046b1f07cf049c1ae0)
1SubDir OBOS_TOP src kits ;
2
3# Collect libopenbeos.so sources.
4subdirs = app interface support storage ;
5for subdir in $(subdirs) {
6	local dir = [ FDirName $(SUBDIR) $(subdir) ] ;
7	local file = $(subdir:S=.src) ;
8	include $(file:D=$(dir)) ;
9	UsePrivateHeaders $(subdir) ;
10	SEARCH_SOURCE += $(dir) ;
11}
12
13UsePrivateHeaders shared app ;
14
15# Add subsubdirs to the SEARCH_SOURCE.
16SEARCH_SOURCE += [ FDirName $(SUBDIR) interface BTextView ] ;
17SEARCH_SOURCE += [ FDirName $(SUBDIR) storage mime ] ;
18SEARCH_SOURCE += [ FDirName $(SUBDIR) storage sniffer ] ;
19
20SharedLibrary openbeos :
21	$(APP_KIT_SOURCE)
22	$(INTERFACE_KIT_SOURCE)
23	$(SUPPORT_KIT_SOURCE)
24	$(STORAGE_KIT_SOURCE)
25;
26
27LinkSharedOSLibs libopenbeos.so :
28	libbeadapter.so
29	be
30	stdc++.r4 ;
31
32# The adapter library we need (Storage Kit).
33#
34SharedLibrary beadapter :
35	LibBeAdapter.cpp
36;
37LinkSharedOSLibs libbeadapter.so :
38	be
39;
40
41# Note: If you want to use /boot/home/config/lib/libopenbeos.so in another
42# rule, use the identifier <boot!home!config!lib>libopenbeos.so, otherwise
43# libopenbeos.so.
44LOCATE on <boot!home!config!lib>libopenbeos.so
45		  <boot!home!config!lib>libbeadapter.so = /boot/home/config/lib ;
46File <boot!home!config!lib>libopenbeos.so : libopenbeos.so ;
47File <boot!home!config!lib>libbeadapter.so : libbeadapter.so ;
48Includes <boot!home!config!lib>libopenbeos.so
49	: <boot!home!config!lib>libbeadapter.so ;
50
51SubInclude OBOS_TOP src kits app ;
52SubInclude OBOS_TOP src kits interface ;
53SubInclude OBOS_TOP src kits media ;
54SubInclude OBOS_TOP src kits midi ;
55SubInclude OBOS_TOP src kits midi2 ;
56SubInclude OBOS_TOP src kits screensaver ;
57SubInclude OBOS_TOP src kits storage ;
58SubInclude OBOS_TOP src kits support ;
59SubInclude OBOS_TOP src kits translation ;
60SubInclude OBOS_TOP src kits device ;
61SubInclude OBOS_TOP src kits game ;
62SubInclude OBOS_TOP src kits network ;
63