VMProtect/unit-tests/lin_unit-tests.mak
VNGhostMans 5ec92ee05e first commit
Version 3.x.x
2023-05-14 20:21:09 +07:00

17 lines
948 B
Makefile

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