Fix wrong references to Cecil
[mono.git] / mcs / tools / corcompare / Makefile
1 thisdir = tools/corcompare
2 SUBDIRS =
3 include ../../build/rules.make
4
5 ALL_PROGRAMS = mono-api-info.exe
6
7 COMMON_SOURCES = \
8         AssemblyResolver.cs     \
9         Util.cs \
10         WellFormedXmlWriter.cs
11
12 PROGRAM_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)
13
14 APIINFO_SOURCES = mono-api-info.cs $(COMMON_SOURCES)
15
16 DISTFILES= $(COMMON_SOURCES) $(APIINFO_SOURCES)
17
18 all-local: $(ALL_PROGRAMS)
19
20 csproj-local doc-update-local:
21
22 install-local: $(ALL_PROGRAMS)
23         $(MKINSTALLDIRS) $(DESTDIR)$(PROGRAM_INSTALL_DIR)
24         for i in $(ALL_PROGRAMS) ; do \
25                 $(INSTALL_BIN) $$i $(DESTDIR)$(PROGRAM_INSTALL_DIR) ; \
26         done
27
28 uninstall-local:
29         for i in $(ALL_PROGRAMS) ; do \
30             rm -f $(DESTDIR)$(PROGRAM_INSTALL_DIR)/`basename $$i` ; \
31         done
32
33 test-local:
34
35 run-test-local run-test-ondotnet-local:
36
37 clean-local:
38         rm -f *.exe *.pdb
39
40 dist-local: dist-default
41
42 mono-api-info.exe: $(APIINFO_SOURCES)
43         $(CSCOMPILE) -r:Mono.Cecil.dll -out:$@ $^