Ryujinx-GtkSharp/audit/makefile
Bertrand Lorentz 2a7d26a8b0 audit: Add gen-apidiff-html tool to generate apidiff reports
The gen-apidiff-html tool takes all apidiff files in a directory, merges
them and then applies mono-api.xsl to produce a nice HTML page that
shows the information about the API changes.

The various resources needed by the HTML page (images, CSS, javascript)
are added in the html/ directory.

This is all adapted from an older version of the tools in Mono git
master, under mcs/tools/corcompare.
2013-03-29 17:50:07 +01:00

35 lines
664 B
Makefile

MCS=mcs
COMMON_SOURCES = \
AssemblyResolver.cs \
Util.cs \
WellFormedXmlWriter.cs
APIINFO_SOURCES = mono-api-info.cs $(COMMON_SOURCES)
all: extract-missing.exe mono-api-info.exe mono-api-diff.exe gen-apidiff-html.exe
check: all
rm -rf curr diff
./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
mono-api-info.exe: $(APIINFO_SOURCES)
$(MCS) `pkg-config --libs mono-cecil` -out:$@ $^
extract-missing.exe: extract-missing.cs
$(MCS) extract-missing.cs
gen-apidiff-html.exe: gen-apidiff-html.cs
$(MCS) -out:$@ $^
clean:
rm -f *.exe
rm -rf curr
rm -rf diff