Fixed message typo.
[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                 file-info.c \
43                 giochannel-blind.c \
44                 giochannel-blind.h \
45                 giochannel-subrange.c \
46                 giochannel-subrange.h \
47                 init.c \
48                 init.h \
49                 leave.c \
50                 lib.c \
51                 lib.h \
52                 libxml.c \
53                 options-module.c \
54                 options.c \
55                 parent-connector.c \
56                 parent-connector.h \
57                 result.c \
58                 result.h \
59                 standalone.c \
60                 standalone.h \
61                 usecount.c \
62                 vfs-parent.c \
63                 vfs-parent.h \
64                 vfs-slave.c \
65                 vfs-slave.h \
66                 vfs.c \
67                 vfs.h \
68                 $(MARSHALLERS) \
69                 $(standalone_gnome_cond)
70 libclient_la_CFLAGS= \
71                 $(GNOME_VFS_MODULE_CFLAGS) $(OPENSSL_CFLAGS) $(LIBXML_CFLAGS)
72 libclient_la_LIBADD= \
73                 $(GNOME_VFS_MODULE_LIBS)   $(OPENSSL_LIBS)   $(LIBXML_LIBS)
74
75 marshallers.h: marshallers.list
76         $(GLIB_GENMARSHAL) --prefix=captive_client $< --header >$@
77
78 marshallers.c: marshallers.list
79         $(GLIB_GENMARSHAL) --prefix=captive_client $< --body >$@
80
81 EXTRA_DIST+= \
82                 marshallers.list
83 MARSHALLERS= \
84                 marshallers.c \
85                 marshallers.h
86 # 'BUILT_SOURCES' will force its building before any other compilation.
87 BUILT_SOURCES+=$(MARSHALLERS)
88 CLEANFILES+=$(MARSHALLERS)
89
90 EXTRA_DIST +=options.pod.pl.in
91 noinst_DATA+=options.pod.pl