haiku/src/kits/shared/Jamfile
Rene Gollent 8028ede7db Build: Add architecture rule for libshared.a.
- As suggested by Ingo, add libshared.a to the architecture name map.
  This allows it to be linked by its short name like other frequently
  used libraries.
- Adjust all Jamfiles referencing the lib accordingly.
2016-01-15 21:12:24 -05:00

73 lines
1.6 KiB
Plaintext

SubDir HAIKU_TOP src kits shared ;
SetSubDirSupportedPlatformsBeOSCompatible ;
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 ;
StaticLibrary <$(architecture)>libshared.a :
AboutMenuItem.cpp
ArgumentVector.cpp
AttributeUtilities.cpp
CalendarView.cpp
ColorQuantizer.cpp
CommandPipe.cpp
DragTrackingFilter.cpp
DriverSettingsMessageAdapter.cpp
Geolocation.cpp
HashString.cpp
IconButton.cpp
IconView.cpp
Json.cpp
Keymap.cpp
LongAndDragTrackingFilter.cpp
MessageBuilder.cpp
NaturalCompare.cpp
PromptWindow.cpp
QueryFile.cpp
RegExp.cpp
RWLocker.cpp
RWLockManager.cpp
SHA256.cpp
ShakeTrackingFilter.cpp
StringForRate.cpp
StringForSize.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
;