Updated PropertyGrid and related items.
[mono.git] / scripts / Makefile.am
1 EXTRA_DIST = script.in script2.in mono-nunit.pc.in
2 DISTCLEANFILES = mono-nunit.pc
3
4 bin2dir = $(bindir)
5
6 bin_SCRIPTS = \
7         al                      \
8         caspol                  \
9         cert2spc                \
10         certmgr                 \
11         chktrust                \
12         cilc                    \
13         disco                   \
14         dtd2xsd                 \
15         gacutil                 \
16         genxs                   \
17         ilasm                   \
18         makecert                \
19         macpack                 \
20         mbas                    \
21         mcs                     \
22         mjs                     \
23         mkbundle                \
24         mono-find-provides      \
25         mono-find-requires      \
26         monop                   \
27         monoresgen              \
28         permview                \
29         prj2make                \
30         resgen                  \
31         secutil                 \
32         setreg                  \
33         signcode                \
34         sn                      \
35         soapsuds                \
36         sqlsharp                \
37         wsdl                    \
38         xsd
39
40 bin2_SCRIPTS = gmcs wsdl2
41
42 CLEANFILES = $(bin_SCRIPTS) $(bin2_SCRIPTS)
43
44 if USE_JIT
45 MONO_INTERP = mono
46 else
47 MONO_INTERP = mint
48 endif
49
50 if PLATFORM_WIN32
51 plat_bindir = $(shell cygpath -m $(libdir))
52 mono_one_instdir = $(shell cygpath -m $(libdir))/mono/1.0
53 mono_two_instdir = $(shell cygpath -m $(libdir))/mono/2.0
54 else
55 plat_bindir = $(bindir)
56 mono_one_instdir = $(libdir)/mono/1.0
57 mono_two_instdir = $(libdir)/mono/2.0
58 endif
59
60 REWRITE = sed \
61         -e 's,@''bindir@,$(bindir),g'                           \
62         -e 's,@''plat_bindir@,$(plat_bindir),g'                 \
63         -e 's,@''mono_one_instdir@,$(mono_one_instdir),g'       \
64         -e 's,@''mono_two_instdir@,$(mono_two_instdir),g'       \
65         -e 's,@''gtkdir@,$(gtkdir),g'                           \
66         -e 's,@''exe_file@,$@.exe,g'                            \
67         -e 's,@''mono_interp@,$(MONO_INTERP),g'
68
69 $(bin_SCRIPTS): script.in Makefile
70         $(REWRITE) $(srcdir)/script.in > $@.tmp
71         mv $@.tmp $@
72
73 $(bin2_SCRIPTS): script2.in Makefile
74         $(REWRITE) $(srcdir)/script2.in > $@.tmp
75         mv $@.tmp $@
76
77 pkgconfigdir = $(libdir)/pkgconfig
78 pkgconfig_DATA= mono-nunit.pc
79