File: Makefile.include

package info (click to toggle)
monodevelop 1.0%2Bdfsg-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 32,528 kB
  • ctags: 40,669
  • sloc: cs: 255,472; xml: 10,041; makefile: 3,731; sh: 2,528; sed: 2
file content (21 lines) | stat: -rw-r--r-- 1,233 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
build_sources = $(addprefix $(srcdir)/, $(FILES)) $(GENERATED_FILES)
build_resources = $(addprefix $(srcdir)/, $(RES))
build_test_sources = $(addprefix $(srcdir)/, $(TESTFILES)) $(GENERATED_FILES)

### SYNCH BLOCK: any changes to this line should be kept in sync with the corresponding block in monodevelop.in and mdtool.in
MD_PKG_CONFIG_PATH=$(gtksharp_prefix)/lib/pkgconfig/:/usr/lib/pkgconfig/:/usr/local/lib/pkgconfig/:/usr/share/pkgconfig/:/usr/local/share/pkgconfig/$(shell if test -d /usr/lib64; then echo ":/usr/lib64/pkgconfig/:/usr/local/lib64/pkgconfig/"; fi)
### END BLOCK

# workaroundfor lack of abs_top_builddir variable in automake < 1.10. Will break if mdtool isn't 
# launched from top_srcdir (i.e. where this script is located)
abs_top_builddir ?= $(top_builddir)

MD_BIN_PATH=$(abs_top_builddir)/build/bin

MD_LAUNCH_SETUP= \
	MONODEVELOP_LOCALE_PATH=$(abs_top_builddir)/build/locale \
	MONO_ADDINS_REGISTRY=$(MD_BIN_PATH) MOZILLA_FIVE_HOME=$(MOZILLA_HOME) \
	LD_LIBRARY_PATH=`echo "$(LD_LIBRARY_PATH):$(MOZILLA_HOME)" | sed 's/^://g'` \
	PKG_CONFIG_PATH=`echo "$(PKG_CONFIG_PATH):$(MD_PKG_CONFIG_PATH)" | sed 's/^://g'`

MDTOOL_RUN=$(MD_LAUNCH_SETUP) exec -a "mdtool" $(RUNTIME) --debug $(MD_BIN_PATH)/mdrun.exe