1 # Copyright (C) 2010 Nick Bowler
2 # Copying and distribution of this file, with or without modification,
3 # are permitted in any medium without royalty provided the copyright
4 # notice and this notice are preserved. This file is offered as-is,
5 # without any warranty.
9 LBXGUI_GLADE = $(top_srcdir)/src/gui/lbxgui.glade
10 EXTRA_DIST += $(LBXGUI_GLADE)
11 CLEANFILES += src/gui/lbxgui_xml.c
13 noinst_HEADERS += src/gui/bg.xbm src/gui/render.h
15 src/gui/lbxgui_xml.c: $(LBXGUI_GLADE)
16 $(AM_V_GEN) sed -e 's/"/\\"/g' \
18 -e '1 s/^/char lbxgui_xml[] =\n/' \
19 -e '$$ s/$$/;/' $(LBXGUI_GLADE) > $@
21 bin_PROGRAMS += lbxgui
22 nodist_lbxgui_SOURCES = src/gui/lbxgui_xml.c
23 lbxgui_SOURCES = src/gui/render.c src/gui/lbxgui.c
24 lbxgui_LDADD = liblbx.la $(GTK_LIBS)
25 lbxgui_CPPFLAGS = -I$(top_srcdir)/src
26 lbxgui_CFLAGS = $(GTK_CFLAGS)
27 lbxgui_LDFLAGS = $(AM_LDFLAGS) -export-dynamic