Tup: build more of gems
This commit is contained in:
parent
200d82b4f5
commit
196c340aa9
|
@ -40,8 +40,7 @@ LIBGCC = `$(CXX) $(CC_MARCH) -print-libgcc-file-name`
|
|||
!ld = | $(DEV_DIR)/<lib> $(DEV_DIR)/<pkg-config> |> ^o LD %o^ $(LD) -o %o $(LDFLAGS) `$(PKG_CONFIG) --libs $(LIBS)` %f |>
|
||||
|
||||
!incbin = |> ^ incbin %f^ \
|
||||
export SYM=_binary_`echo %f | sed 's/\./_/g'`; \
|
||||
export SYM=_binary_`echo %b | sed 's/\./_/g'`; \
|
||||
echo ".global ${SYM}_start, ${SYM}_end; .data; .align 4; ${SYM}_start:; .incbin \"%f\"; ${SYM}_end:" \
|
||||
| llvm-mc -filetype=obj - > %o \
|
||||
| as $(AS_MARCH) -o %o - \
|
||||
|> binary_%b.o
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
REP_DIR = $(TUP_CWD)
|
||||
|
||||
CPPFLAGS += -I$(REP_DIR)/include
|
||||
|
||||
LIBS += genode-os
|
||||
|
||||
ifndef NIX_OUTPUTS_DEV
|
||||
|
|
4
repos/gems/src/app/cpu_load_display/Tupfile
Normal file
4
repos/gems/src/app/cpu_load_display/Tupfile
Normal file
|
@ -0,0 +1,4 @@
|
|||
include_rules
|
||||
: foreach *.cc |> !cxx |> {obj}
|
||||
: {obj} |> !prg |> {bin}
|
||||
: {bin} |> !collect_bin |>
|
8
repos/gems/src/app/decorator/Tupfile
Normal file
8
repos/gems/src/app/decorator/Tupfile
Normal file
|
@ -0,0 +1,8 @@
|
|||
include_rules
|
||||
CPPFLAGS += -I. -I$(REP_DIR)/../demo/include
|
||||
SRC_BIN += $(REP_DIR)/../demo/src/app/scout/data/droidsansb10.tff
|
||||
SRC_BIN += closer.rgba maximize.rgba minimize.rgba windowed.rgba
|
||||
: foreach *.cc |> !cxx |> {obj}
|
||||
: foreach $(SRC_BIN) |> !incbin |> {obj}
|
||||
: {obj} |> !prg |> {bin}
|
||||
: {bin} |> !collect_bin |>
|
5
repos/gems/src/app/depot_autopilot/Tupfile
Normal file
5
repos/gems/src/app/depot_autopilot/Tupfile
Normal file
|
@ -0,0 +1,5 @@
|
|||
include_rules
|
||||
CPPFLAGS += -I.
|
||||
: foreach *.cc |> !cxx |> {obj}
|
||||
: {obj} |> !prg |> {bin}
|
||||
: {bin} |> !collect_bin |>
|
4
repos/gems/src/app/depot_deploy/Tupfile
Normal file
4
repos/gems/src/app/depot_deploy/Tupfile
Normal file
|
@ -0,0 +1,4 @@
|
|||
include_rules
|
||||
: foreach *.cc |> !cxx |> {obj}
|
||||
: {obj} |> !prg |> {bin}
|
||||
: {bin} |> !collect_bin |>
|
4
repos/gems/src/app/depot_download_manager/Tupfile
Normal file
4
repos/gems/src/app/depot_download_manager/Tupfile
Normal file
|
@ -0,0 +1,4 @@
|
|||
include_rules
|
||||
: foreach *.cc |> !cxx |> {obj}
|
||||
: {obj} |> !prg |> {bin}
|
||||
: {bin} |> !collect_bin |>
|
5
repos/gems/src/app/depot_query/Tupfile
Normal file
5
repos/gems/src/app/depot_query/Tupfile
Normal file
|
@ -0,0 +1,5 @@
|
|||
include_rules
|
||||
LIBS += vfs
|
||||
: foreach *.cc |> !cxx |> {obj}
|
||||
: {obj} |> !prg |> {bin}
|
||||
: {bin} |> !collect_bin |>
|
8
repos/gems/src/app/driver_manager/Tupfile
Normal file
8
repos/gems/src/app/driver_manager/Tupfile
Normal file
|
@ -0,0 +1,8 @@
|
|||
include_rules
|
||||
ifneq ($(X86),)
|
||||
|
||||
: foreach *.cc |> !cxx |> {obj}
|
||||
: {obj} |> !prg |> {bin}
|
||||
: {bin} |> !collect_bin |>
|
||||
|
||||
endif
|
5
repos/gems/src/app/fs_query/Tupfile
Normal file
5
repos/gems/src/app/fs_query/Tupfile
Normal file
|
@ -0,0 +1,5 @@
|
|||
include_rules
|
||||
LIBS += vfs
|
||||
: foreach *.cc |> !cxx |> {obj}
|
||||
: {obj} |> !prg |> {bin}
|
||||
: {bin} |> !collect_bin |>
|
5
repos/gems/src/app/fs_tool/Tupfile
Normal file
5
repos/gems/src/app/fs_tool/Tupfile
Normal file
|
@ -0,0 +1,5 @@
|
|||
include_rules
|
||||
LIBS += vfs
|
||||
: foreach *.cc |> !cxx |> {obj}
|
||||
: {obj} |> !prg |> {bin}
|
||||
: {bin} |> !collect_bin |>
|
5
repos/gems/src/app/nano3d/Tupfile
Normal file
5
repos/gems/src/app/nano3d/Tupfile
Normal file
|
@ -0,0 +1,5 @@
|
|||
include_rules
|
||||
CPPFLAGS += -I.
|
||||
: foreach *.cc |> !cxx |> {obj}
|
||||
: {obj} |> !prg |> {bin}
|
||||
: {bin} |> !collect_bin |>
|
5
repos/gems/src/app/sculpt_manager/Tupfile
Normal file
5
repos/gems/src/app/sculpt_manager/Tupfile
Normal file
|
@ -0,0 +1,5 @@
|
|||
include_rules
|
||||
CPPFLAGS += -I. -I../depot_deploy
|
||||
: foreach *.cc view/*.cc |> !cxx |> {obj}
|
||||
: {obj} |> !prg |> {bin}
|
||||
: {bin} |> !collect_bin |>
|
5
repos/gems/src/app/window_layouter/Tupfile
Normal file
5
repos/gems/src/app/window_layouter/Tupfile
Normal file
|
@ -0,0 +1,5 @@
|
|||
include_rules
|
||||
CPPFLAGS += -I.
|
||||
: foreach *.cc |> !cxx |> {obj}
|
||||
: {obj} |> !prg |> {bin}
|
||||
: {bin} |> !collect_bin |>
|
5
repos/gems/src/server/nit_fader/Tufile
Normal file
5
repos/gems/src/server/nit_fader/Tufile
Normal file
|
@ -0,0 +1,5 @@
|
|||
include_rules
|
||||
LIBS += blit
|
||||
: foreach *.cc |> !cxx |> {obj}
|
||||
: {obj} |> !prg |> {bin}
|
||||
: {bin} |> !collect_bin |>
|
5
repos/gems/src/server/terminal/Tupfile
Normal file
5
repos/gems/src/server/terminal/Tupfile
Normal file
|
@ -0,0 +1,5 @@
|
|||
include_rules
|
||||
LIBS += vfs
|
||||
: foreach *.cc |> !cxx |> {obj}
|
||||
: {obj} |> !prg |> {bin}
|
||||
: {bin} |> !collect_bin |>
|
4
repos/gems/src/server/wm/Tufile
Normal file
4
repos/gems/src/server/wm/Tufile
Normal file
|
@ -0,0 +1,4 @@
|
|||
include_rules
|
||||
: foreach *.cc |> !cxx |> %B.o {obj}
|
||||
: {obj} |> !prg |> {bin}
|
||||
: {bin} |> !collect_bin |>
|
5
repos/gems/src/server/wm/Tupfile
Normal file
5
repos/gems/src/server/wm/Tupfile
Normal file
|
@ -0,0 +1,5 @@
|
|||
include_rules
|
||||
CPPFLAGS += -I.
|
||||
: foreach *.cc |> !cxx |> {obj}
|
||||
: {obj} |> !prg |> {bin}
|
||||
: {bin} |> !collect_bin |>
|
Loading…
Reference in New Issue
Block a user