aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
blob: c52dfb5c090bfd16d543ca83d9777c3a4c656298 (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
EXTRA_DIST = configure m4/gnulib-cache.m4
SUBDIRS = lib libstorycode 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.a @IGNORE_UNUSED_LIBRARIES_CFLAGS@ \
        libstorycode/src/libstorycode.la harfatum/src/libharfatum.la

src_colloquium_SOURCES = src/colloquium.c src/render.c \
                         src/layout.c src/mainwindow.c src/presentation.c \
                         src/stylesheet.c src/loadsave.c src/frame.c

INCLUDES = -Ilibstorycode/src -Iharfatum/src

EXTRA_DIST += src/layout.h src/presentation.h src/render.h \
              src/stylesheet.h src/loadsave.h

colloquiumdir = $(datadir)/colloquium
colloquium_DATA = data/colloquium.ui

iconsdir = $(datadir)/icons/hicolor/scalable/apps
icons_DATA = data/colloquium-select.svg data/colloquium-text.svg \
             data/colloquium-image.svg

EXTRA_DIST += $(colloquium_DATA)

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

tests_render_test_SOURCES = tests/render_test.c src/render.c \
                            src/layout.c src/frame.c

tests_render_test_sc1_SOURCES = tests/render_test_sc1.c \
                                src/render.c src/layout.c src/frame.c