Eanble plugin support.
[lxde/lxappearance.git] / src / Makefile.am
index 3e3ec92..f9ae7c9 100644 (file)
@@ -4,9 +4,13 @@ AM_CPPFLAGS = \
        -I$(srcdir) \
        -DPACKAGE_DATA_DIR=\""$(datadir)/lxappearance"\" \
        -DPACKAGE_UI_DIR=\""$(datadir)/lxappearance/ui"\" \
        -I$(srcdir) \
        -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)
 
+lxappearance_includedir = $(includedir)/lxappearance
+lxappearance_include_HEADERS = lxappearance.h
+
 bin_PROGRAMS = lxappearance
 lxappearance_SOURCES = \
        lxappearance.c \
 bin_PROGRAMS = lxappearance
 lxappearance_SOURCES = \
        lxappearance.c \
@@ -23,15 +27,19 @@ lxappearance_SOURCES = \
        other.h \
        utils.c \
        utils.h \
        other.h \
        utils.c \
        utils.h \
+       plugin.c \
+       plugin.h \
        $(NULL)
 
 lxappearance_CFLAGS = \
        $(GTK_CFLAGS) \
        $(NULL)
 
 lxappearance_CFLAGS = \
        $(GTK_CFLAGS) \
+       $(GMODULE_CFLAGS) \
        -Werror-implicit-function-declaration \
        $(NULL)
 
 lxappearance_LDADD = \
        $(GTK_LIBS) \
        -Werror-implicit-function-declaration \
        $(NULL)
 
 lxappearance_LDADD = \
        $(GTK_LIBS) \
+       $(GMODULE_LIBS) \
        $(INTLLIBS) \
        $(NULL)
 
        $(INTLLIBS) \
        $(NULL)