Implemented better attribute support for C# output.
[mono.git] / mcs / tools / type-reflector / Makefile
1 CSC = csc
2
3 CSCFLAGS = /out:$(PROGRAM) /debug+ /debug:full
4 # CSCFLAGS = /out:$(PROGRAM)
5
6 PROGRAM = type-reflector.exe
7
8 MONO = mono
9
10 PROGRAM_FILES =  \
11         ConsoleOutput.cs \
12         CSharpTypeDisplayer.cs \
13         IndentingTextWriter.cs \
14         IndentingTypeDisplayer.cs \
15         ProgramOptions.cs \
16         ReflectionTypeDisplayer.cs \
17         TestTypes.cs \
18         TextFormatter.cs \
19         TypeDisplayer.cs \
20         TypeDisplayerFactory.cs \
21         TypeLoader.cs \
22         TypeReflectorOptions.cs \
23         ExplicitTypeDisplayer.cs
24
25 all: $(PROGRAM)
26
27 $(PROGRAM) : $(PROGRAM_FILES)
28         $(CSC) $(CSCFLAGS) $(PROGRAM_FILES)
29
30 test-run : $(PROGRAM)
31         $(MONO) $(PROGRAM) -A $(PROGRAM) $(ARGS)
32
33 run : $(PROGRAM)
34         $(MONO) $(PROGRAM) $(ARGS)
35
36 windows:
37         NAnt -buildfile:type-reflector.build
38
39 linux: 
40         mcs @unix.args
41
42 clean:
43         rm -f *.exe *.pdb *.dll *~
44
45 linecount:
46         wc -l $(PROGRAM_FILES)
47