26 lines
574 B
Makefile
26 lines
574 B
Makefile
|
thisdir = tools/linker
|
||
|
SUBDIRS =
|
||
|
include ../../build/rules.make
|
||
|
|
||
|
PROGRAM_SNK = ../../class/mono.snk
|
||
|
|
||
|
CECIL = $(topdir)/class/lib/$(PROFILE)/Mono.Cecil.dll
|
||
|
|
||
|
RESOURCES = \
|
||
|
Descriptors/mscorlib.xml \
|
||
|
Descriptors/System.xml \
|
||
|
Descriptors/System.Core.xml \
|
||
|
Descriptors/System.Drawing.xml \
|
||
|
Descriptors/System.Web.xml \
|
||
|
Descriptors/Mono.Posix.xml \
|
||
|
|
||
|
PROGRAM = monolinker.exe
|
||
|
|
||
|
$(PROGRAM): $(RESOURCES)
|
||
|
|
||
|
LOCAL_MCS_FLAGS = /r:$(CECIL) /r:System.Xml.dll -keyfile:$(PROGRAM_SNK) $(RESOURCES:%=-resource:%)
|
||
|
|
||
|
EXTRA_DISTFILES = $(RESOURCES)
|
||
|
|
||
|
include ../../build/executable.make
|