forked from Hay1tsme/segatools
129 lines
3.9 KiB
Makefile
129 lines
3.9 KiB
Makefile
$(BUILD_DIR_ZIP)/chuni.zip:
|
|
$(V)echo ... $@
|
|
$(V)mkdir -p $(BUILD_DIR_ZIP)/chuni
|
|
$(V)mkdir -p $(BUILD_DIR_ZIP)/chuni/DEVICE
|
|
$(V)cp $(BUILD_DIR_32)/subprojects/capnhook/inject/inject.exe \
|
|
$(BUILD_DIR_32)/chunihook/chunihook.dll \
|
|
$(DIST_DIR)/chuni/segatools.ini \
|
|
$(DIST_DIR)/chuni/start.bat \
|
|
$(BUILD_DIR_ZIP)/chuni
|
|
$(V)cp pki/billing.pub \
|
|
pki/ca.crt \
|
|
$(BUILD_DIR_ZIP)/chuni/DEVICE
|
|
$(V)strip $(BUILD_DIR_ZIP)/chuni/*.{exe,dll}
|
|
$(V)cd $(BUILD_DIR_ZIP)/chuni ; zip -r ../chuni.zip *
|
|
|
|
$(BUILD_DIR_ZIP)/cxb.zip:
|
|
$(V)echo ... $@
|
|
$(V)mkdir -p $(BUILD_DIR_ZIP)/cxb
|
|
$(V)mkdir -p $(BUILD_DIR_ZIP)/cxb/DEVICE
|
|
$(V)cp $(BUILD_DIR_32)/subprojects/capnhook/inject/inject.exe \
|
|
$(BUILD_DIR_32)/cxbhook/cxbhook.dll \
|
|
$(DIST_DIR)/cxb/segatools.ini \
|
|
$(DIST_DIR)/cxb/start.bat \
|
|
$(BUILD_DIR_ZIP)/cxb
|
|
$(V)cp pki/billing.pub \
|
|
pki/ca.crt \
|
|
$(BUILD_DIR_ZIP)/cxb/DEVICE
|
|
$(V)strip $(BUILD_DIR_ZIP)/cxb/*.{exe,dll}
|
|
$(V)cd $(BUILD_DIR_ZIP)/cxb ; zip -r ../cxb.zip *
|
|
|
|
$(BUILD_DIR_ZIP)/diva.zip:
|
|
$(V)echo ... $@
|
|
$(V)mkdir -p $(BUILD_DIR_ZIP)/diva
|
|
$(V)mkdir -p $(BUILD_DIR_ZIP)/diva/DEVICE
|
|
$(V)cp $(BUILD_DIR_64)/subprojects/capnhook/inject/inject.exe \
|
|
$(BUILD_DIR_64)/divahook/divahook.dll \
|
|
$(DIST_DIR)/diva/segatools.ini \
|
|
$(DIST_DIR)/diva/start.bat \
|
|
$(BUILD_DIR_ZIP)/diva
|
|
$(V)cp pki/billing.pub \
|
|
pki/ca.crt \
|
|
$(BUILD_DIR_ZIP)/diva/DEVICE
|
|
$(V)strip $(BUILD_DIR_ZIP)/diva/*.{exe,dll}
|
|
$(V)cd $(BUILD_DIR_ZIP)/diva ; zip -r ../diva.zip *
|
|
|
|
$(BUILD_DIR_ZIP)/carol.zip:
|
|
$(V)echo ... $@
|
|
$(V)mkdir -p $(BUILD_DIR_ZIP)/carol
|
|
$(V)mkdir -p $(BUILD_DIR_ZIP)/carol/DEVICE
|
|
$(V)cp $(BUILD_DIR_32)/subprojects/capnhook/inject/inject.exe \
|
|
$(BUILD_DIR_32)/carolhook/carolhook.dll \
|
|
$(DIST_DIR)/carol/segatools.ini \
|
|
$(DIST_DIR)/carol/start.bat \
|
|
$(BUILD_DIR_ZIP)/carol
|
|
$(V)cp pki/billing.pub \
|
|
pki/ca.crt \
|
|
$(BUILD_DIR_ZIP)/carol/DEVICE
|
|
$(V)strip $(BUILD_DIR_ZIP)/carol/*.{exe,dll}
|
|
$(V)cd $(BUILD_DIR_ZIP)/carol ; zip -r ../carol.zip *
|
|
|
|
$(BUILD_DIR_ZIP)/idz.zip:
|
|
$(V)echo ... $@
|
|
$(V)mkdir -p $(BUILD_DIR_ZIP)/idz
|
|
$(V)mkdir -p $(BUILD_DIR_ZIP)/idz/DEVICE
|
|
$(V)cp $(BUILD_DIR_64)/subprojects/capnhook/inject/inject.exe \
|
|
$(BUILD_DIR_64)/idzhook/idzhook.dll \
|
|
$(DIST_DIR)/idz/segatools.ini \
|
|
$(DIST_DIR)/idz/start.bat \
|
|
$(BUILD_DIR_ZIP)/idz
|
|
$(V)cp pki/billing.pub \
|
|
pki/ca.crt \
|
|
$(BUILD_DIR_ZIP)/idz/DEVICE
|
|
$(V)strip $(BUILD_DIR_ZIP)/idz/*.{exe,dll}
|
|
$(V)cd $(BUILD_DIR_ZIP)/idz ; zip -r ../idz.zip *
|
|
|
|
$(BUILD_DIR_ZIP)/mercury.zip:
|
|
$(V)echo ... $@
|
|
$(V)mkdir -p $(BUILD_DIR_ZIP)/mercury
|
|
$(V)mkdir -p $(BUILD_DIR_ZIP)/mercury/DEVICE
|
|
$(V)cp $(BUILD_DIR_64)/subprojects/capnhook/inject/inject.exe \
|
|
$(BUILD_DIR_64)/mercuryhook/mercuryhook.dll \
|
|
$(DIST_DIR)/mercury/segatools.ini \
|
|
$(DIST_DIR)/mercury/start.bat \
|
|
$(BUILD_DIR_ZIP)/mercury
|
|
$(V)cp pki/billing.pub \
|
|
pki/ca.crt \
|
|
$(BUILD_DIR_ZIP)/mercury/DEVICE
|
|
$(V)strip $(BUILD_DIR_ZIP)/mercury/*.{exe,dll}
|
|
$(V)cd $(BUILD_DIR_ZIP)/mercury ; zip -r ../mercury.zip *
|
|
|
|
|
|
$(BUILD_DIR_ZIP)/mu3.zip:
|
|
$(V)echo ... $@
|
|
$(V)mkdir -p $(BUILD_DIR_ZIP)/mu3
|
|
$(V)mkdir -p $(BUILD_DIR_ZIP)/mu3/DEVICE
|
|
$(V)cp $(BUILD_DIR_64)/subprojects/capnhook/inject/inject.exe \
|
|
$(BUILD_DIR_64)/mu3hook/mu3hook.dll \
|
|
$(DIST_DIR)/mu3/segatools.ini \
|
|
$(DIST_DIR)/mu3/start.bat \
|
|
$(BUILD_DIR_ZIP)/mu3
|
|
$(V)cp pki/billing.pub \
|
|
pki/ca.crt \
|
|
$(BUILD_DIR_ZIP)/mu3/DEVICE
|
|
$(V)strip $(BUILD_DIR_ZIP)/mu3/*.{exe,dll}
|
|
$(V)cd $(BUILD_DIR_ZIP)/mu3 ; zip -r ../mu3.zip *
|
|
|
|
$(BUILD_DIR_ZIP)/doc.zip: \
|
|
$(DOC_DIR)/config \
|
|
$(DOC_DIR)/chunihook.md \
|
|
$(DOC_DIR)/idzhook.md \
|
|
| $(zipdir)/
|
|
$(V)echo ... $@
|
|
$(V)zip -r $@ $^
|
|
|
|
$(BUILD_DIR_ZIP)/segatools.zip: \
|
|
$(BUILD_DIR_ZIP)/chuni.zip \
|
|
$(BUILD_DIR_ZIP)/cxb.zip \
|
|
$(BUILD_DIR_ZIP)/carol.zip \
|
|
$(BUILD_DIR_ZIP)/diva.zip \
|
|
$(BUILD_DIR_ZIP)/doc.zip \
|
|
$(BUILD_DIR_ZIP)/idz.zip \
|
|
$(BUILD_DIR_ZIP)/mercury.zip \
|
|
$(BUILD_DIR_ZIP)/mu3.zip \
|
|
CHANGELOG.md \
|
|
README.md \
|
|
|
|
$(V)echo ... $@
|
|
$(V)zip -j $@ $^
|