aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/lin_unit-tests.mak
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/lin_unit-tests.mak')
-rw-r--r--unit-tests/lin_unit-tests.mak16
1 files changed, 16 insertions, 0 deletions
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