Eanble plugin support.
[lxde/lxappearance.git] / src / Makefile.am
index 3fc2c3f..f9ae7c9 100644 (file)
@@ -2,31 +2,44 @@ NULL=
 
 AM_CPPFLAGS = \
        -I$(srcdir) \
 
 AM_CPPFLAGS = \
        -I$(srcdir) \
-       -DPACKAGE_DATA_DIR=\""$(datadir)/lxappearance2"\" \
-       -DPACKAGE_UI_DIR=\""$(datadir)/lxappearance2/ui"\" \
+       -DPACKAGE_DATA_DIR=\""$(datadir)/lxappearance"\" \
+       -DPACKAGE_UI_DIR=\""$(datadir)/lxappearance/ui"\" \
+       -DPACKAGE_LIB_DIR=\""$(libdir)"\" \
        -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
        $(NULL)
 
        -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
        $(NULL)
 
-bin_PROGRAMS = lxappearance2
-lxappearance2_SOURCES = \
-       lxappearance2.c \
+lxappearance_includedir = $(includedir)/lxappearance
+lxappearance_include_HEADERS = lxappearance.h
+
+bin_PROGRAMS = lxappearance
+lxappearance_SOURCES = \
+       lxappearance.c \
+       lxappearance.h \
        widget-theme.c \
        widget-theme.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 \
        icon-theme.c \
        icon-theme.h \
        cursor-theme.c \
        cursor-theme.h \
+       other.c \
+       other.h \
        utils.c \
        utils.h \
        utils.c \
        utils.h \
+       plugin.c \
+       plugin.h \
        $(NULL)
 
        $(NULL)
 
-lxappearance2_CFLAGS = \
+lxappearance_CFLAGS = \
        $(GTK_CFLAGS) \
        $(GTK_CFLAGS) \
+       $(GMODULE_CFLAGS) \
        -Werror-implicit-function-declaration \
        $(NULL)
 
        -Werror-implicit-function-declaration \
        $(NULL)
 
-lxappearance2_LDADD = \
+lxappearance_LDADD = \
        $(GTK_LIBS) \
        $(GTK_LIBS) \
+       $(GMODULE_LIBS) \
        $(INTLLIBS) \
        $(NULL)
 
        $(INTLLIBS) \
        $(NULL)