Make it pass distcheck.
[gio-sharp:mainline.git] / generator / Makefile.am
1 CLEANFILES = gapi_codegen.exe
2
3 references =
4
5 sources =                               \
6         AliasGen.cs                     \
7         BoxedGen.cs                     \
8         ByRefGen.cs                     \
9         CallbackGen.cs                  \
10         ChildProperty.cs                \
11         ClassBase.cs                    \
12         ClassGen.cs                     \
13         CodeGenerator.cs                \
14         ConstFilenameGen.cs             \
15         ConstStringGen.cs               \
16         Ctor.cs                         \
17         EnumGen.cs                      \
18         FieldBase.cs                    \
19         GenBase.cs                      \
20         GenerationInfo.cs               \
21         HandleBase.cs                   \
22         IAccessor.cs                    \
23         IGeneratable.cs                 \
24         IManualMarshaler.cs             \
25         InterfaceGen.cs                 \
26         LPGen.cs                        \
27         LPUGen.cs                       \
28         ManagedCallString.cs            \
29         ManualGen.cs                    \
30         MarshalGen.cs                   \
31         MethodBase.cs                   \
32         MethodBody.cs                   \
33         Method.cs                       \
34         ObjectField.cs                  \
35         ObjectBase.cs                   \
36         ObjectGen.cs                    \
37         OpaqueGen.cs                    \
38         Parameters.cs                   \
39         Parser.cs                       \
40         Property.cs                     \
41         PropertyBase.cs                 \
42         ReturnValue.cs                  \
43         Signal.cs                       \
44         Signature.cs                    \
45         SimpleBase.cs                   \
46         SimpleGen.cs                    \
47         Statistics.cs                   \
48         StructBase.cs                   \
49         StructField.cs                  \
50         StructGen.cs                    \
51         SymbolTable.cs                  \
52         VirtualMethod.cs                \
53         VMSignature.cs
54
55 build_sources = $(addprefix $(srcdir)/, $(sources))
56 dist_sources = $(sources)
57
58 EXTRA_DIST =                                    \
59         $(dist_sources)
60
61 gapi_codegen.exe: $(build_sources)
62         @echo -e "\n*** Building the generator"
63         $(CSC) /out:gapi_codegen.exe $(OFF_T_FLAGS) $(references) $(build_sources)
64
65 MAINTAINERCLEANFILES = Makefile.in