Jam: Remove BinCommand, Executable, Server and Preference rules

They are all equivalent to the Application rule. Let's make things simpler.

Change-Id: I71f8518dae275542019d95fbdd7548b2129eeca8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9237
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
PulkoMandy
2025-05-04 21:30:49 +00:00
committed by Adrien Destugues
parent 0cb1b20a1f
commit c1b0e7e0c5
107 changed files with 123 additions and 148 deletions
+3 -28
View File
@@ -41,9 +41,9 @@ rule AddSharedObjectGlueCode
} }
} }
rule Executable rule Application
{ {
# Executable <name> : <sources> : <libraries> : <res> ; # Application <name> : <sources> : <libraries> : <res> ;
# #
if ! [ IsPlatformSupportedForTarget $(1) ] { if ! [ IsPlatformSupportedForTarget $(1) ] {
return ; return ;
@@ -60,18 +60,6 @@ rule Executable
AddSharedObjectGlueCode $(1) : true ; AddSharedObjectGlueCode $(1) : true ;
} }
rule Application
{
# Application <name> : <sources> : <libraries> : <res> ;
Executable $(1) : $(2) : $(3) : $(4) ;
}
rule BinCommand
{
# BinCommand <name> : <sources> : <libraries> : <res> ;
Executable $(1) : $(2) : $(3) : $(4) ;
}
rule StdBinCommands rule StdBinCommands
{ {
# StdBinCommands <sources> : <libs> : <res> ; # StdBinCommands <sources> : <libs> : <res> ;
@@ -82,23 +70,10 @@ rule StdBinCommands
{ {
local target = $(source:S=) ; local target = $(source:S=) ;
BinCommand $(target) : $(source) : $(libs) : $(ress) ; Application $(target) : $(source) : $(libs) : $(ress) ;
} }
} }
rule Preference
{
# Preference <name> : <sources> : <libraries> : <res> ;
Executable $(1) : $(2) : $(3) : $(4) ;
}
rule Server
{
# Server <name> : <sources> : <libraries> : <res> ;
Executable $(1) : $(2) : $(3) : $(4) ;
}
rule Addon target : sources : libraries : isExecutable rule Addon target : sources : libraries : isExecutable
{ {
# Addon <target> : <sources> : <is executable> : <libraries> ; # Addon <target> : <sources> : <is executable> : <libraries> ;
+1 -1
View File
@@ -98,7 +98,7 @@ rule SimpleTest
DEBUG on $(1) [ FGristFiles $(2:S=$(SUFOBJ)) ] ?= 1 ; DEBUG on $(1) [ FGristFiles $(2:S=$(SUFOBJ)) ] ?= 1 ;
} }
Executable $(1) : $(2) : $(3) : $(4) ; Application $(1) : $(2) : $(3) : $(4) ;
} }
+1 -1
View File
@@ -4,7 +4,7 @@ AddSubDirSupportedPlatforms libbe_test ;
UsePrivateHeaders interface shared storage tracker ; UsePrivateHeaders interface shared storage tracker ;
Preference DriveSetup : Application DriveSetup :
AbstractParametersPanel.cpp AbstractParametersPanel.cpp
ChangeParametersPanel.cpp ChangeParametersPanel.cpp
CreateParametersPanel.cpp CreateParametersPanel.cpp
+1 -1
View File
@@ -3,6 +3,6 @@ SubDir HAIKU_TOP src bin acpi_call ;
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) add-ons kernel bus_managers acpi acpica include ] ; SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) add-ons kernel bus_managers acpi acpica include ] ;
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) add-ons kernel bus_managers acpi acpica include platform ] ; SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) add-ons kernel bus_managers acpi acpica include platform ] ;
BinCommand acpi_call : Application acpi_call :
acpi_call.cpp acpi_call.cpp
; ;
+1 -1
View File
@@ -1,6 +1,6 @@
SubDir HAIKU_TOP src bin addattr ; SubDir HAIKU_TOP src bin addattr ;
BinCommand addattr : Application addattr :
main.cpp main.cpp
addAttr.cpp addAttr.cpp
: be : be
+1 -1
View File
@@ -4,7 +4,7 @@ UsePrivateHeaders drivers ;
AddResources cddb_lookup : cddb_lookup.rdef ; AddResources cddb_lookup : cddb_lookup.rdef ;
BinCommand cddb_lookup : Application cddb_lookup :
cddb_lookup.cpp cddb_lookup.cpp
cddb_server.cpp cddb_server.cpp
: be bnetapi [ TargetLibsupc++ ] : be bnetapi [ TargetLibsupc++ ]
+1 -1
View File
@@ -7,7 +7,7 @@ UsePrivateSystemHeaders ;
StaticLibrary <bin>debug_utils.a : debug_utils.cpp ; StaticLibrary <bin>debug_utils.a : debug_utils.cpp ;
BinCommand kernel_debugger : kernel_debugger.cpp Application kernel_debugger : kernel_debugger.cpp
: :
[ TargetLibsupc++ ] [ TargetLibsupc++ ]
; ;
+1 -1
View File
@@ -6,7 +6,7 @@ UsePrivateHeaders runtime_loader ;
UsePrivateHeaders shared ; UsePrivateHeaders shared ;
UsePrivateSystemHeaders ; UsePrivateSystemHeaders ;
BinCommand ltrace Application ltrace
: :
ltrace.cpp ltrace.cpp
; ;
+1 -1
View File
@@ -8,7 +8,7 @@ UsePrivateSystemHeaders ;
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) ] ; SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) ] ;
BinCommand profile Application profile
: :
BasicProfileResult.cpp BasicProfileResult.cpp
CallgrindProfileResult.cpp CallgrindProfileResult.cpp
+1 -1
View File
@@ -5,7 +5,7 @@ UsePrivateSystemHeaders ;
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) ] ; SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) ] ;
BinCommand scheduling_recorder Application scheduling_recorder
: :
scheduling_recorder.cpp scheduling_recorder.cpp
: :
+1 -1
View File
@@ -57,7 +57,7 @@ for i in $(straceSyscallsIndices) {
: GET_SYSCALLS=get_syscalls$(i) SYSCALLS_CHUNK_$(i) ; : GET_SYSCALLS=get_syscalls$(i) SYSCALLS_CHUNK_$(i) ;
} }
BinCommand strace : $(straceSources) Application strace : $(straceSources)
: :
$(straceSyscallsObjects) $(straceSyscallsObjects)
<bin>debug_utils.a <bin>debug_utils.a
+1 -1
View File
@@ -7,7 +7,7 @@ UsePrivateSystemHeaders ;
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) ] ; SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) ] ;
BinCommand time_stats Application time_stats
: :
scheduling_analysis.cpp scheduling_analysis.cpp
time_stats.cpp time_stats.cpp
+1 -1
View File
@@ -2,7 +2,7 @@ SubDir HAIKU_TOP src bin desklink ;
UsePrivateHeaders app interface shared ; UsePrivateHeaders app interface shared ;
BinCommand desklink : Application desklink :
desklink.cpp desklink.cpp
DeskButton.cpp DeskButton.cpp
MediaReplicant.cpp MediaReplicant.cpp
+1 -1
View File
@@ -3,7 +3,7 @@ SubDir HAIKU_TOP src bin fwcontrol ;
UseHeaders [ FDirName $(HAIKU_TOP) headers compatibility bsd ] : true ; UseHeaders [ FDirName $(HAIKU_TOP) headers compatibility bsd ] : true ;
UsePrivateHeaders firewire ; UsePrivateHeaders firewire ;
BinCommand fwcontrol : Application fwcontrol :
eui64.c eui64.c
fwcrom.c fwcrom.c
fwdv.c fwdv.c
+1 -1
View File
@@ -9,7 +9,7 @@ SubDirC++Flags $(defines) ;
UsePrivateHeaders drivers ; UsePrivateHeaders drivers ;
UseHeaders $(driverDir) ; UseHeaders $(driverDir) ;
BinCommand hid_decode : Application hid_decode :
HIDCollection.cpp HIDCollection.cpp
HIDParser.cpp HIDParser.cpp
HIDReport.cpp HIDReport.cpp
+1 -1
View File
@@ -2,6 +2,6 @@ SubDir HAIKU_TOP src bin i2c ;
UsePrivateHeaders i2c shared ; UsePrivateHeaders i2c shared ;
BinCommand <bin>i2c : Application <bin>i2c :
i2c.cpp i2c.cpp
; ;
+1 -1
View File
@@ -4,7 +4,7 @@ UsePrivateHeaders shared storage ;
SubDirSysHdrs $(HAIKU_TOP) headers compatibility bsd ; SubDirSysHdrs $(HAIKU_TOP) headers compatibility bsd ;
BinCommand keymap : Application keymap :
main.cpp main.cpp
Keymap.cpp Keymap.cpp
: be shared [ TargetLibsupc++ ] : be shared [ TargetLibsupc++ ]
+1 -1
View File
@@ -1,6 +1,6 @@
SubDir HAIKU_TOP src bin keystore ; SubDir HAIKU_TOP src bin keystore ;
BinCommand keystore : Application keystore :
keystore.cpp keystore.cpp
: be : be
: keystore.rdef ; : keystore.rdef ;
+1 -1
View File
@@ -3,7 +3,7 @@ SubDir HAIKU_TOP src bin listdev ;
UsePrivateHeaders shared ; UsePrivateHeaders shared ;
UsePrivateSystemHeaders ; UsePrivateSystemHeaders ;
BinCommand listdev : Application listdev :
dm_wrapper.c dm_wrapper.c
listdev.cpp listdev.cpp
; ;
+1 -1
View File
@@ -4,7 +4,7 @@ UsePrivateHeaders shared usb ;
UsePrivateHeaders drivers ; UsePrivateHeaders drivers ;
UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers usb ] ; UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers usb ] ;
BinCommand listusb : Application listusb :
listusb.cpp listusb.cpp
usb_audio.cpp usb_audio.cpp
usb_video.cpp usb_video.cpp
+4 -4
View File
@@ -5,11 +5,11 @@ SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits tracker ] ;
UsePublicHeaders locale ; UsePublicHeaders locale ;
UsePrivateHeaders locale shared ; UsePrivateHeaders locale shared ;
BinCommand collectcatkeys : collectcatkeys.cpp RegExp.cpp Application collectcatkeys : collectcatkeys.cpp RegExp.cpp
: be localestub [ TargetLibsupc++ ] ; : be localestub [ TargetLibsupc++ ] ;
BinCommand linkcatkeys : linkcatkeys.cpp : be [ TargetLibstdc++ ] ; Application linkcatkeys : linkcatkeys.cpp : be [ TargetLibstdc++ ] ;
BinCommand dumpcatalog : dumpcatalog.cpp : be [ TargetLibsupc++ ] ; Application dumpcatalog : dumpcatalog.cpp : be [ TargetLibsupc++ ] ;
BinCommand locale : locale.cpp : be [ TargetLibsupc++ ] ; Application locale : locale.cpp : be [ TargetLibsupc++ ] ;
@@ -1,3 +1,3 @@
SubDir HAIKU_TOP src bin makebootable platform atari_m68k ; SubDir HAIKU_TOP src bin makebootable platform atari_m68k ;
BinCommand makebootable : makebootable.cpp ; Application makebootable : makebootable.cpp ;
@@ -8,4 +8,4 @@ UsePrivateSystemHeaders ;
# write the stage 1 boot loader into the makebootable resources # write the stage 1 boot loader into the makebootable resources
AddFileDataResource makebootable : RAWT:666:BootCode : stage1.bin ; AddFileDataResource makebootable : RAWT:666:BootCode : stage1.bin ;
BinCommand makebootable : makebootable.cpp : be [ TargetLibsupc++ ] ; Application makebootable : makebootable.cpp : be [ TargetLibsupc++ ] ;
+1 -1
View File
@@ -1,3 +1,3 @@
SubDir HAIKU_TOP src bin makebootable platform efi ; SubDir HAIKU_TOP src bin makebootable platform efi ;
BinCommand makebootable : makebootable.cpp ; Application makebootable : makebootable.cpp ;
@@ -1,3 +1,3 @@
SubDir HAIKU_TOP src bin makebootable platform openfirmware ; SubDir HAIKU_TOP src bin makebootable platform openfirmware ;
BinCommand makebootable : makebootable.cpp ; Application makebootable : makebootable.cpp ;
@@ -3,7 +3,7 @@ SubDir HAIKU_TOP src bin makebootable platform pxe_ia32 ;
# write the stage 1 boot loader into the makebootable resources # write the stage 1 boot loader into the makebootable resources
AddFileDataResource makebootable : RAWT:666:BootCode : stage1.bin ; AddFileDataResource makebootable : RAWT:666:BootCode : stage1.bin ;
BinCommand makebootable : makebootable.cpp : be [ TargetLibsupc++ ] ; Application makebootable : makebootable.cpp : be [ TargetLibsupc++ ] ;
SEARCH on [ FGristFiles makebootable.cpp ] SEARCH on [ FGristFiles makebootable.cpp ]
= [ FDirName $(SUBDIR) $(DOTDOT) bios_ia32 ] ; = [ FDirName $(SUBDIR) $(DOTDOT) bios_ia32 ] ;
+1 -1
View File
@@ -1,3 +1,3 @@
SubDir HAIKU_TOP src bin makebootable platform u-boot ; SubDir HAIKU_TOP src bin makebootable platform u-boot ;
BinCommand makebootable : makebootable.cpp ; Application makebootable : makebootable.cpp ;
+1 -1
View File
@@ -3,7 +3,7 @@ SubDir HAIKU_TOP src bin mkfs ;
UsePrivateHeaders shared ; UsePrivateHeaders shared ;
UsePrivateHeaders storage ; UsePrivateHeaders storage ;
BinCommand mkfs : Application mkfs :
main.cpp main.cpp
FsCreator.cpp FsCreator.cpp
: be [ TargetLibstdc++ ] ; : be [ TargetLibstdc++ ] ;
+8 -8
View File
@@ -10,21 +10,21 @@ UseHeaders [ FDirName $(HAIKU_TOP) headers compatibility bsd ] : true ;
StaticLibrary libmultiuser_utils.a : multiuser_utils.cpp ; StaticLibrary libmultiuser_utils.a : multiuser_utils.cpp ;
BinCommand login : login.cpp : libmultiuser_utils.a libbsd.so ; Application login : login.cpp : libmultiuser_utils.a libbsd.so ;
BinCommand su : su.cpp : libmultiuser_utils.a libbsd.so ; Application su : su.cpp : libmultiuser_utils.a libbsd.so ;
BinCommand passwd : passwd.cpp : libmultiuser_utils.a libbsd.so ; Application passwd : passwd.cpp : libmultiuser_utils.a libbsd.so ;
BinCommand useradd : useradd.cpp ; Application useradd : useradd.cpp ;
BinCommand userdel : userdel.cpp ; Application userdel : userdel.cpp ;
BinCommand groupadd : groupadd.cpp ; Application groupadd : groupadd.cpp ;
BinCommand groupdel : groupdel.cpp ; Application groupdel : groupdel.cpp ;
BinCommand groupmod : groupmod.cpp : [ TargetLibstdc++ ] ; Application groupmod : groupmod.cpp : [ TargetLibstdc++ ] ;
# set set-uid bit on passwd, su # set set-uid bit on passwd, su
MODE on passwd = 04755 ; MODE on passwd = 04755 ;
+1 -1
View File
@@ -3,7 +3,7 @@ SubDir HAIKU_TOP src bin network arp ;
UsePrivateHeaders net ; UsePrivateHeaders net ;
UsePrivateSystemHeaders ; UsePrivateSystemHeaders ;
BinCommand arp : Application arp :
arp.cpp arp.cpp
: $(TARGET_NETWORK_LIBS) $(TARGET_SELECT_UNAME_ETC_LIB) ; : $(TARGET_NETWORK_LIBS) $(TARGET_SELECT_UNAME_ETC_LIB) ;
+1 -1
View File
@@ -3,7 +3,7 @@ SubDir HAIKU_TOP src bin network ftpd ;
UseHeaders [ FDirName $(HAIKU_TOP) headers compatibility bsd ] : true ; UseHeaders [ FDirName $(HAIKU_TOP) headers compatibility bsd ] : true ;
UseHeaders $(SUBDIR) : true ; UseHeaders $(SUBDIR) : true ;
BinCommand ftpd : Application ftpd :
ftpd.c ftpd.c
ftpcmd.y ftpcmd.y
logwtmp.c logwtmp.c
+1 -1
View File
@@ -5,7 +5,7 @@ UsePrivateHeaders net ;
UseHeaders [ FDirName $(HAIKU_TOP) src libs compat ] : true ; UseHeaders [ FDirName $(HAIKU_TOP) src libs compat ] : true ;
UseHeaders [ FDirName $(HAIKU_TOP) src libs compat freebsd_wlan ] : true ; UseHeaders [ FDirName $(HAIKU_TOP) src libs compat freebsd_wlan ] : true ;
BinCommand ifconfig : Application ifconfig :
ifconfig.cpp ifconfig.cpp
MediaTypes.cpp MediaTypes.cpp
: be network bnetapi [ TargetLibstdc++ ] : be network bnetapi [ TargetLibstdc++ ]
+1 -1
View File
@@ -4,7 +4,7 @@ UsePrivateHeaders net ;
#AddResources mount_nfs : mount_nfs.rdef ; #AddResources mount_nfs : mount_nfs.rdef ;
BinCommand mount_nfs : Application mount_nfs :
mount_nfs.cpp mount_nfs.cpp
: libnetwork.so [ TargetLibsupc++ ] : libnetwork.so [ TargetLibsupc++ ]
; ;
+1 -1
View File
@@ -3,7 +3,7 @@ SubDir HAIKU_TOP src bin network netstat ;
UsePrivateHeaders net ; UsePrivateHeaders net ;
UsePrivateSystemHeaders ; # for syscalls.h UsePrivateSystemHeaders ; # for syscalls.h
BinCommand netstat : Application netstat :
netstat.cpp netstat.cpp
: libnetwork.so : libnetwork.so
; ;
+1 -1
View File
@@ -4,7 +4,7 @@ SubDirSysHdrs $(HAIKU_TOP) headers compatibility bsd ;
DEFINES += INET INET6 ; DEFINES += INET INET6 ;
BinCommand ping : Application ping :
main.c main.c
ping.c ping.c
ping6.c ping6.c
+1 -1
View File
@@ -11,7 +11,7 @@ UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared
AddResources ppp_up : ppp_up.rdef ; AddResources ppp_up : ppp_up.rdef ;
BinCommand ppp_up : Application ppp_up :
ConnectionView.cpp ConnectionView.cpp
ConnectionWindow.cpp ConnectionWindow.cpp
PPPDeskbarReplicant.cpp PPPDeskbarReplicant.cpp
+1 -1
View File
@@ -7,7 +7,7 @@ UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared libppp
UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared
libkernelppp headers ] : true ; libkernelppp headers ] : true ;
BinCommand pppconfig : Application pppconfig :
pppconfig.cpp pppconfig.cpp
: :
be libppp.a [ TargetLibsupc++ ] libbsd.so $(TARGET_NETWORK_LIBS) be libppp.a [ TargetLibsupc++ ] libbsd.so $(TARGET_NETWORK_LIBS)
+1 -1
View File
@@ -2,7 +2,7 @@ SubDir HAIKU_TOP src bin network route ;
UsePrivateHeaders net ; UsePrivateHeaders net ;
BinCommand route : Application route :
route.cpp route.cpp
: be libnetwork.so libbnetapi.so : be libnetwork.so libbnetapi.so
; ;
+1 -1
View File
@@ -24,7 +24,7 @@ Includes [ FGristFiles $(sources) ]
: [ BuildFeatureAttribute ncurses : headers ] ; : [ BuildFeatureAttribute ncurses : headers ] ;
BinCommand telnet : Application telnet :
$(sources) $(sources)
: [ BuildFeatureAttribute ncurses : library ] libtelnet.a libutil.a : [ BuildFeatureAttribute ncurses : library ] libtelnet.a libutil.a
libbsd.so $(TARGET_NETWORK_LIBS) libbsd.so $(TARGET_NETWORK_LIBS)
+1 -1
View File
@@ -23,7 +23,7 @@ Includes [ FGristFiles $(sources) ]
: [ BuildFeatureAttribute ncurses : headers ] ; : [ BuildFeatureAttribute ncurses : headers ] ;
BinCommand telnetd : Application telnetd :
$(sources) $(sources)
: [ BuildFeatureAttribute ncurses : library ] libtelnet.a libutil.a : [ BuildFeatureAttribute ncurses : library ] libtelnet.a libutil.a
libbsd.so $(TARGET_NETWORK_LIBS) libbsd.so $(TARGET_NETWORK_LIBS)
+1 -1
View File
@@ -2,7 +2,7 @@ SubDir HAIKU_TOP src bin network traceroute ;
SubDirSysHdrs $(HAIKU_TOP) headers compatibility bsd ; SubDirSysHdrs $(HAIKU_TOP) headers compatibility bsd ;
BinCommand traceroute : Application traceroute :
as.c as.c
findsaddr-haiku.c findsaddr-haiku.c
ifaddrlist.c ifaddrlist.c
+1 -1
View File
@@ -6,7 +6,7 @@ if [ FIsBuildFeatureEnabled zstd ] {
SubDirC++Flags -DZSTD_DEFAULT ; SubDirC++Flags -DZSTD_DEFAULT ;
} }
BinCommand package : Application package :
command_add.cpp command_add.cpp
command_checksum.cpp command_checksum.cpp
command_create.cpp command_create.cpp
+1 -1
View File
@@ -4,7 +4,7 @@ UsePrivateHeaders kernel shared ;
UseHeaders [ FDirName $(HAIKU_TOP) src bin package ] ; UseHeaders [ FDirName $(HAIKU_TOP) src bin package ] ;
BinCommand package_repo : Application package_repo :
command_create.cpp command_create.cpp
command_list.cpp command_list.cpp
command_update.cpp command_update.cpp
+1 -1
View File
@@ -1,6 +1,6 @@
SubDir HAIKU_TOP src bin pc ; SubDir HAIKU_TOP src bin pc ;
BinCommand pc : Application pc :
pc.c pc.c
; ;
+1 -1
View File
@@ -13,7 +13,7 @@ StdBinCommands
dump_cisreg.c dump_cisreg.c
: root ; : root ;
BinCommand pack_cis : Application pack_cis :
pack_cis.c pack_cis.c
lex_cis.l lex_cis.l
yacc_cis.y yacc_cis.y
+1 -1
View File
@@ -2,7 +2,7 @@ SubDir HAIKU_TOP src bin pkgman ;
UsePrivateHeaders shared storage support ; UsePrivateHeaders shared storage support ;
BinCommand pkgman : Application pkgman :
Command.cpp Command.cpp
command_add_repo.cpp command_add_repo.cpp
command_drop_repo.cpp command_drop_repo.cpp
+1 -1
View File
@@ -1,6 +1,6 @@
SubDir HAIKU_TOP src bin query ; SubDir HAIKU_TOP src bin query ;
BinCommand query : Application query :
query.cpp FilteredQuery.cpp query.cpp FilteredQuery.cpp
: be [ TargetLibstdc++ ] : $(haiku-utils_rsrc) ; : be [ TargetLibstdc++ ] : $(haiku-utils_rsrc) ;
+1 -1
View File
@@ -7,7 +7,7 @@ SubDirC++Flags -Wno-sign-compare -Wno-unused ;
StaticLibrary librdef.a : StaticLibrary librdef.a :
compile.cpp decompile.cpp lexer.l parser.y rdef.cpp ; compile.cpp decompile.cpp lexer.l parser.y rdef.cpp ;
BinCommand rc : Application rc :
rc.cpp rc.cpp
: librdef.a [ TargetLibstdc++ ] be : librdef.a [ TargetLibstdc++ ] be
; ;
+1 -1
View File
@@ -5,7 +5,7 @@ UseHeaders [ FDirName headers os add-ons screen_saver ] ;
UsePrivateHeaders interface screen_saver ; UsePrivateHeaders interface screen_saver ;
BinCommand screen_blanker : Application screen_blanker :
ScreenBlanker.cpp ScreenBlanker.cpp
ScreenSaverWindow.cpp ScreenSaverWindow.cpp
PasswordWindow.cpp PasswordWindow.cpp
+1 -1
View File
@@ -6,7 +6,7 @@ UsePrivateHeaders [ FDirName graphics radeon ] ;
SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src preferences screen ] ; SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src preferences screen ] ;
BinCommand screenmode : Application screenmode :
screenmode.cpp screenmode.cpp
# from Screen preferences # from Screen preferences
+1 -1
View File
@@ -4,7 +4,7 @@ AddSubDirSupportedPlatforms libbe_test ;
UsePrivateHeaders shared app interface [ FDirName servers app ] ; UsePrivateHeaders shared app interface [ FDirName servers app ] ;
Preference Appearance : Application Appearance :
AntialiasingSettingsView.cpp AntialiasingSettingsView.cpp
Appearance.cpp Appearance.cpp
AppearanceWindow.cpp AppearanceWindow.cpp
+1 -1
View File
@@ -2,7 +2,7 @@ SubDir HAIKU_TOP src preferences backgrounds ;
UsePrivateHeaders preferences shared ; UsePrivateHeaders preferences shared ;
Preference Backgrounds : Application Backgrounds :
BackgroundImage.cpp BackgroundImage.cpp
Backgrounds.cpp Backgrounds.cpp
BackgroundsView.cpp BackgroundsView.cpp
+1 -1
View File
@@ -5,7 +5,7 @@ UsePrivateHeaders shared ;
AddResources Bluetooth : Bluetooth.rdef ; AddResources Bluetooth : Bluetooth.rdef ;
Preference Bluetooth : Application Bluetooth :
BluetoothDeviceView.cpp BluetoothDeviceView.cpp
BluetoothMain.cpp BluetoothMain.cpp
BluetoothSettings.cpp BluetoothSettings.cpp
+1 -1
View File
@@ -2,7 +2,7 @@ SubDir HAIKU_TOP src preferences datatranslations ;
UsePrivateHeaders shared ; UsePrivateHeaders shared ;
Preference DataTranslations : Application DataTranslations :
DataTranslations.cpp DataTranslations.cpp
DataTranslationsWindow.cpp DataTranslationsWindow.cpp
DataTranslationsSettings.cpp DataTranslationsSettings.cpp
+1 -1
View File
@@ -2,7 +2,7 @@ SubDir HAIKU_TOP src preferences deskbar ;
SubDirSysHdrs $(HAIKU_TOP) src apps deskbar ; SubDirSysHdrs $(HAIKU_TOP) src apps deskbar ;
Preference <preference>Deskbar Application <preference>Deskbar
: :
DeskbarPreferences.cpp DeskbarPreferences.cpp
: :
+1 -1
View File
@@ -6,7 +6,7 @@ UseLibraryHeaders icon ;
UsePrivateHeaders shared tracker ; UsePrivateHeaders shared tracker ;
SubDirSysHdrs $(HAIKU_TOP) src kits tracker ; SubDirSysHdrs $(HAIKU_TOP) src kits tracker ;
Preference FileTypes : Application FileTypes :
FileTypes.cpp FileTypes.cpp
FileTypesWindow.cpp FileTypesWindow.cpp
ApplicationTypesWindow.cpp ApplicationTypesWindow.cpp
+1 -1
View File
@@ -2,7 +2,7 @@ SubDir HAIKU_TOP src preferences input ;
UsePrivateHeaders input ; UsePrivateHeaders input ;
Preference Input : Application Input :
Input.cpp Input.cpp
InputDeviceView.cpp InputDeviceView.cpp
InputIcons.cpp InputIcons.cpp
+1 -1
View File
@@ -1,6 +1,6 @@
SubDir HAIKU_TOP src preferences joysticks ; SubDir HAIKU_TOP src preferences joysticks ;
Preference Joysticks : Application Joysticks :
CalibWin.cpp CalibWin.cpp
JoyWin.cpp JoyWin.cpp
Joysticks.cpp Joysticks.cpp
+1 -1
View File
@@ -10,7 +10,7 @@ Includes [ FGristFiles KeymapWindow.cpp ] : <keymap-locale>KeymapNames.h ;
Includes [ FGristFiles KeymapWindow.cpp ] Includes [ FGristFiles KeymapWindow.cpp ]
: <keyboard-layout-locale>KeyboardLayoutNames.h ; : <keyboard-layout-locale>KeyboardLayoutNames.h ;
Preference Keymap : Application Keymap :
KeyboardLayout.cpp KeyboardLayout.cpp
KeyboardLayoutView.cpp KeyboardLayoutView.cpp
Keymap.cpp Keymap.cpp
+1 -1
View File
@@ -9,7 +9,7 @@ local sources =
FormatSettingsView.cpp FormatSettingsView.cpp
; ;
Preference Locale Application Locale
: $(sources) : $(sources)
: be [ TargetLibstdc++ ] [ TargetLibsupc++ ] shared : be [ TargetLibstdc++ ] [ TargetLibsupc++ ] shared
localestub localestub
+1 -1
View File
@@ -19,7 +19,7 @@ local sources =
AddResources E-mail : e-mail.rdef ; AddResources E-mail : e-mail.rdef ;
Preference E-mail Application E-mail
: :
$(sources) $(sources)
: :
+1 -1
View File
@@ -2,7 +2,7 @@ SubDir HAIKU_TOP src preferences media ;
UsePrivateHeaders media midi shared ; UsePrivateHeaders media midi shared ;
Preference Media : Application Media :
Media.cpp Media.cpp
MediaIcons.cpp MediaIcons.cpp
MediaListItem.cpp MediaListItem.cpp
+1 -1
View File
@@ -6,7 +6,7 @@ UsePrivateHeaders net shared storage ;
SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src apps networkstatus ] SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src apps networkstatus ]
[ FDirName $(HAIKU_TOP) src bin network ifconfig ] ; [ FDirName $(HAIKU_TOP) src bin network ifconfig ] ;
Preference Network : Application Network :
Network.cpp Network.cpp
NetworkWindow.cpp NetworkWindow.cpp
NetworkProfile.cpp NetworkProfile.cpp
+1 -1
View File
@@ -2,7 +2,7 @@ SubDir HAIKU_TOP src preferences printers ;
UsePrivateHeaders shared print ; UsePrivateHeaders shared print ;
Preference Printers : Application Printers :
AddPrinterDialog.cpp AddPrinterDialog.cpp
Printers.cpp Printers.cpp
PrintersWindow.cpp PrintersWindow.cpp
+1 -1
View File
@@ -3,7 +3,7 @@ SubDir HAIKU_TOP src preferences repositories ;
UsePrivateHeaders interface ; UsePrivateHeaders interface ;
UsePrivateHeaders package ; UsePrivateHeaders package ;
Preference Repositories : Application Repositories :
AddRepoWindow.cpp AddRepoWindow.cpp
RepoRow.cpp RepoRow.cpp
Repositories.cpp Repositories.cpp
+1 -1
View File
@@ -6,7 +6,7 @@ UsePrivateHeaders [ FDirName graphics common ] ;
UsePrivateHeaders [ FDirName graphics radeon ] ; UsePrivateHeaders [ FDirName graphics radeon ] ;
UsePrivateHeaders interface preferences ; UsePrivateHeaders interface preferences ;
Preference Screen : Application Screen :
AlertWindow.cpp AlertWindow.cpp
MonitorView.cpp MonitorView.cpp
multimon.cpp multimon.cpp
+1 -1
View File
@@ -6,7 +6,7 @@ UseHeaders [ FDirName $(HAIKU_TOP) headers os add-ons screen_saver ] : true ;
UsePrivateHeaders screen_saver ; UsePrivateHeaders screen_saver ;
SubDirSysHdrs $(SUBDIR) ; SubDirSysHdrs $(SUBDIR) ;
Preference ScreenSaver : Application ScreenSaver :
ScreenSaverApp.cpp ScreenSaverApp.cpp
ScreenSaverWindow.cpp ScreenSaverWindow.cpp
PasswordWindow.cpp PasswordWindow.cpp
+1 -1
View File
@@ -3,7 +3,7 @@ SubDir HAIKU_TOP src preferences shortcuts ;
UsePrivateHeaders interface ; UsePrivateHeaders interface ;
UseHeaders [ FDirName $(HAIKU_TOP) src add-ons input_server filters shortcut_catcher ] ; UseHeaders [ FDirName $(HAIKU_TOP) src add-ons input_server filters shortcut_catcher ] ;
Preference Shortcuts : Application Shortcuts :
main.cpp main.cpp
MetaKeyStateMap.cpp MetaKeyStateMap.cpp
ShortcutsApp.cpp ShortcutsApp.cpp
+1 -1
View File
@@ -2,7 +2,7 @@ SubDir HAIKU_TOP src preferences sounds ;
UsePrivateHeaders interface ; UsePrivateHeaders interface ;
Preference Sounds : Application Sounds :
HApp.cpp HApp.cpp
HWindow.cpp HWindow.cpp
HEventList.cpp HEventList.cpp
+1 -1
View File
@@ -25,7 +25,7 @@ Includes [ FGristFiles $(sources) ] : [ BuildFeatureAttribute icu : headers ] ;
# Dependency needed to trigger downloading/unzipping the package before # Dependency needed to trigger downloading/unzipping the package before
# compiling the files. # compiling the files.
Preference Time Application Time
: $(sources) : $(sources)
: be bnetapi network shared [ TargetLibstdc++ ] localestub : be bnetapi network shared [ TargetLibstdc++ ] localestub
: Time.rdef : Time.rdef
+1 -1
View File
@@ -1,6 +1,6 @@
SubDir HAIKU_TOP src preferences tracker ; SubDir HAIKU_TOP src preferences tracker ;
Preference <preference>Tracker Application <preference>Tracker
: :
TrackerPreferences.cpp TrackerPreferences.cpp
: :
+1 -1
View File
@@ -2,7 +2,7 @@ SubDir HAIKU_TOP src preferences virtualmemory ;
UsePrivateHeaders shared system ; UsePrivateHeaders shared system ;
Preference VirtualMemory : Application VirtualMemory :
VirtualMemory.cpp VirtualMemory.cpp
SettingsWindow.cpp SettingsWindow.cpp
Settings.cpp Settings.cpp
+1 -1
View File
@@ -55,7 +55,7 @@ if [ FIsBuildFeatureEnabled fontconfig ] {
: [ BuildFeatureAttribute freetype : headers ] ; : [ BuildFeatureAttribute freetype : headers ] ;
} }
Server app_server : Application app_server :
Angle.cpp Angle.cpp
AppServer.cpp AppServer.cpp
#BitfieldRegion.cpp #BitfieldRegion.cpp
+1 -1
View File
@@ -4,7 +4,7 @@ UsePrivateHeaders shared bluetooth net kernel ;
AddResources bluetooth_server : bluetooth_server.rdef ; AddResources bluetooth_server : bluetooth_server.rdef ;
Server bluetooth_server Application bluetooth_server
: :
BluetoothServer.cpp BluetoothServer.cpp
DeskbarReplicant.cpp DeskbarReplicant.cpp
+1 -1
View File
@@ -8,7 +8,7 @@ UsePrivateHeaders storage ;
AddResources debug_server : debug_server.rdef ; AddResources debug_server : debug_server.rdef ;
Server debug_server Application debug_server
: :
DebugServer.cpp DebugServer.cpp
DebugWindow.cpp DebugWindow.cpp
+1 -1
View File
@@ -5,7 +5,7 @@ AddResources index_server : index_server.rdef ;
UsePrivateHeaders index_server shared storage kernel app ; UsePrivateHeaders index_server shared storage kernel app ;
UsePrivateSystemHeaders ; UsePrivateSystemHeaders ;
Server index_server : Application index_server :
CatchUpManager.cpp CatchUpManager.cpp
main.cpp main.cpp
IndexServer.cpp IndexServer.cpp
+1 -1
View File
@@ -39,7 +39,7 @@ if $(TARGET_PLATFORM) != haiku {
APPSERVER_TEST_MODE = 0 ; APPSERVER_TEST_MODE = 0 ;
} }
Server input_server : Application input_server :
InputServer.cpp InputServer.cpp
InputServerDevice.cpp InputServerDevice.cpp
InputServerFilter.cpp InputServerFilter.cpp
+1 -1
View File
@@ -3,7 +3,7 @@ SubDir HAIKU_TOP src servers keystore ;
UsePrivateHeaders app ; UsePrivateHeaders app ;
UsePrivateHeaders shared ; UsePrivateHeaders shared ;
Server keystore_server : Application keystore_server :
AppAccessRequestWindow.cpp AppAccessRequestWindow.cpp
KeyRequestWindow.cpp KeyRequestWindow.cpp
Keyring.cpp Keyring.cpp
+1 -1
View File
@@ -5,7 +5,7 @@ UsePrivateSystemHeaders ;
UseHeaders [ FDirName $(HAIKU_TOP) src bin multiuser ] ; UseHeaders [ FDirName $(HAIKU_TOP) src bin multiuser ] ;
Server launch_daemon Application launch_daemon
: :
LaunchDaemon.cpp LaunchDaemon.cpp
+1 -1
View File
@@ -10,7 +10,7 @@ SubDirHdrs $(HAIKU_TOP) src kits tracker ;
AddResources mail_daemon : mail_daemon.rdef DeskbarViewIcons.rdef ; AddResources mail_daemon : mail_daemon.rdef DeskbarViewIcons.rdef ;
Server mail_daemon : Application mail_daemon :
DeskbarView.cpp DeskbarView.cpp
ErrorLogWindow.cpp ErrorLogWindow.cpp
LEDAnimation.cpp LEDAnimation.cpp
+1 -1
View File
@@ -5,7 +5,7 @@ UsePrivateSystemHeaders ;
AddResources media_server : media_server.rdef ; AddResources media_server : media_server.rdef ;
Server media_server : Application media_server :
media_server.cpp media_server.cpp
AppManager.cpp AppManager.cpp
BufferManager.cpp BufferManager.cpp
+1 -1
View File
@@ -5,7 +5,7 @@ UsePrivateSystemHeaders ;
AddResources media_addon_server : media_addon_server.rdef ; AddResources media_addon_server : media_addon_server.rdef ;
Server media_addon_server : Application media_addon_server :
MediaAddonServer.cpp MediaAddonServer.cpp
MediaFilePlayer.cpp MediaFilePlayer.cpp
SystemTimeSource.cpp SystemTimeSource.cpp
+1 -1
View File
@@ -2,7 +2,7 @@ SubDir HAIKU_TOP src servers midi ;
UsePrivateHeaders app interface locale midi shared storage ; UsePrivateHeaders app interface locale midi shared storage ;
Server midi_server : Application midi_server :
MidiServerApp.cpp MidiServerApp.cpp
DeviceWatcher.cpp DeviceWatcher.cpp
PortDrivers.cpp PortDrivers.cpp
+1 -1
View File
@@ -3,7 +3,7 @@ SubDir HAIKU_TOP src servers mount ;
UsePrivateHeaders app mount shared storage ; UsePrivateHeaders app mount shared storage ;
SubDirHdrs $(HAIKU_TOP) src kits tracker ; SubDirHdrs $(HAIKU_TOP) src kits tracker ;
Server mount_server Application mount_server
: :
AutoMounter.cpp AutoMounter.cpp
: :
+1 -1
View File
@@ -16,7 +16,7 @@ SubDirC++Flags $(defines) ;
AddResources net_server : net_server.rdef ; AddResources net_server : net_server.rdef ;
Server net_server : Application net_server :
NetServer.cpp NetServer.cpp
AutoconfigClient.cpp AutoconfigClient.cpp
AutoconfigLooper.cpp AutoconfigLooper.cpp
+1 -1
View File
@@ -2,7 +2,7 @@ SubDir HAIKU_TOP src servers notification ;
UsePrivateHeaders app notification ; UsePrivateHeaders app notification ;
Server notification_server : Application notification_server :
AppGroupView.cpp AppGroupView.cpp
NotificationServer.cpp NotificationServer.cpp
NotificationView.cpp NotificationView.cpp
+1 -1
View File
@@ -3,7 +3,7 @@ SubDir HAIKU_TOP src servers package ;
UsePrivateSystemHeaders ; UsePrivateSystemHeaders ;
UsePrivateHeaders app interface kernel shared storage ; UsePrivateHeaders app interface kernel shared storage ;
Server package_daemon Application package_daemon
: :
CommitTransactionHandler.cpp CommitTransactionHandler.cpp
Constants.cpp Constants.cpp
+1 -1
View File
@@ -4,7 +4,7 @@ UsePrivateHeaders app ;
AddResources power_daemon : power_daemon.rdef ; AddResources power_daemon : power_daemon.rdef ;
Server power_daemon : Application power_daemon :
lid_monitor.cpp lid_monitor.cpp
power_daemon.cpp power_daemon.cpp
power_button_monitor.cpp power_button_monitor.cpp
+1 -1
View File
@@ -7,7 +7,7 @@ AddResources print_server :
print_server.rdef print_server.rdef
; ;
Server print_server : Application print_server :
PrintServerApp.cpp PrintServerApp.cpp
PrintServerApp.R5.cpp PrintServerApp.R5.cpp
PrintServerApp.Scripting.cpp PrintServerApp.Scripting.cpp
+1 -1
View File
@@ -11,7 +11,7 @@ UsePrivateSystemHeaders ;
SEARCH_SOURCE += [ FDirName $(SUBDIR) mime ] ; SEARCH_SOURCE += [ FDirName $(SUBDIR) mime ] ;
Server registrar Application registrar
: :
AppInfoList.cpp AppInfoList.cpp
AppInfoListMessagingTargetSet.cpp AppInfoListMessagingTargetSet.cpp
+1 -1
View File
@@ -5,7 +5,7 @@ UsePrivateSystemHeaders ;
AddResources syslog_daemon : SyslogDaemon.rdef ; AddResources syslog_daemon : SyslogDaemon.rdef ;
Server syslog_daemon : Application syslog_daemon :
SyslogDaemon.cpp SyslogDaemon.cpp
syslog_output.cpp syslog_output.cpp
listener_output.cpp listener_output.cpp
@@ -10,7 +10,7 @@ SimpleTest random_read
: be : be
; ;
BinCommand fragmenter : Application fragmenter :
fragmenter.cpp fragmenter.cpp
; ;
+3 -3
View File
@@ -1,16 +1,16 @@
SubDir HAIKU_TOP src tests kits media playsound ; SubDir HAIKU_TOP src tests kits media playsound ;
BinCommand playfile : Application playfile :
playfile.cpp playfile.cpp
: be bnetapi media [ TargetLibsupc++ ] : be bnetapi media [ TargetLibsupc++ ]
; ;
BinCommand playsound : Application playsound :
playsound.cpp playsound.cpp
: be media game : be media game
; ;
BinCommand playwav : Application playwav :
playwav.cpp playwav.cpp
: be media [ TargetLibsupc++ ] : be media [ TargetLibsupc++ ]
; ;
+1 -1
View File
@@ -22,7 +22,7 @@ Includes [ FGristFiles $(sources) ] :
# Dependency needed to trigger downloading/unzipping the package before # Dependency needed to trigger downloading/unzipping the package before
# compiling the files. # compiling the files.
Preference GLInfo : Application GLInfo :
$(sources) $(sources)
: :
be libglut.so be libglut.so
+1 -1
View File
@@ -5,7 +5,7 @@ AddSubDirSupportedPlatforms libbe_test ;
UseHeaders [ FDirName $(HAIKU_TOP) src servers debug ] ; UseHeaders [ FDirName $(HAIKU_TOP) src servers debug ] ;
UsePrivateHeaders shared ; UsePrivateHeaders shared ;
BinCommand crashing_app : crashing_app.cpp ; Application crashing_app : crashing_app.cpp ;
SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src servers debug ] ; SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src servers debug ] ;
SimpleTest DebugWindow : SimpleTest DebugWindow :
+1 -1
View File
@@ -36,7 +36,7 @@ Server test_launch_daemon :
LaunchDaemon.rdef LaunchDaemon.rdef
; ;
BinCommand test_launch_roster : Application test_launch_roster :
LaunchRoster.cpp LaunchRoster.cpp
launch_roster.cpp launch_roster.cpp
: :
@@ -1,6 +1,6 @@
SubDir HAIKU_TOP src tests system kernel device_manager ; SubDir HAIKU_TOP src tests system kernel device_manager ;
BinCommand <test>listdev : Application <test>listdev :
dm_wrapper.c dm_wrapper.c
listdev.c listdev.c
; ;
+1 -1
View File
@@ -3,6 +3,6 @@ SubDir HAIKU_TOP src tests system kernel slab ;
UsePrivateHeaders kernel ; UsePrivateHeaders kernel ;
UseHeaders $(TARGET_PRIVATE_KERNEL_HEADERS) : true ; UseHeaders $(TARGET_PRIVATE_KERNEL_HEADERS) : true ;
BinCommand test_slab Application test_slab
: Slab.cpp : Slab.cpp
; ;
+3 -3
View File
@@ -1,10 +1,10 @@
SubDir HAIKU_TOP src tests system network multicast ; SubDir HAIKU_TOP src tests system network multicast ;
BinCommand multicast : Application multicast :
multicast.cpp multicast.cpp
: libnetwork.so : libnetwork.so
; ;
BinCommand multicat : multicat.c : libnetwork.so ; Application multicat : multicat.c : libnetwork.so ;
BinCommand multisend : multisend.c : libnetwork.so ; Application multisend : multisend.c : libnetwork.so ;
+1 -1
View File
@@ -1,6 +1,6 @@
SubDir HAIKU_TOP src tests system network tcptester ; SubDir HAIKU_TOP src tests system network tcptester ;
BinCommand tcptester : Application tcptester :
tcptester.cpp tcptester.cpp
: libnetwork.so [ TargetLibsupc++ ] : libnetwork.so [ TargetLibsupc++ ]
; ;

Some files were not shown because too many files have changed in this diff Show More