24 строки
927 B
Makefile
24 строки
927 B
Makefile
TOP = ../../..
|
|
include $(TOP)/Make.config
|
|
|
|
DESTDIR ?= /usr/local/bin/
|
|
CONFIGURATION ?= Debug
|
|
MONO_ROOT:=../../../external/mono/
|
|
|
|
test-importer:
|
|
@make -C ../../../tools/bcl-test-importer/ all
|
|
@rm -Rf bcl-test-importer
|
|
@mkdir -p bcl-test-importer
|
|
cp ../../../tools/bcl-test-importer/BCLTestImporter/bin/Debug/* bcl-test-importer
|
|
|
|
generate-test-projects: test-importer ./RegisterType.cs.in ./BCLTests.csproj.in
|
|
mono ./bcl-test-importer/BCLTestImporter.exe --generate-all-projects --output=. --clean
|
|
mono ./bcl-test-importer/BCLTestImporter.exe --generate-all-projects --output=. --override --register-type-template=RegisterType.cs.in --project-template=. --plist-template=. --mono-root=../../../external/mono/ --sdk-download=$(MONO_SDK_DESTDIR) -iOS -v
|
|
|
|
all: generate-test-projects
|
|
|
|
clean: test-importer
|
|
mono ./bcl-test-importer/BCLTestImporter.exe --generate-all-projects --output=. --clean
|
|
@rm -Rf ./bin
|
|
@rm -Rf ./obj
|