与 dogprotect / linux-build 分支同一次改名,等价内容:
- 产品名/展示串、SDK 与运行时导出 API、.NET 命名空间全部换为 DogProtect
- 文件名与目录改名(dogprotect.sln / DogProtect/ / DogProtectCon/ / sdk/DogProtect.SDK/ /
sdk/DogProtectSDK.{h,pas,bas,inc} / runtime/DogProtect.Runtime/ / core/dogprotect.rc /
app/dogprotect_gui.app)
- 项目文件扩展名 .vmp → .dog;VM 代码节名默认 .dog(产物节 .dog0/.dog1/...)
- 授权数据/配置: DogProtect.dat、DogProtectLicense.ini、Global\\DogProtect.dat
- 域名占位 dogprotect.example、bundle id com.dogprotect.dogprotect
- 保留 VMP_* 内部宏与 third-party/
17 lines
949 B
Makefile
17 lines
949 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 -lDogProtectSDK$(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
|