Incorporated libstorage.so into libopenbeos.so.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@964 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2002-09-03 01:08:53 +00:00
parent cc3b892702
commit bb74cb4be5
2 changed files with 33 additions and 94 deletions

View File

@ -1,33 +1,53 @@
SubDir OBOS_TOP src kits ;
include $(SUBDIR)/app/app.src ;
include $(SUBDIR)/interface/interface.src ;
include $(SUBDIR)/support/support.src ;
# Collect libopenbeos.so sources.
subdirs = app interface support storage ;
for subdir in $(subdirs) {
local dir = [ FDirName $(SUBDIR) $(subdir) ] ;
local file = $(subdir:S=.src) ;
include $(file:D=$(dir)) ;
UsePrivateHeaders $(subdir) ;
UsePublicHeaders $(subdir) ;
SEARCH_SOURCE += $(dir) ;
}
UsePrivateHeaders app ;
UsePrivateHeaders interface ;
UsePublicHeaders [ FDirName add-ons file_system ] ;
UsePrivateHeaders shared ;
UsePrivateHeaders support ;
UsePublicHeaders app ;
UsePublicHeaders interface ;
UsePublicHeaders support ;
# Add subsubdirs to the SEARCH_SOURCE.
SEARCH_SOURCE += [ FDirName $(SUBDIR) storage mime ] ;
SEARCH_SOURCE += [ FDirName $(SUBDIR) storage sniffer ] ;
SharedLibrary openbeos :
<$(SOURCE_GRIST)>app/$(APP_KIT_SOURCE)
<$(SOURCE_GRIST)>interface/$(INTERFACE_KIT_SOURCE)
<$(SOURCE_GRIST)>support/$(SUPPORT_KIT_SOURCE)
$(APP_KIT_SOURCE)
$(INTERFACE_KIT_SOURCE)
$(SUPPORT_KIT_SOURCE)
$(STORAGE_KIT_SOURCE)
;
LinkSharedOSLibs libopenbeos.so :
libbeadapter.so
be
stdc++.r4 ;
# The adapter library we need (Storage Kit).
#
SharedLibrary beadapter :
LibBeAdapter.cpp
;
LinkSharedOSLibs libbeadapter.so :
be
;
# Note: If you want to use /boot/home/config/lib/libopenbeos.so in another
# rule, use the identifier <boot!home!config!lib>libopenbeos.so, otherwise
# libopenbeos.so.
LOCATE on <boot!home!config!lib>libopenbeos.so = /boot/home/config/lib ;
LOCATE on <boot!home!config!lib>libopenbeos.so
<boot!home!config!lib>libbeadapter.so = /boot/home/config/lib ;
File <boot!home!config!lib>libopenbeos.so : libopenbeos.so ;
File <boot!home!config!lib>libbeadapter.so : libbeadapter.so ;
Includes <boot!home!config!lib>libopenbeos.so
: <boot!home!config!lib>libbeadapter.so ;
SubInclude OBOS_TOP src kits app ;
SubInclude OBOS_TOP src kits interface ;

View File

@ -1,82 +1 @@
SubDir OBOS_TOP src kits storage ;
# The adapter library we need.
SharedLibrary beadapter :
LibBeAdapter.cpp
;
LinkSharedOSLibs libbeadapter.so :
be
;
# The library containing the storage kit classes.
UsePrivateHeaders storage ;
UsePrivateHeaders app ;
UsePublicHeaders storage ;
UsePublicHeaders app ;
UsePublicHeaders [ FDirName add-ons file_system ] ;
# This is something of a hack until we get around to
# compiling the sniffer code separately into an archive
# that can just be linked into libstorage.so and the
# registrar separately.
SEARCH_SOURCE += [ FDirName $(SUBDIR) sniffer ] ;
SEARCH_SOURCE += [ FDirName $(SUBDIR) mime ] ;
SharedLibrary storage :
# storage
AppFileInfo.cpp
Directory.cpp
Entry.cpp
EntryList.cpp
File.cpp
FindDirectory.cpp
Mime.cpp
MimeType.cpp
Node.cpp
NodeInfo.cpp
OffsetFile.cpp
Path.cpp
Query.cpp
QueryPredicate.cpp
ResourcesContainer.cpp
ResourceFile.cpp
ResourceItem.cpp
Resources.cpp
ResourceStrings.cpp
Statable.cpp
SymLink.cpp
Volume.cpp
VolumeRoster.cpp
kernel_interface.POSIX.cpp
storage_support.cpp
# storage/sniffer
Err.cpp
DisjList.cpp
Pattern.cpp
PatternList.cpp
Parser.cpp
Range.cpp
RPattern.cpp
RPatternList.cpp
Rule.cpp
# storage/mime
Database.cpp
InstalledTypes.cpp
Supertype.cpp
SupportingApps.cpp
database_access.cpp
database_support.cpp
;
LinkSharedOSLibs libstorage.so :
libopenbeos.so
be
libbeadapter.so
stdc++.r4
;