6eeba2400e876ef630f159d55c80bef5cbf016e1
[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                 options-module.c \
45                 options.c \
46                 parent-connector.c \
47                 parent-connector.h \
48                 result.c \
49                 result.h \
50                 usecount.c \
51                 vfs-parent.c \
52                 vfs-parent.h \
53                 vfs-slave.c \
54                 vfs-slave.h \
55                 vfs.c \
56                 vfs.h \
57                 $(MARSHALLERS)
58 libclient_la_CFLAGS= \
59                 $(GNOME_VFS_MODULE_CFLAGS) $(OPENSSL_CFLAGS) $(LIBXML_CFLAGS)
60 libclient_la_LIBADD= \
61                 $(GNOME_VFS_MODULE_LIBS)   $(OPENSSL_LIBS)   $(LIBXML_LIBS)
62
63 marshallers.h: marshallers.list
64         $(GLIB_GENMARSHAL) --prefix=captive_client $< --header >$@
65
66 marshallers.c: marshallers.list
67         $(GLIB_GENMARSHAL) --prefix=captive_client $< --body >$@
68
69 EXTRA_DIST+= \
70                 marshallers.list
71 MARSHALLERS= \
72                 marshallers.c \
73                 marshallers.h
74 # 'BUILT_SOURCES' will force its building before any other compilation.
75 BUILT_SOURCES+=$(MARSHALLERS)
76 CLEANFILES+=$(MARSHALLERS)
77
78 EXTRA_DIST +=options.pod.pl.in
79 noinst_DATA+=options.pod.pl