inital gtk2 patch
[claws.git] / src / gtk / Makefile.am
index a4978cd..eafa6f0 100644 (file)
@@ -1,5 +1,8 @@
 noinst_LTLIBRARIES = libsylpheedgtk.la
 
+EXTRA_DIST = \
+       sylpheed-marshal.list
+
 libsylpheedgtk_la_SOURCES = \
        about.c \
        colorlabel.c \
@@ -10,12 +13,12 @@ libsylpheedgtk_la_SOURCES = \
        gtkutils.c \
        gtkshruler.c \
        gtksctree.c \
-       gtkstext.c \
        manage_window.c \
        menu.c \
        pluginwindow.c \
        prefswindow.c \
        sslcertwindow.c \
+       sylpheed-marshal.c \
        gtkvscrollbutton.c
 
 sylpheedgtkincludedir = $(pkgincludedir)/gtk
@@ -29,12 +32,12 @@ sylpheedgtkinclude_HEADERS = \
        gtkutils.h \
        gtkshruler.h \
        gtksctree.h \
-       gtkstext.h \
        manage_window.h \
        menu.h \
        pluginwindow.h \
        prefswindow.h \
        sslcertwindow.h \
+       sylpheed-marshal.h \
        gtkvscrollbutton.h
 
 AM_CPPFLAGS = \
@@ -48,3 +51,11 @@ libsylpheedgtk_la_LIBADD = \
        ../common/libsylpheedcommon.la \
        $(GTK_LIBS) \
        $(ASPELL_LIBS)
+
+BUILT_SOURCES=sylpheed-marshal.c sylpheed-marshal.h
+
+sylpheed-marshal.h: sylpheed-marshal.list
+       $(GLIB_GENMARSHAL) $< --header --prefix=sylpheed_marshal > $@
+
+sylpheed-marshal.c: sylpheed-marshal.list
+       $(GLIB_GENMARSHAL) $< --body --prefix=sylpheed_marshal > $@