summaryrefslogtreecommitdiff
path: root/src/glibext/Makefile.am
blob: 118ca39f4a5516a0c64a4140eb897da9f0fcd1db (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
57

BUILT_SOURCES = chrysamarshal.h chrysamarshal.c

noinst_LTLIBRARIES  = libglibext.la

libglibext_la_SOURCES =					\
	buffercache-int.h					\
	buffercache.h buffercache.c			\
	bufferline.h bufferline.c			\
	bufferview.h bufferview.c			\
	chrysamarshal.h chrysamarshal.c		\
	configuration.h configuration.c		\
	delayed-int.h						\
	delayed.h delayed.c					\
	gbinarycursor.h gbinarycursor.c		\
	gbinportion-int.h					\
	gbinportion.h gbinportion.c			\
	gdisplayoptions.h gdisplayoptions.c	\
	glinecursor-int.h					\
	glinecursor.h glinecursor.c			\
	gloadedpanel-int.h					\
	gloadedpanel.h gloadedpanel.c		\
	gnhash.h gnhash.c					\
	linecolumn.h linecolumn.c			\
	linegen-int.h						\
	linegen.h linegen.c					\
	linesegment.h linesegment.c			\
	objhole.h							\
	proto.h								\
	seq.h seq.c							\
	signal.h signal.c					\
	widthtracker.h widthtracker.c

libglibext_la_LIBADD = 					\
	generators/libglibextgenerators.la

libglibext_la_LDFLAGS = 


devdir = $(includedir)/chrysalide/$(subdir:src/%=%)

dev_HEADERS = $(libglibext_la_SOURCES:%c=)


AM_CPPFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS)

AM_CFLAGS = $(DEBUG_CFLAGS) $(WARNING_FLAGS) $(COMPLIANCE_FLAGS)

SUBDIRS = generators


chrysamarshal.h: chrysamarshal.list
	glib-genmarshal --header $< > $@

chrysamarshal.c: chrysamarshal.list
	echo "#include <$(subst .c,.h,$@)>" > $@
	glib-genmarshal --body $< >> $@