summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: c340cedc20fb2a8e3a6d7ee70e5f304697e5fca8 (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
NULL =

INCLUDES =							\
	$(HG_CFLAGS)						\
	$(NULL)
LIBS =								\
	@LDFLAGS@						\
	$(HG_LIBS)						\
	$(NULL)
DEPS =								\
	$(top_builddir)/hieroglyph/libhieroglyph.la		\
	$(top_builddir)/libretto/libretto.la			\
	$(NULL)

noinst_PROGRAMS =						\
	hgspy-bin						\
	$(NULL)
noinst_LTLIBRARIES =						\
	libhgspy.la						\
	libhgspy-helper.la					\
	$(NULL)

hgspy_bin_SOURCES =						\
	hgspy.c							\
	$(NULL)
hgspy_bin_CFLAGS =						\
	$(GTK2_CFLAGS)						\
	$(HG_MODULE_CFLAGS)					\
	$(GTHREAD_CFLAGS)					\
	$(NULL)
hgspy_bin_LDADD =						\
	$(GTK2_LIBS)						\
	$(HG_MODULE_LIBS)					\
	$(GTHREAD_LIBS)						\
	libhgspy.la						\
	$(top_builddir)/libretto/libretto.la			\
	$(NULL)

libhgspy_la_SOURCES =						\
	visualizer.c						\
	visualizer.h						\
	$(NULL)
libhgspy_la_CFLAGS =						\
	$(GTK2_CFLAGS)						\
	$(NULL)
libhgspy_la_LIBADD =						\
	$(GTK2_LIBS)						\
	$(NULL)
libhgspy.la: $(libhgspy_la_OBJECTS) $(libhgspy_la_DEPENDENCIES)
	$(LINK) -rpath $(libdir) $(libhgspy_la_LDFLAGS) $(libhgspy_la_OBJECTS) $(libhgspy_la_LIBADD) $(LIBS)

libhgspy_helper_la_SOURCES =					\
	hgspy_helper.c						\
	hgspy_helper.h						\
	$(NULL)
libhgspy_helper_la_CFLAGS =					\
	$(GTK2_CFLAGS)						\
	$(HG_MODULE_CFLAGS)					\
	$(NULL)
libhgspy_helper_la_LDFLAGS =					\
	-avoid-version						\
	-module							\
	$(LDFLAGS)						\
	$(GTK2_LIBS)						\
	$(HG_MODULE_LIBS)					\
	libhgspy.la						\
	$(NULL)
libhgspy-helper.la: $(libhgspy_helper_la_OBJECTS) $(libhgspy_helper_la_DEPENDENCIES)
	$(LINK) -rpath $(libdir) $(libhgspy_helper_la_LDFLAGS) $(libhgspy_helper_la_OBJECTS) $(libhgspy_helper_la_LIBADD) $(LIBS)

EXTRA_DIST =							\
	hgspy							\
	$(NULL)