add monotouch sources files
[mcs.git] / tools / corcompare / Makefile
bloba3ce6c8a15cae0556c01e3af6602b07533652cdc
1 thisdir = tools/corcompare
2 SUBDIRS =
3 include ../../build/rules.make
5 ALL_PROGRAMS = mono-api-info.exe
7 CECIL = ../../class/lib/net_1_1/Mono.Cecil.dll
9 COMMON_SOURCES = \
10 AssemblyResolver.cs \
11 Util.cs \
12 WellFormedXmlWriter.cs
14 PROGRAM_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)
16 APIINFO_SOURCES = mono-api-info.cs $(COMMON_SOURCES)
18 DISTFILES= $(COMMON_SOURCES) $(APIINFO_SOURCES)
20 all-local: $(ALL_PROGRAMS)
22 doc-update-local:
24 install-local: $(ALL_PROGRAMS)
25 $(MKINSTALLDIRS) $(DESTDIR)$(PROGRAM_INSTALL_DIR)
26 for i in $(ALL_PROGRAMS) ; do \
27 $(INSTALL_BIN) $$i $(DESTDIR)$(PROGRAM_INSTALL_DIR) ; \
28 done
30 uninstall-local:
31 for i in $(ALL_PROGRAMS) ; do \
32 rm -f $(DESTDIR)$(PROGRAM_INSTALL_DIR)/`basename $$i` ; \
33 done
35 test-local:
37 run-test-local run-test-ondotnet-local:
39 clean-local:
40 rm -f *.exe *.pdb
42 dist-local: dist-default
44 mono-api-info.exe: $(APIINFO_SOURCES)
45 $(CSCOMPILE) -r:$(CECIL) -out:$@ $^