2013-09-08 11:37:38 +00:00
|
|
|
resource_files = $(shell glib-compile-resources --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/ag.gresource.xml)
|
|
|
|
|
|
|
|
ag-resources.c: ag.gresource.xml $(resource_files)
|
|
|
|
glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-source --c-name ag $(srcdir)/ag.gresource.xml
|
|
|
|
|
|
|
|
ag-resources.h: ag.gresource.xml $(resource_files)
|
|
|
|
glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-header --c-name ag $(srcdir)/ag.gresource.xml
|
|
|
|
|
|
|
|
BUILT_SOURCES = \
|
|
|
|
ag-resources.h \
|
|
|
|
ag-resources.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
$(resource_files) \
|
|
|
|
ag.gresource.xml \
|
|
|
|
$(NULL)
|
|
|
|
|
2013-09-06 14:28:00 +00:00
|
|
|
AM_CPPFLAGS = -DG_LOG_DOMAIN=\"Astrognome\" -DLOCALEDIR=\"$(localedir)\" -DPKGDATADIR=\"$(pkgdatadir)\"
|
2013-08-21 22:48:00 +00:00
|
|
|
bin_PROGRAMS = astrognome
|
2013-07-08 23:15:13 +00:00
|
|
|
|
2013-09-08 11:37:38 +00:00
|
|
|
astrognome_SOURCES = ag-app.c astrognome.c $(BUILT_SOURCES)
|
2013-09-08 11:38:48 +00:00
|
|
|
astrognome_LDADD = $(SWE_GLIB_LIBS) $(GTK_LIBS) $(top_builddir)/libgd/libgd.la
|
2013-08-21 23:42:41 +00:00
|
|
|
astrognome_LDFLAGS = -rdynamic
|
2013-09-08 11:38:48 +00:00
|
|
|
astrognome_CFLAGS = $(SWE_GLIB_CFLAGS) $(CFLAGS) $(GTK_CFLAGS) -Wall -I$(top_srcdir)/libgd
|
2013-09-06 14:28:00 +00:00
|
|
|
|
|
|
|
guidir = $(pkgdatadir)
|
|
|
|
gui_DATA = astrognome.ui
|
|
|
|
|
2013-09-08 11:37:38 +00:00
|
|
|
EXTRA_DIST += $(gui_DATA)
|