diff options
Diffstat (limited to 'package')
-rw-r--r-- | package/deps-build | 3 | ||||
-rw-r--r-- | package/deps.mak | 30 | ||||
-rw-r--r-- | package/info | 4 | ||||
-rw-r--r-- | package/modes | 5 | ||||
-rw-r--r-- | package/targets.mak | 25 |
5 files changed, 67 insertions, 0 deletions
diff --git a/package/deps-build b/package/deps-build new file mode 100644 index 0000000..d63229b --- /dev/null +++ b/package/deps-build @@ -0,0 +1,3 @@ +/package/prog/skalibs +/package/admin/execline +/package/admin/s6 diff --git a/package/deps.mak b/package/deps.mak new file mode 100644 index 0000000..f6158dc --- /dev/null +++ b/package/deps.mak @@ -0,0 +1,30 @@ +# +# This file has been generated by tools/gen-deps.sh +# + +src/include/s6-rc/s6rc-utils.h: src/include/s6-rc/s6rc-db.h +src/include/s6-rc/s6rc.h: src/include/s6-rc/s6rc-constants.h src/include/s6-rc/s6rc-db.h src/include/s6-rc/s6rc-utils.h +src/libs6rc/s6rc_db_check_depcycles.o src/libs6rc/s6rc_db_check_depcycles.lo: src/libs6rc/s6rc_db_check_depcycles.c src/include/s6-rc/s6rc-db.h +src/libs6rc/s6rc_db_check_revdeps.o src/libs6rc/s6rc_db_check_revdeps.lo: src/libs6rc/s6rc_db_check_revdeps.c src/include/s6-rc/s6rc-db.h +src/libs6rc/s6rc_db_read.o src/libs6rc/s6rc_db_read.lo: src/libs6rc/s6rc_db_read.c src/include/s6-rc/s6rc-db.h +src/libs6rc/s6rc_db_read_sizes.o src/libs6rc/s6rc_db_read_sizes.lo: src/libs6rc/s6rc_db_read_sizes.c src/include/s6-rc/s6rc-db.h +src/libs6rc/s6rc_db_read_uint32.o src/libs6rc/s6rc_db_read_uint32.lo: src/libs6rc/s6rc_db_read_uint32.c src/include/s6-rc/s6rc-db.h +src/libs6rc/s6rc_graph_closure.o src/libs6rc/s6rc_graph_closure.lo: src/libs6rc/s6rc_graph_closure.c src/include/s6-rc/s6rc-db.h src/include/s6-rc/s6rc-utils.h +src/s6-rc/s6-rc-compile.o src/s6-rc/s6-rc-compile.lo: src/s6-rc/s6-rc-compile.c src/s6-rc/s6-rc-compile.h src/include/s6-rc/s6rc.h +src/s6-rc/s6-rc-db.o src/s6-rc/s6-rc-db.lo: src/s6-rc/s6-rc-db.c src/include/s6-rc/s6rc-db.h +src/s6-rc/s6-rc-dryrun.o src/s6-rc/s6-rc-dryrun.lo: src/s6-rc/s6-rc-dryrun.c +src/s6-rc/s6-rc-init.o src/s6-rc/s6-rc-init.lo: src/s6-rc/s6-rc-init.c src/include/s6-rc/s6rc.h +src/s6-rc/s6-rc.o src/s6-rc/s6-rc.lo: src/s6-rc/s6-rc.c src/include/s6-rc/s6rc.h + +libs6rc.a: src/libs6rc/s6rc_db_check_depcycles.o src/libs6rc/s6rc_db_read.o src/libs6rc/s6rc_db_read_sizes.o src/libs6rc/s6rc_db_read_uint32.o src/libs6rc/s6rc_db_check_revdeps.o src/libs6rc/s6rc_graph_closure.o +libs6rc.so: src/libs6rc/s6rc_db_check_depcycles.lo src/libs6rc/s6rc_db_read.lo src/libs6rc/s6rc_db_read_sizes.lo src/libs6rc/s6rc_db_read_uint32.lo src/libs6rc/s6rc_db_check_revdeps.lo src/libs6rc/s6rc_graph_closure.lo +s6-rc: private EXTRA_LIBS := ${TAINNOW_LIB} +s6-rc: src/s6-rc/s6-rc.o ${LIBS6RC} -lskarnet +s6-rc-compile: private EXTRA_LIBS := +s6-rc-compile: src/s6-rc/s6-rc-compile.o ${LIBS6RC} -lexecline -lskarnet +s6-rc-db: private EXTRA_LIBS := +s6-rc-db: src/s6-rc/s6-rc-db.o ${LIBS6RC} -lskarnet +s6-rc-dryrun: private EXTRA_LIBS := ${TAINNOW_LIB} +s6-rc-dryrun: src/s6-rc/s6-rc-dryrun.o -lskarnet +s6-rc-init: private EXTRA_LIBS := ${TAINNOW_LIB} +s6-rc-init: src/s6-rc/s6-rc-init.o ${LIBS6RC} -ls6 -lskarnet diff --git a/package/info b/package/info new file mode 100644 index 0000000..1a67009 --- /dev/null +++ b/package/info @@ -0,0 +1,4 @@ +package=s6-rc +version=0.0.1.0 +category=admin +package_macro_name=S6_RC diff --git a/package/modes b/package/modes new file mode 100644 index 0000000..7956243 --- /dev/null +++ b/package/modes @@ -0,0 +1,5 @@ +s6-rc-compile 0755 +s6-rc-db 0755 +s6-rc-dryrun 0755 +s6-rc-init 0700 +s6-rc 0700 diff --git a/package/targets.mak b/package/targets.mak new file mode 100644 index 0000000..2f19728 --- /dev/null +++ b/package/targets.mak @@ -0,0 +1,25 @@ +BIN_TARGETS := \ +s6-rc-compile \ +s6-rc-dryrun \ +s6-rc-db + +SBIN_TARGETS := \ +s6-rc-init \ +s6-rc + + +LIBEXEC_TARGETS := + +ifdef DO_ALLSTATIC +LIBS6RC := libs6rc.a +else +LIBS6RC := libs6rc.so +endif + +ifdef DO_SHARED +SHARED_LIBS := libs6rc.so +endif + +ifdef DO_STATIC +STATIC_LIBS := libs6rc.a +endif |