d9ef4f90bb
APE reader was using a GPL licensed version of MD5. A similar implementation in the public domain was available in libnetapi, which I moved to libshared so the APE reader can use it (and made some fixes, missing const mainly). It only needs a small wrapper to use it easily from C++ in a way compatible with the previous implementation. Part of #13814.
83 lines
1.8 KiB
Plaintext
83 lines
1.8 KiB
Plaintext
SubDir HAIKU_TOP src kits shared ;
|
|
|
|
AddSubDirSupportedPlatforms libbe_test ;
|
|
|
|
UseLibraryHeaders agg ;
|
|
UsePrivateHeaders shared locale ;
|
|
|
|
if [ Glob $(SUBDIR) : DefaultGeolocationServiceKey.h ] {
|
|
SubDirC++Flags [ FDefines HAVE_DEFAULT_GEOLOCATION_SERVICE_KEY ] ;
|
|
}
|
|
|
|
local architectureObject ;
|
|
for architectureObject in [ MultiArchSubDirSetup ] {
|
|
on $(architectureObject) {
|
|
local architecture = $(TARGET_PACKAGING_ARCH) ;
|
|
|
|
UseHeaders [ FDirName
|
|
$(TARGET_COMMON_DEBUG_OBJECT_DIR_$(TARGET_PACKAGING_ARCHS[1]))
|
|
servers input ] ;
|
|
# For the generated SystemKeymap.h. We're fine with the one for the
|
|
# primary architecture.
|
|
UseHeaders [ FDirName $(HAIKU_TOP) src kits ] ;
|
|
|
|
# for RWLockManager only
|
|
UsePrivateSystemHeaders ;
|
|
UsePrivateHeaders kernel libroot ;
|
|
|
|
# for BKeymap
|
|
UsePrivateHeaders interface ;
|
|
|
|
StaticLibrary <$(architecture)>libshared.a :
|
|
AboutMenuItem.cpp
|
|
ArgumentVector.cpp
|
|
AttributeUtilities.cpp
|
|
BitmapButton.cpp
|
|
CalendarView.cpp
|
|
ColorQuantizer.cpp
|
|
CommandPipe.cpp
|
|
DragTrackingFilter.cpp
|
|
DriverSettingsMessageAdapter.cpp
|
|
Geolocation.cpp
|
|
HashString.cpp
|
|
IconButton.cpp
|
|
IconView.cpp
|
|
JsonWriter.cpp
|
|
JsonEventListener.cpp
|
|
JsonMessageWriter.cpp
|
|
JsonTextWriter.cpp
|
|
JsonEvent.cpp
|
|
Json.cpp
|
|
Keymap.cpp
|
|
LongAndDragTrackingFilter.cpp
|
|
md5.c
|
|
MessageBuilder.cpp
|
|
NaturalCompare.cpp
|
|
PromptWindow.cpp
|
|
QueryFile.cpp
|
|
RegExp.cpp
|
|
RWLocker.cpp
|
|
RWLockManager.cpp
|
|
SettingsHandler.cpp
|
|
ShakeTrackingFilter.cpp
|
|
StringForRate.cpp
|
|
StringForSize.cpp
|
|
StripeView.cpp
|
|
TextTable.cpp
|
|
Thread.cpp
|
|
ToolBar.cpp
|
|
Variant.cpp
|
|
;
|
|
|
|
Includes [ FGristFiles Keymap.cpp ]
|
|
: <src!servers!input>SystemKeymap.h ;
|
|
}
|
|
}
|
|
|
|
|
|
UseLibraryHeaders mapm ;
|
|
|
|
StaticLibrary libexpression_parser.a :
|
|
ExpressionParser.cpp
|
|
;
|