aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
blob: cf3e6991f904734b268a853afed3c7a661b819bb (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
51
52
53
54
55
56
EXTRA_DIST = configure m4/gnulib-cache.m4
SUBDIRS = lib harfatum
ACLOCAL_AMFLAGS = -I m4

bin_PROGRAMS = src/colloquium

AM_CFLAGS = -Wall
AM_CPPFLAGS = -DDATADIR=\""$(datadir)"\" -I$(top_builddir)/lib \
              -I$(top_srcdir)/lib
LDADD = $(top_builddir)/lib/libgnu.la @IGNORE_UNUSED_LIBRARIES_CFLAGS@ \
        harfatum/src/libharfatum.la src/default_stylesheet.o

src_colloquium_SOURCES = src/colloquium.c src/render.c \
                         src/presentation.c \
                         src/frame.c src/sc_parse.c \
                         src/slideshow.c src/wrap.c src/sc_interp.c \
                         src/imagestore.c src/notes.c src/pr_clock.c \
                         src/inhibit_screensaver.c \
                         src/shape.c src/sc_editor.c src/narrative_window.c \
                         src/slide_window.c src/testcard.c

INCLUDES = -Iharfatum/src

EXTRA_DIST += src/presentation.h src/render.h src/wrap.h \
              src/slideshow.h src/sc_parse.h src/sc_interp.h \
              src/imagestore.h src/notes.h src/pr_clock.h \
              src/inhibit_screensaver.h src/shape.h \
              src/sc_editor.h src/slide_window.h src/narrative_window.c

src/default_stylesheet.o: src/default_stylesheet.sty
	ld -r -b binary -o src/default_stylesheet.o src/default_stylesheet.sty

colloquiumdir = $(datadir)/colloquium
colloquium_DATA = data/sky.png data/canvas.png
EXTRA_DIST += $(colloquium_DATA)

iconsdir = $(datadir)/icons/hicolor/scalable/apps
icons_DATA = data/colloquium.svg
EXTRA_DIST += $(icons_DATA)

desktopdir = $(datadir)/applications
desktop_DATA = colloquium.desktop
EXTRA_DIST += $(desktop_DATA)

noinst_PROGRAMS = tests/storycode_test tests/render_test tests/render_test_sc1
TESTS = tests/storycode_test tests/render_test tests/render_test_sc1

tests_storycode_test_SOURCES = tests/storycode_test.c src/sc_parse.c

tests_render_test_SOURCES = tests/render_test.c src/render.c src/frame.c \
                            src/wrap.c src/sc_parse.c src/imagestore.c \
                            src/sc_interp.c src/shape.c

tests_render_test_sc1_SOURCES = tests/render_test_sc1.c src/sc_parse.c \
                                src/render.c src/frame.c src/wrap.c \
                                src/imagestore.c src/sc_interp.c src/shape.c