These are not necessary, and result in ugly object file names for no
reason.
MOSTLYCLEANFILES =
noinst_LTLIBRARIES =
MOSTLYCLEANFILES =
noinst_LTLIBRARIES =
-AM_CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib
+AM_CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib -I$(top_srcdir)/src
+AM_CFLAGS = $(LIBPNG_CFLAGS) $(GTK_CFLAGS)
dist_man_MANS = doc/man/lbxtool.1 doc/man/lbximg.1
dist_doc_DATA = doc/txt/moo2-data.txt
dist_man_MANS = doc/man/lbxtool.1 doc/man/lbximg.1
dist_doc_DATA = doc/txt/moo2-data.txt
lbximg_SOURCES = src/lbximg.c
lbximg_LDADD = liblbx.la libgnu.la $(LIBPNG_LIBS)
lbximg_SOURCES = src/lbximg.c
lbximg_LDADD = liblbx.la libgnu.la $(LIBPNG_LIBS)
-lbximg_CFLAGS = $(LIBPNG_CFLAGS)
$(lbximg_OBJECTS): $(gnulib_headers)
nodist_lbxgui_SOURCES = src/gui/lbxgui.glade.c
lbxgui_SOURCES = src/gui/lbxgui.c src/gui/render.c src/gui/render.h \
src/gui/bg.xbm
$(lbximg_OBJECTS): $(gnulib_headers)
nodist_lbxgui_SOURCES = src/gui/lbxgui.glade.c
lbxgui_SOURCES = src/gui/lbxgui.c src/gui/render.c src/gui/render.h \
src/gui/bg.xbm
-lbxgui_LDADD = liblbx.la $(GTK_LIBS)
-lbxgui_CPPFLAGS = -I$(top_srcdir)/src
-lbxgui_CFLAGS = $(GTK_CFLAGS)
lbxgui_LDFLAGS = $(AM_LDFLAGS) -export-dynamic
lbxgui_LDFLAGS = $(AM_LDFLAGS) -export-dynamic
+lbxgui_LDADD = liblbx.la $(GTK_LIBS)
.xml.c:
$(AM_V_GEN) printf '%s\n' $(*F) | sed -e 's/[^[:alnum:]]/_/g' \
.xml.c:
$(AM_V_GEN) printf '%s\n' $(*F) | sed -e 's/[^[:alnum:]]/_/g' \
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <assert.h>
#include <gtk/gtk.h>
#include <assert.h>
#include <gtk/gtk.h>