31 lines
683 B
Makefile
Raw Normal View History

thisdir = class/Mono.CSharp
SUBDIRS =
include ../../build/rules.make
LIBRARY = Mono.CSharp.dll
LIB_REFS = System.Core System.Xml System
KEYFILE = ../mono.pub
LIB_MCS_FLAGS =
ifdef AOT_FRIENDLY_PROFILE
LIB_MCS_FLAGS += -d:IOS_REFLECTION
endif
ifndef NO_THREAD_ABORT
REFERENCE_SOURCES_FLAGS += -d:MONO_FEATURE_THREAD_ABORT
endif
TEST_MCS_FLAGS =
TEST_LIB_REFS = System.Core
LIB_MCS_FLAGS += $(REFERENCE_SOURCES_FLAGS)
BUILT_SOURCES = $(PROFILE)-parser.cs
$(PROFILE)-parser.cs: $(topdir)/mcs/cs-parser.jay $(topdir)/jay/skeleton.cs
$(topdir)/jay/jay -c < $(topdir)/jay/skeleton.cs $< > $(PROFILE)-jay-tmp.out && mv $(PROFILE)-jay-tmp.out $@
include ../../build/library.make