Initial original import from: fuse-2.4.2-2.fc4
[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 if HAVE_GNOME
23 standalone_gnome_cond= \
24                 standalone-gnome.c \
25                 standalone-gnome.h
26 endif
27
28 noinst_LTLIBRARIES=libclient.la
29 libclient_la_SOURCES= \
30                 directory-parent.c \
31                 directory-parent.h \
32                 directory-slave.c \
33                 directory-slave.h \
34                 directory.c \
35                 directory.h \
36                 file-parent.c \
37                 file-parent.h \
38                 file-slave.c \
39                 file-slave.h \
40                 file.c \
41                 file.h \
42                 giochannel-blind.c \
43                 giochannel-blind.h \
44                 giochannel-subrange.c \
45                 giochannel-subrange.h \
46                 init.c \
47                 init.h \
48                 leave.c \
49                 lib.c \
50                 lib.h \
51                 libxml.c \
52                 options-module.c \
53                 options.c \
54                 parent-connector.c \
55                 parent-connector.h \
56                 result.c \
57                 result.h \
58                 standalone.c \
59                 standalone.h \
60                 usecount.c \
61                 vfs-parent.c \
62                 vfs-parent.h \
63                 vfs-slave.c \
64                 vfs-slave.h \
65                 vfs.c \
66                 vfs.h \
67                 $(MARSHALLERS) \
68                 $(standalone_gnome_cond)
69 libclient_la_CFLAGS= \
70                 $(GNOME_VFS_MODULE_CFLAGS) $(OPENSSL_CFLAGS) $(LIBXML_CFLAGS)
71 libclient_la_LIBADD= \
72                 $(GNOME_VFS_MODULE_LIBS)   $(OPENSSL_LIBS)   $(LIBXML_LIBS)
73
74 marshallers.h: marshallers.list
75         $(GLIB_GENMARSHAL) --prefix=captive_client $< --header >$@
76
77 marshallers.c: marshallers.list
78         $(GLIB_GENMARSHAL) --prefix=captive_client $< --body >$@
79
80 EXTRA_DIST+= \
81                 marshallers.list
82 MARSHALLERS= \
83                 marshallers.c \
84                 marshallers.h
85 # 'BUILT_SOURCES' will force its building before any other compilation.
86 BUILT_SOURCES+=$(MARSHALLERS)
87 CLEANFILES+=$(MARSHALLERS)
88
89 EXTRA_DIST +=options.pod.pl.in
90 noinst_DATA+=options.pod.pl