Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Makefile.am « external « main - github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: aaf32be4a998d6074b44f9950b98ca96eb84107e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
TARBALL_PATH=../../tarballs/external

NGIT_SLN=ngit/ngit.sln
NGIT=$(NGIT_SLN) /t:NGit

CECIL_SLN=cecil/Mono.Cecil.sln
CECIL=/property:Configuration=net_4_0_Debug $(CECIL_SLN)
CECIL_OUTPUT=cecil/bin/net_4_0_Debug

OUTPUT=../build/bin

all:
	mkdir -p $(OUTPUT)
	xbuild $(NGIT)
	cp ngit/bin/* $(OUTPUT)
	xbuild $(CECIL)
	cp $(CECIL_OUTPUT)/Mono.Cecil.dll $(OUTPUT)
	cp $(CECIL_OUTPUT)/Mono.Cecil.dll.mdb $(OUTPUT)
	cp $(CECIL_OUTPUT)/Mono.Cecil.Mdb.dll $(OUTPUT)
	cp $(CECIL_OUTPUT)/Mono.Cecil.Mdb.dll.mdb $(OUTPUT)

clean:
	@if test -f $(NGIT_SLN); then xbuild $(NGIT) /t:Clean; fi
	@if test -f $(CECIL_SLN); then xbuild $(CECIL) /t:Clean; fi

install:

uninstall:

distdir: dist

dist:
	mkdir -p $(TARBALL_PATH)
	@for dir in `ls .`; do \
		if test -d $$dir; then \
			echo Creating tarball for $$dir; \
			cd $$dir && git archive --prefix=monodevelop-@PACKAGE_VERSION@/external/$$dir/ HEAD | bzip2 > ../$(TARBALL_PATH)/$$dir-@PACKAGE_VERSION@.tar.bz2 && cd ..; \
		fi \
	done	

dist-clean:
	@for dir in `ls .`; do \
		if test -d $$dir; then \
			rm -f $(TARBALL_PATH)/$$dir.tar.bz2; \
		fi \
	done