2013-03-29 17:18:28 +00:00
|
|
|
MCS=dmcs
|
2005-05-21 16:41:11 +00:00
|
|
|
|
2013-02-23 13:43:51 +00:00
|
|
|
COMMON_SOURCES = \
|
|
|
|
AssemblyResolver.cs \
|
|
|
|
Util.cs \
|
|
|
|
WellFormedXmlWriter.cs
|
|
|
|
|
|
|
|
APIINFO_SOURCES = mono-api-info.cs $(COMMON_SOURCES)
|
|
|
|
|
2013-03-29 16:50:07 +00:00
|
|
|
all: extract-missing.exe mono-api-info.exe mono-api-diff.exe gen-apidiff-html.exe
|
2005-05-21 16:41:11 +00:00
|
|
|
|
|
|
|
check: all
|
2006-08-01 16:41:39 +00:00
|
|
|
rm -rf curr diff
|
2005-05-21 16:41:11 +00:00
|
|
|
./get-apiinfo.pl .. curr
|
|
|
|
./get-apidiff.pl base curr diff
|
|
|
|
./get-missing.pl diff
|
|
|
|
|
|
|
|
mono-api-diff.exe: mono-api-diff.cs
|
|
|
|
$(MCS) mono-api-diff.cs
|
|
|
|
|
2013-02-23 13:43:51 +00:00
|
|
|
mono-api-info.exe: $(APIINFO_SOURCES)
|
|
|
|
$(MCS) `pkg-config --libs mono-cecil` -out:$@ $^
|
2005-05-21 16:41:11 +00:00
|
|
|
|
|
|
|
extract-missing.exe: extract-missing.cs
|
|
|
|
$(MCS) extract-missing.cs
|
|
|
|
|
2013-03-29 16:50:07 +00:00
|
|
|
gen-apidiff-html.exe: gen-apidiff-html.cs
|
|
|
|
$(MCS) -out:$@ $^
|
|
|
|
|
2005-05-21 16:41:11 +00:00
|
|
|
clean:
|
|
|
|
rm -f *.exe
|
|
|
|
rm -rf curr
|
|
|
|
rm -rf diff
|
|
|
|
|