File: makefile

package info (click to toggle)
gnome-subtitles 1.8-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 103,144 kB
  • sloc: xml: 406,395; cs: 364,495; ansic: 3,104; perl: 1,477; sh: 769; python: 545; javascript: 500; makefile: 49
file content (34 lines) | stat: -rw-r--r-- 665 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
22
23
24
25
26
27
28
29
30
31
32
33
34
MCS=dmcs

COMMON_SOURCES = \
	AssemblyResolver.cs	\
	Util.cs	\
	WellFormedXmlWriter.cs

APIINFO_SOURCES = mono-api-info.cs $(COMMON_SOURCES)

all: extract-missing.exe mono-api-info.exe mono-api-diff.exe gen-apidiff-html.exe

check: all
	rm -rf curr diff
	./get-apiinfo.pl .. curr
	./get-apidiff.pl base curr diff
	./get-missing.pl diff

mono-api-diff.exe: mono-api-diff.cs
	$(MCS) mono-api-diff.cs

mono-api-info.exe: $(APIINFO_SOURCES)
	$(MCS) `pkg-config --libs mono-cecil` -out:$@ $^

extract-missing.exe: extract-missing.cs
	$(MCS) extract-missing.cs

gen-apidiff-html.exe: gen-apidiff-html.cs
	$(MCS) -out:$@ $^

clean:
	rm -f *.exe
	rm -rf curr
	rm -rf diff