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 |>
|
!ld = | $(DEV_DIR)/<lib> $(DEV_DIR)/<pkg-config> |> ^o LD %o^ $(LD) -o %o $(LDFLAGS) `$(PKG_CONFIG) --libs $(LIBS)` %f |>
|
||||||
|
|
||||||
!incbin = |> ^ incbin %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:" \
|
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
|
|> binary_%b.o
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
REP_DIR = $(TUP_CWD)
|
REP_DIR = $(TUP_CWD)
|
||||||
|
|
||||||
|
CPPFLAGS += -I$(REP_DIR)/include
|
||||||
|
|
||||||
LIBS += genode-os
|
LIBS += genode-os
|
||||||
|
|
||||||
ifndef NIX_OUTPUTS_DEV
|
ifndef NIX_OUTPUTS_DEV
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
include_rules
|
||||||
|
: foreach *.cc |> !cxx |> {obj}
|
||||||
|
: {obj} |> !prg |> {bin}
|
||||||
|
: {bin} |> !collect_bin |>
|
|
@ -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 |>
|
|
@ -0,0 +1,5 @@
|
||||||
|
include_rules
|
||||||
|
CPPFLAGS += -I.
|
||||||
|
: foreach *.cc |> !cxx |> {obj}
|
||||||
|
: {obj} |> !prg |> {bin}
|
||||||
|
: {bin} |> !collect_bin |>
|
|
@ -0,0 +1,4 @@
|
||||||
|
include_rules
|
||||||
|
: foreach *.cc |> !cxx |> {obj}
|
||||||
|
: {obj} |> !prg |> {bin}
|
||||||
|
: {bin} |> !collect_bin |>
|
|
@ -0,0 +1,4 @@
|
||||||
|
include_rules
|
||||||
|
: foreach *.cc |> !cxx |> {obj}
|
||||||
|
: {obj} |> !prg |> {bin}
|
||||||
|
: {bin} |> !collect_bin |>
|
|
@ -0,0 +1,5 @@
|
||||||
|
include_rules
|
||||||
|
LIBS += vfs
|
||||||
|
: foreach *.cc |> !cxx |> {obj}
|
||||||
|
: {obj} |> !prg |> {bin}
|
||||||
|
: {bin} |> !collect_bin |>
|
|
@ -0,0 +1,8 @@
|
||||||
|
include_rules
|
||||||
|
ifneq ($(X86),)
|
||||||
|
|
||||||
|
: foreach *.cc |> !cxx |> {obj}
|
||||||
|
: {obj} |> !prg |> {bin}
|
||||||
|
: {bin} |> !collect_bin |>
|
||||||
|
|
||||||
|
endif
|
|
@ -0,0 +1,5 @@
|
||||||
|
include_rules
|
||||||
|
LIBS += vfs
|
||||||
|
: foreach *.cc |> !cxx |> {obj}
|
||||||
|
: {obj} |> !prg |> {bin}
|
||||||
|
: {bin} |> !collect_bin |>
|
|
@ -0,0 +1,5 @@
|
||||||
|
include_rules
|
||||||
|
LIBS += vfs
|
||||||
|
: foreach *.cc |> !cxx |> {obj}
|
||||||
|
: {obj} |> !prg |> {bin}
|
||||||
|
: {bin} |> !collect_bin |>
|
|
@ -0,0 +1,5 @@
|
||||||
|
include_rules
|
||||||
|
CPPFLAGS += -I.
|
||||||
|
: foreach *.cc |> !cxx |> {obj}
|
||||||
|
: {obj} |> !prg |> {bin}
|
||||||
|
: {bin} |> !collect_bin |>
|
|
@ -0,0 +1,5 @@
|
||||||
|
include_rules
|
||||||
|
CPPFLAGS += -I. -I../depot_deploy
|
||||||
|
: foreach *.cc view/*.cc |> !cxx |> {obj}
|
||||||
|
: {obj} |> !prg |> {bin}
|
||||||
|
: {bin} |> !collect_bin |>
|
|
@ -0,0 +1,5 @@
|
||||||
|
include_rules
|
||||||
|
CPPFLAGS += -I.
|
||||||
|
: foreach *.cc |> !cxx |> {obj}
|
||||||
|
: {obj} |> !prg |> {bin}
|
||||||
|
: {bin} |> !collect_bin |>
|
|
@ -0,0 +1,5 @@
|
||||||
|
include_rules
|
||||||
|
LIBS += blit
|
||||||
|
: foreach *.cc |> !cxx |> {obj}
|
||||||
|
: {obj} |> !prg |> {bin}
|
||||||
|
: {bin} |> !collect_bin |>
|
|
@ -0,0 +1,5 @@
|
||||||
|
include_rules
|
||||||
|
LIBS += vfs
|
||||||
|
: foreach *.cc |> !cxx |> {obj}
|
||||||
|
: {obj} |> !prg |> {bin}
|
||||||
|
: {bin} |> !collect_bin |>
|
|
@ -0,0 +1,4 @@
|
||||||
|
include_rules
|
||||||
|
: foreach *.cc |> !cxx |> %B.o {obj}
|
||||||
|
: {obj} |> !prg |> {bin}
|
||||||
|
: {bin} |> !collect_bin |>
|
|
@ -0,0 +1,5 @@
|
||||||
|
include_rules
|
||||||
|
CPPFLAGS += -I.
|
||||||
|
: foreach *.cc |> !cxx |> {obj}
|
||||||
|
: {obj} |> !prg |> {bin}
|
||||||
|
: {bin} |> !collect_bin |>
|
Loading…
Reference in New Issue