aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 2dbeadc48e59796079904488ff6137a13e8eb697 (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
48
49
50
AM_CPPFLAGS = \
	-I$(top_srcdir)	\
	$(WARN_CFLAGS)	\
	$(GTK_CFLAGS) \
        $(LIBPLANFAHR_CFLAGS)
	$(NULL)

LDFLAGS = \
	$(GTK_LIBS) \
        $(LIBPLANFAHR_LIBS) \
	$(NULL)

noinst_PROGRAMS = uplanfahr

uplanfahr_SOURCES = \
	main.c \
	uplanfahr.c uplanfahr.h \
	uplanfahrwin.c uplanfahrwin.h \
	uplanfahrprefs.c uplanfahrprefs.h \
	uplanfahrtripview.c uplanfahrtripview.h \
	resources.c

BUILT_SOURCES = \
	resources.c \
	gschemas.compiled

resources.c: uplanfahr.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/uplanfahr.gresource.xml)
	$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/uplanfahr.gresource.xml \
		--target=$@ --sourcedir=$(srcdir) --generate-source

gsettings_SCHEMAS = \
	org.sigxcpu.uplanfahr.gschema.xml

@GSETTINGS_RULES@

gschemas.compiled: org.sigxcpu.uplanfahr.gschema.xml
	$(GLIB_COMPILE_SCHEMAS) .

EXTRA_DIST = \
	window.ui \
	app-menu.ui \
	prefs.ui \
	gears-menu.ui \
	tripview.ui \
	uplanfahr.gresource.xml \
	org.sigxcpu.uplanfahr.gschema.xml

CLEANFILES = \
	gschemas.compiled