256be0c16738ee9c43706ebc4b9b0ccca71b4ef9
[captive.git] / src / libcaptive / client / Makefile.am
1 # $Id$
2 # automake source for the client interface of libcaptive Makefile 
3 # Copyright (C) 2002-2003 Jan Kratochvil <project-captive@jankratochvil.net>
4
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; exactly version 2 of June 1991 is required
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17
18
19 include $(top_srcdir)/Makefile-head.am
20 include $(top_srcdir)/src/libcaptive/Makefile-libcaptive.am
21
22 noinst_LTLIBRARIES=libclient.la
23 libclient_la_SOURCES= \
24                 directory-parent.c \
25                 directory-parent.h \
26                 directory-slave.c \
27                 directory-slave.h \
28                 directory.c \
29                 directory.h \
30                 file-parent.c \
31                 file-parent.h \
32                 file-slave.c \
33                 file-slave.h \
34                 file.c \
35                 file.h \
36                 giochannel-blind.c \
37                 giochannel-blind.h \
38                 init.c \
39                 init.h \
40                 leave.c \
41                 lib.c \
42                 lib.h \
43                 libxml.c \
44                 marshallers.c \
45                 marshallers.h \
46                 options-module.c \
47                 options.c \
48                 parent-connector.c \
49                 parent-connector.h \
50                 result.c \
51                 result.h \
52                 usecount.c \
53                 vfs-parent.c \
54                 vfs-parent.h \
55                 vfs-slave.c \
56                 vfs-slave.h \
57                 vfs.c \
58                 vfs.h
59 libclient_la_CFLAGS= \
60                 $(GNOME_VFS_MODULE_CFLAGS) $(OPENSSL_CFLAGS) $(LIBXML_CFLAGS)
61 libclient_la_LIBADD= \
62                 $(GNOME_VFS_MODULE_LIBS)   $(OPENSSL_LIBS)   $(LIBXML_LIBS)
63
64 marshallers.h: marshallers.list
65         $(GLIB_GENMARSHAL) --prefix=captive_client $< --header >$@
66
67 marshallers.c: marshallers.list
68         $(GLIB_GENMARSHAL) --prefix=captive_client $< --body >$@
69
70 EXTRA_DIST+= \
71                 marshallers.list
72
73 CLEANFILES+= \
74                 marshallers.c \
75                 marshallers.h
76
77 # FIXME: Prevent: libtool: link: `libclient_la-parent-connector.lo' is not a valid libtool object
78 # dependency: libclient_la-parent-connector.lo: marshallers.h