Releasing debian version 0.5.1-3.
[debian/lxappearance.git] / src / Makefile.am
index 2e701bb..9057e47 100644 (file)
@@ -1,19 +1,56 @@
-## Process this file with automake to produce Makefile.in
+NULL=
 
-INCLUDES = \
-       -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
+AM_CPPFLAGS = \
+       -I$(srcdir) \
+       -DPACKAGE_DATA_DIR=\""$(datadir)/lxappearance"\" \
+       -DPACKAGE_UI_DIR=\""$(datadir)/lxappearance/ui"\" \
+       -DPACKAGE_LIB_DIR=\""$(libdir)"\" \
        -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
-       @PACKAGE_CFLAGS@
+       $(NULL)
 
-bin_PROGRAMS = lxappearance
+lxappearance_includedir = $(includedir)/lxappearance
+lxappearance_include_HEADERS = lxappearance.h
 
+bin_PROGRAMS = lxappearance
 lxappearance_SOURCES = \
-       main.c \
-       glade-support.c glade-support.h \
-       main-dlg-ui.c main-dlg-ui.h \
-       main-dlg.c main-dlg.h \
-       demo-ui.c demo-ui.h \
-       demo.c demo.h
+       lxappearance.c \
+       lxappearance.h \
+       widget-theme.c \
+       widget-theme.h \
+       color-scheme.c \
+       color-scheme.h \
+       icon-theme.c \
+       icon-theme.h \
+       cursor-theme.c \
+       cursor-theme.h \
+       font.c \
+       font.h \
+       other.c \
+       other.h \
+       utils.c \
+       utils.h \
+       plugin.c \
+       plugin.h \
+       $(NULL)
+
+lxappearance_CFLAGS = \
+       $(GTK_CFLAGS) \
+       $(XLIB_CFLAGS) \
+       $(GMODULE_CFLAGS) \
+       $(ADDITIONAL_FLAGS) \
+       -Werror-implicit-function-declaration \
+       $(NULL)
+
+lxappearance_LDADD = \
+       $(GTK_LIBS) \
+       $(XLIB_LIBS) \
+       $(GMODULE_LIBS) \
+       $(INTLLIBS) \
+       $(NULL)
 
-lxappearance_LDADD = @PACKAGE_LIBS@ $(INTLLIBS)
 
+# Little program to optimize size of xml files
+noinst_PROGRAMS=xml-purge
+xml_purge_SOURCES=$(top_srcdir)/src/xml-purge.c
+xml_purge_CFLAGS=$(GTK_CFLAGS)
+xml_purge_LDADD=$(GTK_LIBS)