# $Id$
# automake source for the client interface of libcaptive Makefile
-# Copyright (C) 2002 Jan Kratochvil <project-captive@jankratochvil.net>
+# Copyright (C) 2002-2003 Jan Kratochvil <project-captive@jankratochvil.net>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
noinst_LTLIBRARIES=libclient.la
libclient_la_SOURCES= \
- init.c \
- lib.c \
- lib.h \
+ directory-parent.c \
+ directory-parent.h \
+ directory-slave.c \
+ directory-slave.h \
directory.c \
+ directory.h \
+ file-parent.c \
+ file-parent.h \
+ file-slave.c \
+ file-slave.h \
file.c \
+ file.h \
giochannel-blind.c \
giochannel-blind.h \
+ init.c \
+ init.h \
+ leave.c \
+ lib.c \
+ lib.h \
+ libxml.c \
+ marshallers.c \
+ marshallers.h \
+ options-module.c \
+ options.c \
+ parent-connector.c \
+ parent-connector.h \
result.c \
- result.h
+ result.h \
+ usecount.c \
+ vfs-parent.c \
+ vfs-parent.h \
+ vfs-slave.c \
+ vfs-slave.h \
+ vfs.c \
+ vfs.h
+libclient_la_CFLAGS= \
+ $(GNOME_VFS_MODULE_CFLAGS) $(OPENSSL_CFLAGS) $(LIBXML_CFLAGS)
+libclient_la_LIBADD= \
+ $(GNOME_VFS_MODULE_LIBS) $(OPENSSL_LIBS) $(LIBXML_LIBS)
+
+marshallers.h: marshallers.list
+ glib-genmarshal --prefix=captive_client $< --header >$@
+
+marshallers.c: marshallers.list
+ glib-genmarshal --prefix=captive_client $< --body >$@
+
+EXTRA_DIST+= \
+ marshallers.list
+
+CLEANFILES+= \
+ marshallers.c \
+ marshallers.h
+
+# FIXME: Prevent: libtool: link: `libclient_la-parent-connector.lo' is not a valid libtool object
+# dependency: libclient_la-parent-connector.lo: marshallers.h