Browse Source

simplify building on unix systems (#4)

* make empty dirs some targets depend on

* make targets UNIX-friendly
master
John Törnblom 4 months ago committed by GitHub
parent
commit
49610fd6ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      Makefile

6
Makefile

@ -53,12 +53,14 @@ classes: @@ -53,12 +53,14 @@ classes:
jar:
rm -rf $(BUILD)/jdk
cp $(SRC)/com/bdjb/bluray.ExploitXlet.perm $(BUILD)/com/bdjb/bluray.ExploitXlet.perm
mkdir -p $(DISC)/BDMV/JAR
cd $(BUILD) && jar cf ../$(DISC)/BDMV/JAR/00000.jar . && cd ..
java -cp "$(TOOLS)/security.jar:$(TOOLS)/bcprov-jdk15-137.jar:$(TOOLS)/tools.jar" net.java.bd.tools.security.BDSigner $(DISC)/BDMV/JAR/00000.jar
java -cp "$(TOOLS)/*" net.java.bd.tools.security.BDSigner $(DISC)/BDMV/JAR/00000.jar
bdjo_bdmv:
mkdir -p $(DISC)/BDMV/BDJO
java -jar $(TOOLS)/bdjo.jar $(BDMV)/bdjo.xml $(DISC)/BDMV/BDJO/00000.bdjo
java -jar $(TOOLS)/MovieObject.jar $(BDMV)/MovieObject.xml $(DISC)/BDMV/MovieObject.bdmv
java -jar $(TOOLS)/movieobject.jar $(BDMV)/MovieObject.xml $(DISC)/BDMV/MovieObject.bdmv
java -jar $(TOOLS)/index.jar $(BDMV)/index.xml $(DISC)/BDMV/index.bdmv
java -jar $(TOOLS)/id.jar $(BDMV)/id.xml $(DISC)/CERTIFICATE/id.bdmv

Loading…
Cancel
Save