PRE_RULE = (echo "=== Building $@ ==="; ls -ld $@; true) && ls -ld $+ POST_RULE = ls -ld $@ ############################################################################# # jvm-sbt-plugins # HEAD as of 2022-01-13 $(SRCDIR)/jvm-sbt-plugins: git clone https://github.com/toktok/jvm-sbt-plugins $@ cd $@ && git checkout 4104763df188d237c21a372f0aa2cf6ef92cdf92 $(DESTDIR)/jvm-sbt-plugins.stamp: $(SRCDIR)/jvm-sbt-plugins @$(PRE_RULE) cd $< && sbt publishLocal mkdir -p $(@D) && touch $@ @$(POST_RULE) ############################################################################# # jvm-macros # HEAD as of 2022-01-13 $(SRCDIR)/jvm-macros: git clone https://github.com/toktok/jvm-macros $@ cd $@ && git checkout 8e8991581bec396861678012cab302ba09ced629 $(DESTDIR)/jvm-macros.stamp: $(SRCDIR)/jvm-macros $(DESTDIR)/jvm-sbt-plugins.stamp @$(PRE_RULE) cd $< && sbt publishLocal cd $< && sbt publishM2 mkdir -p $(@D) && touch $@ @$(POST_RULE) ############################################################################# # jvm-toxcore-api # HEAD as of 2022-01-13 $(SRCDIR)/jvm-toxcore-api: git clone https://github.com/toktok/jvm-toxcore-api $@ cd $@ && git checkout c0f37cfd77d79d5826ea566127f60fce838858c2 $(DESTDIR)/jvm-toxcore-api.stamp: $(SRCDIR)/jvm-toxcore-api $(DESTDIR)/jvm-sbt-plugins.stamp @$(PRE_RULE) cd $< && sbt publishLocal cd $< && sbt publishM2 mkdir -p $(@D) && touch $@ @$(POST_RULE) ############################################################################# # tox4j # HEAD as of 2023-12-29 $(SRCDIR)/tox4j: git clone https://github.com/toktok/jvm-toxcore-c $@ cd $@ && git checkout f697eef5d0a16a025b187c3369288986e89bde2b $(BUILDDIR)/tox4j/Makefile: $(SRCDIR)/tox4j $(TOOLCHAIN_FILE) $(foreach i,protobuf toxcore,$(PREFIX)/$i.stamp) @$(PRE_RULE) mkdir -p $(@D) cd $(@D) && cmake $