File: Makefile.am

package info (click to toggle)
gbrainy 1:2.3.9-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 14,372 kB
  • sloc: cs: 18,019; sh: 3,662; xml: 1,421; makefile: 558
file content (54 lines) | stat: -rw-r--r-- 1,641 bytes parent folder | download | duplicates (5)
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
48
49
50
51
52
53
54
EXTRAFLAGS = $(CSC_DEFINES)

GAMESXMLSTRINGS_CSFILES = \
	$(srcdir)/GameXmlToGetString.cs

TRANSLATIONSCHECKER_CSFILES = \
	$(srcdir)/TranslationsChecker.cs \
	$(srcdir)/GetTextParser/CatalogParser.cs \
	$(srcdir)/GetTextParser/StringEscaping.cs

GAMESSTATISTICS_CSFILES = \
	$(srcdir)/Defines.cs	\
	$(srcdir)/GamesStatistics.cs

GAMEXMLTOASSEMBLY_CSFILES = \
	$(srcdir)/GameXmlToAssembly.cs


ASSEMBLIES = \
	-r:../src/gbrainy.Core.dll	\
	-r:Mono.Posix

MONO_PATH = $(top_builddir)/src

GameXmlToGetString.exe: $(GAMESXMLSTRINGS_CSFILES) ../data/games.xml $(srcdir)/GameXmlGetStringTemplate.cs
		$(CSC) -target:winexe -out:$@ $(EXTRAFLAGS) $(GAMESXMLSTRINGS_CSFILES) $(ASSEMBLIES)
		export MONO_PATH=$(MONO_PATH) && $(MONO) $@ $(srcdir)

TranslationsChecker.exe: $(TRANSLATIONSCHECKER_CSFILES)
		$(CSC) -target:winexe -out:$@ $(EXTRAFLAGS) $(TRANSLATIONSCHECKER_CSFILES) $(ASSEMBLIES)

GamesStatistics.exe: $(GAMESSTATISTICS_CSFILES)
		$(CSC) -target:winexe -out:$@ $(EXTRAFLAGS) $(GAMESSTATISTICS_CSFILES) $(ASSEMBLIES)

GameXmlToAssembly.exe: $(GAMEXMLTOASSEMBLY_CSFILES) ../data/games.xml GameTemplate.cs
		   $(CSC) -target:winexe -out:$@ $(EXTRAFLAGS) $(GAMEXMLTOASSEMBLY_CSFILES) $(ASSEMBLIES)
		   export MONO_PATH=../src && $(MONO) $@


all: GameXmlToGetString.exe

run-stats: 	GamesStatistics.exe
		export MONO_PATH=$(MONO_PATH) && $(MONO) GamesStatistics.exe $(srcdir)

EXTRA_DIST = $(GAMESXMLSTRINGS_CSFILES) $(srcdir)/GameXmlGetStringTemplate.cs  $(srcdir)/GameXmlGetString.cs

CLEANFILES = GameXmlToGetString.exe \
		GameXmlGetString.cs \
	     	GamesStatistics.exe \
		GameXmlToAssembly.exe

DISTCLEANFILES = 				\
	Makefile