2020-09-26 22:17:23 +02:00
|
|
|
############################################################
|
|
|
|
# Launch5j, by LoRd_MuldeR <MuldeR2@GMX.de> #
|
|
|
|
# Java JAR wrapper for creating Windows native executables #
|
|
|
|
# https://github.com/lordmulder/ #
|
|
|
|
# #
|
|
|
|
# This work has been released under the MIT license. #
|
|
|
|
# Please see LICENSE.TXT for details! #
|
|
|
|
# #
|
|
|
|
# ACKNOWLEDGEMENT #
|
|
|
|
# This project is partly inspired by the Launch4j project: #
|
|
|
|
# https://sourceforge.net/p/launch4j/ #
|
|
|
|
############################################################
|
|
|
|
|
2020-09-30 14:15:06 +02:00
|
|
|
MACHINE := $(patsubst %-w64-mingw32,[%],$(shell $(CXX) -dumpmachine))
|
2020-10-03 18:22:26 +02:00
|
|
|
BUILDNO := $(shell git rev-list --count HEAD 2>&- || echo 0)
|
2020-09-30 14:15:06 +02:00
|
|
|
|
2020-10-03 20:56:45 +02:00
|
|
|
VERSION_MAJOR := $(shell grep -Po '#define[[:space:]]+L5J_VERSION_MAJOR[[:space:]]+\K[[:digit:]]+' src/resource.h)
|
|
|
|
VERSION_MINOR := $(shell grep -Po '#define[[:space:]]+L5J_VERSION_MINOR[[:space:]]+\K[[:digit:]]+' src/resource.h)
|
|
|
|
VERSION_PATCH := $(shell grep -Po '#define[[:space:]]+L5J_VERSION_PATCH[[:space:]]+\K[[:digit:]]+' src/resource.h)
|
|
|
|
|
2020-09-30 14:15:06 +02:00
|
|
|
ifeq ($(MACHINE),[i686])
|
|
|
|
CPU_ARCH := x86
|
|
|
|
MARCH ?= i586
|
|
|
|
else ifeq ($(MACHINE),[x86_64])
|
2020-10-03 20:56:45 +02:00
|
|
|
CPU_ARCH := amd64
|
2020-09-30 14:15:06 +02:00
|
|
|
MARCH ?= x86-64
|
2020-09-27 20:33:49 +02:00
|
|
|
else
|
2020-09-30 14:15:06 +02:00
|
|
|
$(error Unknown target machine "$(MACHINE)" encountered!)
|
2020-09-27 20:33:49 +02:00
|
|
|
endif
|
|
|
|
|
2020-09-30 14:15:06 +02:00
|
|
|
DEBUG ?= 0
|
2020-09-28 01:23:40 +02:00
|
|
|
MTUNE ?= generic
|
|
|
|
|
2020-09-30 14:15:06 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
|
|
|
CFLAGS = -Os -static -static-libgcc -D_FORTIFY_SOURCE=2 -DNDEBUG
|
|
|
|
SUFFIX = exe
|
|
|
|
else
|
|
|
|
CFLAGS = -Og -g
|
|
|
|
SUFFIX = g.exe
|
|
|
|
endif
|
|
|
|
|
|
|
|
CFLAGS += -municode -mwindows -march=$(MARCH) -mtune=$(MTUNE)
|
2020-09-30 21:23:06 +02:00
|
|
|
LDFLAGS = -lcomctl32
|
2020-09-26 22:17:23 +02:00
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
MANIFEST := tmp/assets/manifest.$(CPU_ARCH).xml
|
|
|
|
|
2020-10-02 19:01:29 +02:00
|
|
|
# ==========================================================
|
|
|
|
# Targets
|
|
|
|
# ==========================================================
|
2020-09-26 22:17:23 +02:00
|
|
|
|
2020-10-02 19:01:29 +02:00
|
|
|
.PHONY: default
|
|
|
|
default: all
|
2020-09-26 22:17:23 +02:00
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: initialize
|
|
|
|
initialize:
|
2020-09-26 22:17:23 +02:00
|
|
|
mkdir -p bin
|
|
|
|
mkdir -p obj
|
2020-10-04 17:49:25 +02:00
|
|
|
mkdir -p tmp
|
2020-09-26 22:17:23 +02:00
|
|
|
|
2020-10-02 19:01:29 +02:00
|
|
|
.PHONY: resources
|
2020-10-04 17:49:25 +02:00
|
|
|
resources: initialize $(MANIFEST)
|
2020-10-03 20:56:45 +02:00
|
|
|
windres -DL5J_CPU_ARCH=$(CPU_ARCH) -DL5J_BUILDNO=$(BUILDNO) -o obj/common.$(CPU_ARCH).o res/common.rc
|
|
|
|
windres -DL5J_CPU_ARCH=$(CPU_ARCH) -DL5J_BUILDNO=$(BUILDNO) -o obj/splash_screen.$(CPU_ARCH).o res/splash_screen.rc
|
|
|
|
windres -DL5J_CPU_ARCH=$(CPU_ARCH) -DL5J_BUILDNO=$(BUILDNO) -o obj/registry.$(CPU_ARCH).o res/registry.rc
|
2020-09-28 01:23:40 +02:00
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
$(MANIFEST):
|
|
|
|
mkdir -p $(@D)
|
|
|
|
sed -e 's/$${{version}}/$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_PATCH).$(BUILDNO)/g' -e 's/$${{processorArchitecture}}/$(CPU_ARCH)/g' res/assets/manifest.xml > $@
|
|
|
|
|
2020-10-02 19:01:29 +02:00
|
|
|
.PHONY: clean
|
|
|
|
clean: init
|
|
|
|
$(RM) bin/*.$(SUFFIX)
|
|
|
|
$(RM) obj/*.o
|
2020-09-26 22:17:23 +02:00
|
|
|
|
2020-10-02 19:01:29 +02:00
|
|
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
# Binaries
|
|
|
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_0811A25A
|
|
|
|
l5j_0811A25A: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=0 -DL5J_DETECT_REGISTRY=0 -DL5J_STAY_ALIVE=1 -DL5J_ENABLE_SPLASH=1 -DL5J_ENCODE_ARGS=1 -o bin/launch5j_$(CPU_ARCH).exe src/head.c obj/common.$(CPU_ARCH).o obj/splash_screen.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-09-30 21:23:06 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH).exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_42469150
|
|
|
|
l5j_42469150: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=0 -DL5J_DETECT_REGISTRY=0 -DL5J_STAY_ALIVE=1 -DL5J_ENABLE_SPLASH=1 -DL5J_ENCODE_ARGS=0 -o bin/launch5j_$(CPU_ARCH)_noenc.exe src/head.c obj/common.$(CPU_ARCH).o obj/splash_screen.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-10-02 16:00:22 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_noenc.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_F81FDB78
|
|
|
|
l5j_F81FDB78: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=0 -DL5J_DETECT_REGISTRY=0 -DL5J_STAY_ALIVE=1 -DL5J_ENABLE_SPLASH=0 -DL5J_ENCODE_ARGS=1 -o bin/launch5j_$(CPU_ARCH)_nosplash.exe src/head.c obj/common.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-09-30 21:23:06 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_nosplash.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_7CF91784
|
|
|
|
l5j_7CF91784: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=0 -DL5J_DETECT_REGISTRY=0 -DL5J_STAY_ALIVE=1 -DL5J_ENABLE_SPLASH=0 -DL5J_ENCODE_ARGS=0 -o bin/launch5j_$(CPU_ARCH)_nosplash_noenc.exe src/head.c obj/common.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-10-02 16:00:22 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_nosplash_noenc.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_E587E52D
|
|
|
|
l5j_E587E52D: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=0 -DL5J_DETECT_REGISTRY=0 -DL5J_STAY_ALIVE=0 -DL5J_ENABLE_SPLASH=1 -DL5J_ENCODE_ARGS=1 -o bin/launch5j_$(CPU_ARCH)_nowait.exe src/head.c obj/common.$(CPU_ARCH).o obj/splash_screen.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-09-30 21:23:06 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_nowait.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_6E20D95A
|
|
|
|
l5j_6E20D95A: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=0 -DL5J_DETECT_REGISTRY=0 -DL5J_STAY_ALIVE=0 -DL5J_ENABLE_SPLASH=1 -DL5J_ENCODE_ARGS=0 -o bin/launch5j_$(CPU_ARCH)_nowait_noenc.exe src/head.c obj/common.$(CPU_ARCH).o obj/splash_screen.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-10-02 16:00:22 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_nowait_noenc.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_DA0AF4B3
|
|
|
|
l5j_DA0AF4B3: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=0 -DL5J_DETECT_REGISTRY=0 -DL5J_STAY_ALIVE=0 -DL5J_ENABLE_SPLASH=0 -DL5J_ENCODE_ARGS=1 -o bin/launch5j_$(CPU_ARCH)_nowait_nosplash.exe src/head.c obj/common.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-09-30 21:23:06 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_nowait_nosplash.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_C2A28D42
|
|
|
|
l5j_C2A28D42: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=0 -DL5J_DETECT_REGISTRY=0 -DL5J_STAY_ALIVE=0 -DL5J_ENABLE_SPLASH=0 -DL5J_ENCODE_ARGS=0 -o bin/launch5j_$(CPU_ARCH)_nowait_nosplash_noenc.exe src/head.c obj/common.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-10-02 16:00:22 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_nowait_nosplash_noenc.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_C1D101EB
|
|
|
|
l5j_C1D101EB: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=0 -DL5J_DETECT_REGISTRY=1 -DL5J_STAY_ALIVE=1 -DL5J_ENABLE_SPLASH=1 -DL5J_ENCODE_ARGS=1 -o bin/launch5j_$(CPU_ARCH)_registry.exe src/head.c obj/common.$(CPU_ARCH).o obj/splash_screen.$(CPU_ARCH).o obj/registry.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-09-30 21:23:06 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_registry.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_8ACFCE06
|
|
|
|
l5j_8ACFCE06: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=0 -DL5J_DETECT_REGISTRY=1 -DL5J_STAY_ALIVE=1 -DL5J_ENABLE_SPLASH=1 -DL5J_ENCODE_ARGS=0 -o bin/launch5j_$(CPU_ARCH)_registry_noenc.exe src/head.c obj/common.$(CPU_ARCH).o obj/splash_screen.$(CPU_ARCH).o obj/registry.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-10-02 16:00:22 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_registry_noenc.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_9323B28F
|
|
|
|
l5j_9323B28F: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=0 -DL5J_DETECT_REGISTRY=1 -DL5J_STAY_ALIVE=1 -DL5J_ENABLE_SPLASH=0 -DL5J_ENCODE_ARGS=1 -o bin/launch5j_$(CPU_ARCH)_registry_nosplash.exe src/head.c obj/common.$(CPU_ARCH).o obj/registry.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-09-30 21:23:06 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_registry_nosplash.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_C522BC06
|
|
|
|
l5j_C522BC06: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=0 -DL5J_DETECT_REGISTRY=1 -DL5J_STAY_ALIVE=1 -DL5J_ENABLE_SPLASH=0 -DL5J_ENCODE_ARGS=0 -o bin/launch5j_$(CPU_ARCH)_registry_nosplash_noenc.exe src/head.c obj/common.$(CPU_ARCH).o obj/registry.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-10-02 16:00:22 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_registry_nosplash_noenc.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_6DDBAE3A
|
|
|
|
l5j_6DDBAE3A: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=0 -DL5J_DETECT_REGISTRY=1 -DL5J_STAY_ALIVE=0 -DL5J_ENABLE_SPLASH=1 -DL5J_ENCODE_ARGS=1 -o bin/launch5j_$(CPU_ARCH)_registry_nowait.exe src/head.c obj/common.$(CPU_ARCH).o obj/splash_screen.$(CPU_ARCH).o obj/registry.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-09-30 21:23:06 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_registry_nowait.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_54363F57
|
|
|
|
l5j_54363F57: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=0 -DL5J_DETECT_REGISTRY=1 -DL5J_STAY_ALIVE=0 -DL5J_ENABLE_SPLASH=1 -DL5J_ENCODE_ARGS=0 -o bin/launch5j_$(CPU_ARCH)_registry_nowait_noenc.exe src/head.c obj/common.$(CPU_ARCH).o obj/splash_screen.$(CPU_ARCH).o obj/registry.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-10-02 16:00:22 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_registry_nowait_noenc.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_99A9F076
|
|
|
|
l5j_99A9F076: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=0 -DL5J_DETECT_REGISTRY=1 -DL5J_STAY_ALIVE=0 -DL5J_ENABLE_SPLASH=0 -DL5J_ENCODE_ARGS=1 -o bin/launch5j_$(CPU_ARCH)_registry_nowait_nosplash.exe src/head.c obj/common.$(CPU_ARCH).o obj/registry.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-09-30 21:23:06 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_registry_nowait_nosplash.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_87BC92B7
|
|
|
|
l5j_87BC92B7: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=0 -DL5J_DETECT_REGISTRY=1 -DL5J_STAY_ALIVE=0 -DL5J_ENABLE_SPLASH=0 -DL5J_ENCODE_ARGS=0 -o bin/launch5j_$(CPU_ARCH)_registry_nowait_nosplash_noenc.exe src/head.c obj/common.$(CPU_ARCH).o obj/registry.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-10-02 16:00:22 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_registry_nowait_nosplash_noenc.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_23E70F95
|
|
|
|
l5j_23E70F95: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=1 -DL5J_DETECT_REGISTRY=0 -DL5J_STAY_ALIVE=1 -DL5J_ENABLE_SPLASH=1 -DL5J_ENCODE_ARGS=1 -o bin/launch5j_$(CPU_ARCH)_wrapped.exe src/head.c obj/common.$(CPU_ARCH).o obj/splash_screen.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-09-30 21:23:06 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_wrapped.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_F7BB2C3A
|
|
|
|
l5j_F7BB2C3A: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=1 -DL5J_DETECT_REGISTRY=0 -DL5J_STAY_ALIVE=1 -DL5J_ENABLE_SPLASH=1 -DL5J_ENCODE_ARGS=0 -o bin/launch5j_$(CPU_ARCH)_wrapped_noenc.exe src/head.c obj/common.$(CPU_ARCH).o obj/splash_screen.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-10-02 16:00:22 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_wrapped_noenc.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_3D20DF32
|
|
|
|
l5j_3D20DF32: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=1 -DL5J_DETECT_REGISTRY=0 -DL5J_STAY_ALIVE=1 -DL5J_ENABLE_SPLASH=0 -DL5J_ENCODE_ARGS=1 -o bin/launch5j_$(CPU_ARCH)_wrapped_nosplash.exe src/head.c obj/common.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-09-30 21:23:06 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_wrapped_nosplash.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_4C98F897
|
|
|
|
l5j_4C98F897: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=1 -DL5J_DETECT_REGISTRY=0 -DL5J_STAY_ALIVE=1 -DL5J_ENABLE_SPLASH=0 -DL5J_ENCODE_ARGS=0 -o bin/launch5j_$(CPU_ARCH)_wrapped_nosplash_noenc.exe src/head.c obj/common.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-10-02 16:00:22 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_wrapped_nosplash_noenc.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_F294C7A0
|
|
|
|
l5j_F294C7A0: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=1 -DL5J_DETECT_REGISTRY=0 -DL5J_STAY_ALIVE=0 -DL5J_ENABLE_SPLASH=1 -DL5J_ENCODE_ARGS=1 -o bin/launch5j_$(CPU_ARCH)_wrapped_nowait.exe src/head.c obj/common.$(CPU_ARCH).o obj/splash_screen.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-09-30 21:23:06 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_wrapped_nowait.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_73B5E7E2
|
|
|
|
l5j_73B5E7E2: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=1 -DL5J_DETECT_REGISTRY=0 -DL5J_STAY_ALIVE=0 -DL5J_ENABLE_SPLASH=1 -DL5J_ENCODE_ARGS=0 -o bin/launch5j_$(CPU_ARCH)_wrapped_nowait_noenc.exe src/head.c obj/common.$(CPU_ARCH).o obj/splash_screen.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-10-02 16:00:22 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_wrapped_nowait_noenc.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_954D523C
|
|
|
|
l5j_954D523C: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=1 -DL5J_DETECT_REGISTRY=0 -DL5J_STAY_ALIVE=0 -DL5J_ENABLE_SPLASH=0 -DL5J_ENCODE_ARGS=1 -o bin/launch5j_$(CPU_ARCH)_wrapped_nowait_nosplash.exe src/head.c obj/common.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-09-30 21:23:06 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_wrapped_nowait_nosplash.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_DC741815
|
|
|
|
l5j_DC741815: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=1 -DL5J_DETECT_REGISTRY=0 -DL5J_STAY_ALIVE=0 -DL5J_ENABLE_SPLASH=0 -DL5J_ENCODE_ARGS=0 -o bin/launch5j_$(CPU_ARCH)_wrapped_nowait_nosplash_noenc.exe src/head.c obj/common.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-10-02 16:00:22 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_wrapped_nowait_nosplash_noenc.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_2627E161
|
|
|
|
l5j_2627E161: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=1 -DL5J_DETECT_REGISTRY=1 -DL5J_STAY_ALIVE=1 -DL5J_ENABLE_SPLASH=1 -DL5J_ENCODE_ARGS=1 -o bin/launch5j_$(CPU_ARCH)_wrapped_registry.exe src/head.c obj/common.$(CPU_ARCH).o obj/splash_screen.$(CPU_ARCH).o obj/registry.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-09-30 21:23:06 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_wrapped_registry.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_D900AE4B
|
|
|
|
l5j_D900AE4B: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=1 -DL5J_DETECT_REGISTRY=1 -DL5J_STAY_ALIVE=1 -DL5J_ENABLE_SPLASH=1 -DL5J_ENCODE_ARGS=0 -o bin/launch5j_$(CPU_ARCH)_wrapped_registry_noenc.exe src/head.c obj/common.$(CPU_ARCH).o obj/splash_screen.$(CPU_ARCH).o obj/registry.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-10-02 16:00:22 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_wrapped_registry_noenc.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_C6E02423
|
|
|
|
l5j_C6E02423: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=1 -DL5J_DETECT_REGISTRY=1 -DL5J_STAY_ALIVE=1 -DL5J_ENABLE_SPLASH=0 -DL5J_ENCODE_ARGS=1 -o bin/launch5j_$(CPU_ARCH)_wrapped_registry_nosplash.exe src/head.c obj/common.$(CPU_ARCH).o obj/registry.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-09-30 21:23:06 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_wrapped_registry_nosplash.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_1AA2C98F
|
|
|
|
l5j_1AA2C98F: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=1 -DL5J_DETECT_REGISTRY=1 -DL5J_STAY_ALIVE=1 -DL5J_ENABLE_SPLASH=0 -DL5J_ENCODE_ARGS=0 -o bin/launch5j_$(CPU_ARCH)_wrapped_registry_nosplash_noenc.exe src/head.c obj/common.$(CPU_ARCH).o obj/registry.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-10-02 16:00:22 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_wrapped_registry_nosplash_noenc.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_C0460A41
|
|
|
|
l5j_C0460A41: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=1 -DL5J_DETECT_REGISTRY=1 -DL5J_STAY_ALIVE=0 -DL5J_ENABLE_SPLASH=1 -DL5J_ENCODE_ARGS=1 -o bin/launch5j_$(CPU_ARCH)_wrapped_registry_nowait.exe src/head.c obj/common.$(CPU_ARCH).o obj/splash_screen.$(CPU_ARCH).o obj/registry.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-09-30 21:23:06 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_wrapped_registry_nowait.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_795967C2
|
|
|
|
l5j_795967C2: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=1 -DL5J_DETECT_REGISTRY=1 -DL5J_STAY_ALIVE=0 -DL5J_ENABLE_SPLASH=1 -DL5J_ENCODE_ARGS=0 -o bin/launch5j_$(CPU_ARCH)_wrapped_registry_nowait_noenc.exe src/head.c obj/common.$(CPU_ARCH).o obj/splash_screen.$(CPU_ARCH).o obj/registry.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-10-02 16:00:22 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_wrapped_registry_nowait_noenc.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_33D9B9BD
|
|
|
|
l5j_33D9B9BD: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=1 -DL5J_DETECT_REGISTRY=1 -DL5J_STAY_ALIVE=0 -DL5J_ENABLE_SPLASH=0 -DL5J_ENCODE_ARGS=1 -o bin/launch5j_$(CPU_ARCH)_wrapped_registry_nowait_nosplash.exe src/head.c obj/common.$(CPU_ARCH).o obj/registry.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-09-30 21:23:06 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_wrapped_registry_nowait_nosplash.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-10-04 17:49:25 +02:00
|
|
|
.PHONY: l5j_ECB0C2F6
|
|
|
|
l5j_ECB0C2F6: resources
|
2020-10-03 18:22:26 +02:00
|
|
|
$(CC) $(CFLAGS) -DL5J_BUILDNO=$(BUILDNO) -DL5J_JAR_FILE_WRAPPED=1 -DL5J_DETECT_REGISTRY=1 -DL5J_STAY_ALIVE=0 -DL5J_ENABLE_SPLASH=0 -DL5J_ENCODE_ARGS=0 -o bin/launch5j_$(CPU_ARCH)_wrapped_registry_nowait_nosplash_noenc.exe src/head.c obj/common.$(CPU_ARCH).o obj/registry.$(CPU_ARCH).o $(LDFLAGS)
|
2020-10-02 19:01:29 +02:00
|
|
|
ifeq ($(DEBUG),0)
|
2020-10-02 16:00:22 +02:00
|
|
|
strip bin/launch5j_$(CPU_ARCH)_wrapped_registry_nowait_nosplash_noenc.exe
|
2020-10-02 19:01:29 +02:00
|
|
|
endif
|
2020-09-26 22:17:23 +02:00
|
|
|
|
2020-10-02 19:01:29 +02:00
|
|
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
# ALL
|
|
|
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
all: \
|
2020-10-04 17:49:25 +02:00
|
|
|
l5j_0811A25A \
|
|
|
|
l5j_42469150 \
|
|
|
|
l5j_F81FDB78 \
|
|
|
|
l5j_7CF91784 \
|
|
|
|
l5j_E587E52D \
|
|
|
|
l5j_6E20D95A \
|
|
|
|
l5j_DA0AF4B3 \
|
|
|
|
l5j_C2A28D42 \
|
|
|
|
l5j_C1D101EB \
|
|
|
|
l5j_8ACFCE06 \
|
|
|
|
l5j_9323B28F \
|
|
|
|
l5j_C522BC06 \
|
|
|
|
l5j_6DDBAE3A \
|
|
|
|
l5j_54363F57 \
|
|
|
|
l5j_99A9F076 \
|
|
|
|
l5j_87BC92B7 \
|
|
|
|
l5j_23E70F95 \
|
|
|
|
l5j_F7BB2C3A \
|
|
|
|
l5j_3D20DF32 \
|
|
|
|
l5j_4C98F897 \
|
|
|
|
l5j_F294C7A0 \
|
|
|
|
l5j_73B5E7E2 \
|
|
|
|
l5j_954D523C \
|
|
|
|
l5j_DC741815 \
|
|
|
|
l5j_2627E161 \
|
|
|
|
l5j_D900AE4B \
|
|
|
|
l5j_C6E02423 \
|
|
|
|
l5j_1AA2C98F \
|
|
|
|
l5j_C0460A41 \
|
|
|
|
l5j_795967C2 \
|
|
|
|
l5j_33D9B9BD \
|
|
|
|
l5j_ECB0C2F6
|
2020-09-30 21:23:06 +02:00
|
|
|
|