10.1.1
by Jo Shields
Import upstream version 1.9.2+dfsg |
1 |
SUBDIRS = contrib src po man theme-icons build tests |
1
by Sebastian Dröge
Import upstream version 0.9 |
2 |
|
10.2.5
by Stefan Ebner
Import upstream version 2.2.2+dfsg |
3 |
#capture aclocal flags for autoreconf
|
4 |
ACLOCAL_AMFLAGS=$(ACLOCAL_FLAGS) |
|
5 |
||
1
by Sebastian Dröge
Import upstream version 0.9 |
6 |
bin_SCRIPTS = monodevelop mdtool |
7 |
||
10.2.3
by Jo Shields
Import upstream version 2.2+dfsg |
8 |
buildinfo = $(top_builddir)/build/bin/buildinfo |
9 |
||
10.2.8
by Jo Shields
Import upstream version 2.5.92+dfsg |
10 |
all: vcrevision |
1
by Sebastian Dröge
Import upstream version 0.9 |
11 |
|
10.2.3
by Jo Shields
Import upstream version 2.2+dfsg |
12 |
vcrevision: |
10.2.7
by Jo Shields
Import upstream version 2.4.1+dfsg |
13 |
@if test -d ../.git; then \ |
14 |
version=$$(cd ..; \ |
|
15 |
LANG=C; export LANG; \ |
|
10.2.8
by Jo Shields
Import upstream version 2.5.92+dfsg |
16 |
git describe --dirty --always --abbrev=0 --match nothing; \ |
10.2.7
by Jo Shields
Import upstream version 2.4.1+dfsg |
17 |
); \ |
10.2.8
by Jo Shields
Import upstream version 2.5.92+dfsg |
18 |
echo "$$version" > "vcrevision"; \ |
10.2.3
by Jo Shields
Import upstream version 2.2+dfsg |
19 |
else \
|
20 |
if test ! -f ./vcrevision; then \
|
|
10.2.8
by Jo Shields
Import upstream version 2.5.92+dfsg |
21 |
echo "unknown" > "vcrevision"; \
|
10.2.3
by Jo Shields
Import upstream version 2.2+dfsg |
22 |
fi; \
|
23 |
fi
|
|
24 |
||
25 |
$(buildinfo): vcrevision |
|
26 |
@mkdir -p "$(top_builddir)/build/bin" |
|
10.2.8
by Jo Shields
Import upstream version 2.5.92+dfsg |
27 |
@echo "Git revision: $$(cat $(top_srcdir)/vcrevision)" > "$@" |
10.2.3
by Jo Shields
Import upstream version 2.2+dfsg |
28 |
@echo "Build date: $$(date -u +'%Y-%m-%d %H:%M:%S%z')" >> "$@" |
29 |
@echo "Updated build information"
|
|
30 |
@cat $(buildinfo) |
|
31 |
||
32 |
buildinfodir = $(MD_ASSEMBLY_DIR) |
|
33 |
buildinfo_DATA = $(buildinfo) |
|
34 |
||
1
by Sebastian Dröge
Import upstream version 0.9 |
35 |
desktopdir = $(datadir)/applications |
36 |
desktop_DATA = monodevelop.desktop |
|
37 |
||
38 |
xdgmimedir = $(datadir)/mime/packages |
|
39 |
xdgmime_DATA = monodevelop.xml |
|
40 |
||
9
by Mario Limonciello
Import upstream version 0.18.1+dfsg |
41 |
pkgconfig_in_files = monodevelop.pc.in monodevelop-core-addins.pc.in |
1
by Sebastian Dröge
Import upstream version 0.9 |
42 |
|
43 |
pkgconfigdir= $(prefix)/lib/pkgconfig |
|
44 |
pkgconfig_DATA = $(pkgconfig_in_files:.pc.in=.pc) |
|
45 |
||
46 |
if ENABLE_UPDATE_MIMEDB
|
|
47 |
||
48 |
install-data-hook: |
|
49 |
$(UPDATE_MIME_DB) $(DESTDIR)$(datadir)/mime |
|
50 |
||
51 |
uninstall-hook: |
|
52 |
$(UPDATE_MIME_DB) $(DESTDIR)$(datadir)/mime |
|
53 |
||
54 |
endif # ENABLE_UPDATE_MIMEDB
|
|
55 |
||
2
by Sebastian Dröge
Import upstream version 0.10 |
56 |
PACKAGES = \ |
9
by Mario Limonciello
Import upstream version 0.18.1+dfsg |
57 |
build/bin/MonoDevelop.Core.Gui.addin.xml \
|
2
by Sebastian Dröge
Import upstream version 0.10 |
58 |
build/AddIns/MonoDevelop.Documentation.addin.xml \
|
9
by Mario Limonciello
Import upstream version 0.18.1+dfsg |
59 |
build/bin/MonoDevelop.Ide.addin.xml \
|
60 |
build/bin/MonoDevelop.Projects.addin.xml \
|
|
61 |
build/bin/MonoDevelop.Projects.Gui.addin.xml \
|
|
2
by Sebastian Dröge
Import upstream version 0.10 |
62 |
build/AddIns/MonoDevelop.SourceEditor.addin.xml \
|
63 |
build/AddIns/BackendBindings/BooBinding.addin.xml \
|
|
64 |
build/AddIns/BackendBindings/CSharpBinding.addin.xml \
|
|
65 |
build/AddIns/BackendBindings/ILAsmBinding.addin.xml \
|
|
66 |
build/AddIns/BackendBindings/JavaBinding.addin.xml \
|
|
67 |
build/AddIns/BackendBindings/VBNetBinding.addin.xml \
|
|
68 |
build/AddIns/MonoQuery/MonoQuery.addin.xml \
|
|
69 |
build/AddIns/NUnit/MonoDevelopNUnit.addin.xml \
|
|
70 |
build/AddIns/MonoDeveloperExtensions/MonoDeveloperExtensions.addin.xml \
|
|
71 |
build/AddIns/prj2makesharp/prj2make-sharp-lib.addin.xml \
|
|
72 |
build/AddIns/MonoDevelop.GtkCore/MonoDevelop.GtkCore.addin.xml \
|
|
73 |
build/AddIns/ChangeLogAddIn/ChangeLogAddIn.addin.xml \
|
|
4
by Sebastian Dröge
Import upstream version 0.11+svn20060818 |
74 |
build/AddIns/WelcomePage/WelcomePage.addin.xml \
|
75 |
build/AddIns/MonoDevelop.Autotools/MonoDevelop.Autotools.addin.xml \
|
|
76 |
build/AddIns/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport.addin.xml \
|
|
5
by Sebastian Dröge
Import upstream version 0.12 |
77 |
build/AddIns/AspNetAddIn/AspNetAddIn.addin.xml \
|
78 |
build/AddIns/AspNetAddIn/AspNetEdit.addin.xml |
|
2
by Sebastian Dröge
Import upstream version 0.10 |
79 |
|
80 |
DOCFILES = \ |
|
81 |
build/bin/MonoDevelop.Core.dll \
|
|
9
by Mario Limonciello
Import upstream version 0.18.1+dfsg |
82 |
build/bin/MonoDevelop.Components.dll \
|
83 |
build/bin/MonoDevelop.Core.Gui.dll \
|
|
2
by Sebastian Dröge
Import upstream version 0.10 |
84 |
build/AddIns/MonoDevelop.Documentation.dll \
|
9
by Mario Limonciello
Import upstream version 0.18.1+dfsg |
85 |
build/bin/MonoDevelop.Ide.dll \
|
86 |
build/bin/MonoDevelop.Projects.dll \
|
|
87 |
build/bin/MonoDevelop.Projects.Gui.dll |
|
2
by Sebastian Dröge
Import upstream version 0.10 |
88 |
|
89 |
mpacks: $(PACKAGES) |
|
90 |
test -z "packages" || mkdir -p packages |
|
10.2.8
by Jo Shields
Import upstream version 2.5.92+dfsg |
91 |
$(MDTOOL_RUN) setup p $(PACKAGES:%=%) -d:packages |
92 |
$(MDTOOL_RUN) setup rb packages |
|
2
by Sebastian Dröge
Import upstream version 0.10 |
93 |
|
94 |
apidocs: |
|
9
by Mario Limonciello
Import upstream version 0.18.1+dfsg |
95 |
monodocer $(DOCFILES:%=--assembly:%) -delete --path docs/api |
96 |
mkdir -p docs/sources |
|
97 |
mdassembler --out docs/sources/monodevelop-reference --ecma docs/api |
|
98 |
mautil -reg build/bin reg-build |
|
99 |
mautil -reg build/bin -p build/bin info --all --xml > docs/extension-model.xml |
|
100 |
mdassembler --out docs/sources/monodevelop-extension-guide --addins docs/extension-model.xml |
|
2
by Sebastian Dröge
Import upstream version 0.10 |
101 |
# cd docs/apiguide && mdassembler --out monodevelop-api-guide --xhtml toc.xhtml && mv monodevelop-api-guide.zip ../web/sources
|
102 |
||
10.2.10
by Jo Shields
Import upstream version 2.8.2+dfsg |
103 |
MD_LAUNCH=$(MD_LAUNCH_SETUP) UBUNTU_MENUPROXY=0 exec -a "monodevelop" $(RUNTIME) |
9
by Mario Limonciello
Import upstream version 0.18.1+dfsg |
104 |
|
1
by Sebastian Dröge
Import upstream version 0.9 |
105 |
run: runmd |
106 |
||
107 |
runmd: $(PROGRAM) |
|
10.2.10
by Jo Shields
Import upstream version 2.8.2+dfsg |
108 |
$(MD_LAUNCH) --debug $(MD_BIN_PATH)/MonoDevelop.exe |
1
by Sebastian Dröge
Import upstream version 0.9 |
109 |
|
10.1.1
by Jo Shields
Import upstream version 1.9.2+dfsg |
110 |
run-debug: $(PROGRAM) |
10.1.2
by Mirco Bauer
Import upstream version 1.9.3+dfsg |
111 |
MONODEVELOP_CONSOLE_LOG_LEVEL=All $(MD_LAUNCH) --debug=casts $(MD_BIN_PATH)/MonoDevelop.exe |
10.1.1
by Jo Shields
Import upstream version 1.9.2+dfsg |
112 |
|
10.2.12
by Jo Shields
Import upstream version 2.8.6.3+dfsg |
113 |
run-gdb: $(PROGRAM) |
114 |
echo "run --debug $(MD_BIN_PATH)/MonoDevelop.exe" > gdb.commands |
|
115 |
$(MD_LAUNCH_SETUP) gdb $(RUNTIME) -x gdb.commands |
|
116 |
rm -f gdb.commands |
|
117 |
||
1
by Sebastian Dröge
Import upstream version 0.9 |
118 |
run-profile: $(PROGRAM) |
10
by Stefan Ebner
Import upstream version 1.0+dfsg |
119 |
$(MD_LAUNCH) -O=inline --profile $(MD_BIN_PATH)/MonoDevelop.exe |
9
by Mario Limonciello
Import upstream version 0.18.1+dfsg |
120 |
|
121 |
run-profile-stat: $(PROGRAM) |
|
10.1.1
by Jo Shields
Import upstream version 1.9.2+dfsg |
122 |
$(MD_LAUNCH) --profile=logging:stat $(MD_BIN_PATH)/MonoDevelop.exe |
1
by Sebastian Dröge
Import upstream version 0.9 |
123 |
|
10.2.6
by Jo Shields
Import upstream version 2.4+dfsg |
124 |
run-trace: $(PROGRAM) |
125 |
$(MD_LAUNCH_SETUP) MONODEVELOP_TRACE=1 exec strace -ttt -f -o md.strace mono $(MD_BIN_PATH)/MonoDevelop.exe |
|
126 |
||
127 |
plot-trace: |
|
128 |
if [ ! -e 'plot-timeline.py' ]; then wget http://gitorious.org/performance-scripts/mainline/blobs/raw/master/plot-timeline.py; fi
|
|
129 |
python plot-timeline.py -o md-trace.png md.strace |
|
130 |
||
1
by Sebastian Dröge
Import upstream version 0.9 |
131 |
run-profile-heap: $(PROGRAM) |
10
by Stefan Ebner
Import upstream version 1.0+dfsg |
132 |
$(MD_LAUNCH) -O=inline --profile=heap:heaplog $(MD_BIN_PATH)/MonoDevelop.exe |
10.2.12
by Jo Shields
Import upstream version 2.8.6.3+dfsg |
133 |
|
9
by Mario Limonciello
Import upstream version 0.18.1+dfsg |
134 |
check-addins: |
10
by Stefan Ebner
Import upstream version 1.0+dfsg |
135 |
$(MDTOOL_RUN) setup reg-build -v |
1
by Sebastian Dröge
Import upstream version 0.9 |
136 |
|
10.1.1
by Jo Shields
Import upstream version 1.9.2+dfsg |
137 |
test: |
138 |
cd tests/UnitTests && make test fixture=$(fixture) |
|
139 |
||
140 |
app-dir: all |
|
141 |
cd build && make app-dir |
|
142 |
#mkdir -p $(MAC_APP_DIR)/Contents/{MacOS,Resources}
|
|
143 |
#mkdir -p $(MAC_APP_LIB_DIR)
|
|
144 |
#cp -a build/AddIns $(MAC_APP_LIB_DIR)
|
|
145 |
#cp -a build/data $(MAC_APP_LIB_DIR)
|
|
146 |
#cp -a build/bin $(MAC_APP_LIB_DIR)
|
|
147 |
||
1
by Sebastian Dröge
Import upstream version 0.9 |
148 |
# we can't use the variables that are conditionally defined
|
149 |
EXTRA_DIST = $(bin_SCRIPTS) $(desktop_DATA) $(pixmap_DATA) \ |
|
10.2.3
by Jo Shields
Import upstream version 2.2+dfsg |
150 |
monodevelop.xml $(pkgconfig_in_files) vcrevision |
1
by Sebastian Dröge
Import upstream version 0.9 |
151 |
|
152 |
DISTCLEANFILES = monodevelop intltool-extract intltool-merge intltool-update \ |
|
9
by Mario Limonciello
Import upstream version 0.18.1+dfsg |
153 |
$(pkgconfig_DATA) |
10
by Stefan Ebner
Import upstream version 1.0+dfsg |
154 |
|
155 |
include $(top_srcdir)/Makefile.include
|
|
156 |
||
157 |
#
|
|
158 |
# Force distuninstallcheck to ignore files created by cache-rebuilding commands (update-mime-database etc)
|
|
159 |
#
|
|
160 |
# From BEAST (LGPL license): http://svn.gnome.org/viewvc/beast/trunk/Makefile.am
|
|
161 |
filter_stale_uninstalled = \ |
|
10.1.1
by Jo Shields
Import upstream version 1.9.2+dfsg |
162 |
| egrep -v '^.*/share/mime/.*$$' \ |
10
by Stefan Ebner
Import upstream version 1.0+dfsg |
163 |
| egrep -v '^.*./share/icons/hicolor/icon-theme\.cache$$' |
10.2.12
by Jo Shields
Import upstream version 2.8.6.3+dfsg |
164 |
|
10
by Stefan Ebner
Import upstream version 1.0+dfsg |
165 |
filter_stale_buildfiles = | egrep -v '^./report.out$$' |
166 |
distuninstallcheck_listfiles = find . -type f -print # automake-1.9 setting |
|
167 |
distuninstallcheck_listfiles += $(filter_stale_uninstalled) # amend by required filtering |
|
168 |
distcleancheck_listfiles = find . -type f -print # automake-1.9 setting |
|
169 |
distcleancheck_listfiles += $(filter_stale_buildfiles) # amend by required filtering |
|
10.2.3
by Jo Shields
Import upstream version 2.2+dfsg |
170 |
|
171 |
.PHONY: vcrevision |
|
10.2.9
by Jo Shields
Import upstream version 2.6+dfsg |
172 |
|
173 |
package-monomac: |
|
10.2.10
by Jo Shields
Import upstream version 2.8.2+dfsg |
174 |
$(MD_LAUNCH_SETUP) mono --debug "build/bin/mdtool.exe" setup pack ../extras/MonoDevelop.MonoMac/build/MonoDevelop.MonoMac.dll |