X-Git-Url: http://git.jankratochvil.net/?a=blobdiff_plain;f=src%2Flibcaptive%2Fclient%2FMakefile.am;h=55a700a71d5a7eff60bcd088a5149d71b0132291;hb=a2dd38f86df22c46ae18f3ad7d9850eaacb02b92;hp=6fc288b882c43701da7c1ec9806bbc21c10f92f7;hpb=a6bbf241da9447587253dc9b44e0845bebdbe9f1;p=captive.git diff --git a/src/libcaptive/client/Makefile.am b/src/libcaptive/client/Makefile.am index 6fc288b..55a700a 100644 --- a/src/libcaptive/client/Makefile.am +++ b/src/libcaptive/client/Makefile.am @@ -1,6 +1,6 @@ # $Id$ # automake source for the client interface of libcaptive Makefile -# Copyright (C) 2002 Jan Kratochvil +# Copyright (C) 2002-2003 Jan Kratochvil # # 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 @@ -19,10 +19,72 @@ include $(top_srcdir)/Makefile-head.am include $(top_srcdir)/src/libcaptive/Makefile-libcaptive.am +if HAVE_GNOME +standalone_gnome_cond= \ + standalone-gnome.c \ + standalone-gnome.h +endif + noinst_LTLIBRARIES=libclient.la libclient_la_SOURCES= \ - init.c \ - lib.c \ + 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_info.c + file.h \ + giochannel-blind.c \ + giochannel-blind.h \ + giochannel-subrange.c \ + giochannel-subrange.h \ + init.c \ + init.h \ + leave.c \ + lib.c \ + lib.h \ + libxml.c \ + options-module.c \ + options.c \ + parent-connector.c \ + parent-connector.h \ + result.c \ + result.h \ + standalone.c \ + standalone.h \ + usecount.c \ + vfs-parent.c \ + vfs-parent.h \ + vfs-slave.c \ + vfs-slave.h \ + vfs.c \ + vfs.h \ + $(MARSHALLERS) \ + $(standalone_gnome_cond) +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 +MARSHALLERS= \ + marshallers.c \ + marshallers.h +# 'BUILT_SOURCES' will force its building before any other compilation. +BUILT_SOURCES+=$(MARSHALLERS) +CLEANFILES+=$(MARSHALLERS) + +EXTRA_DIST +=options.pod.pl.in +noinst_DATA+=options.pod.pl