From 28008a746a31abb7909dd86cb0cd413ac8943b0b Mon Sep 17 00:00:00 2001 From: jmpoep Date: Thu, 7 Dec 2023 16:51:07 +0800 Subject: first commit --- unit-tests/lin_unit-tests.mak | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 unit-tests/lin_unit-tests.mak (limited to 'unit-tests/lin_unit-tests.mak') diff --git a/unit-tests/lin_unit-tests.mak b/unit-tests/lin_unit-tests.mak new file mode 100644 index 0000000..8d9723c --- /dev/null +++ b/unit-tests/lin_unit-tests.mak @@ -0,0 +1,16 @@ +SOURCES := core_tests.cc files_tests.cc intel_tests.cc il_tests.cc macfile_tests.cc pefile_tests.cc elffile_tests.cc test1.cc ../third-party/lzma/LzmaDecode.cc + +PROJECT := unit.Tests +TARGET := $(PROJECT) +BIN_DIR := ../bin/$(ARCH_DIR)/$(CFG_DIR) +TMP_DIR := ../tmp/lin/$(PROJECT)/$(ARCH_DIR)/TESTS +PCH_DIR := $(TMP_DIR)/$(PROJECT).gch +DEFINES := $(CONFIG) -D TIXML_USE_STL -D _CONSOLE -D FFI_BUILDING +LFLAGS := +LIBS = $(SDK_LIBS) -Wl,--no-as-needed -L../bin -lVMProtectSDK$(ARCH_DIR) -ldl -Wl,--as-needed +OBJCOMP := ../bin/$(ARCH_DIR)/Release/gtests.a ../bin/$(ARCH_DIR)/$(CFG_DIR)/core.a ../bin/$(ARCH_DIR)/invariant_core.a ../third-party/libffi/libffi$(ARCH_DIR).a -lcrypto -lpthread +DYLIBS := +INCFLAGS := -I ../third-party/gmock/include/ -I ../third-party/gtest/include/ -I ../third-party/gmock/ -I ../third-party/gtest/ + +include ../lin_common.mak +include ../gnu_simple.mak -- cgit v1.2.3