]> git.meshlink.io Git - catta/blob - Makefile.am
integrate mono bindings into the build
[catta] / Makefile.am
1 # $Id$
2
3 # This file is part of avahi.
4 #
5 # avahi is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU Lesser General Public License as
7 # published by the Free Software Foundation; either version 2 of the
8 # License, or (at your option) any later version.
9 #
10 # avahi is distributed in the hope that it will be useful, but WITHOUT
11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
13 # License for more details.
14 #
15 # You should have received a copy of the GNU Lesser General Public
16 # License along with avahi; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
18 # USA.
19
20 ACLOCAL_AMFLAGS = -I common
21
22 include $(srcdir)/common/doxygen.mk
23
24 EXTRA_DIST = \
25         autogen.sh \
26         bootstrap.sh \
27         LICENSE \
28         $(DX_CONFIG) \
29         docs/INSTALL \
30         docs/TODO \
31         docs/NEWS \
32         docs/README \
33         docs/DBUS-API \
34         docs/AUTHORS \
35         docs/HACKING \
36         docs/overview.dia \
37         docs/server-states.dia \
38         docs/avahi-poll.dia \
39         avahi-core.pc.in \
40         avahi-client.pc.in \
41         avahi-glib.pc.in \
42         avahi-qt3.pc.in \
43         avahi-qt4.pc.in
44
45 SUBDIRS = \
46         common \
47         avahi-common \
48         avahi-glib \
49         avahi-core \
50         avahi-discover-standalone \
51         avahi-qt \
52         avahi-client \
53         avahi-daemon \
54         avahi-sharp \
55         initscript \
56         avahi-dnsconfd \
57         avahi-utils \
58         examples \
59         man \
60         tests \
61         service-type-database
62
63
64 DX_INPUT = \
65         $(srcdir)/avahi-common/cdecl.h \
66         $(srcdir)/avahi-core/core.h \
67         $(srcdir)/avahi-common/address.h \
68         $(srcdir)/avahi-core/rr.h \
69         $(srcdir)/avahi-common/strlst.h \
70         $(srcdir)/avahi-common/alternative.h \
71         $(srcdir)/avahi-core/log.h \
72         $(srcdir)/avahi-common/defs.h \
73         $(srcdir)/avahi-client/client.h \
74         $(srcdir)/avahi-common/error.h \
75         $(srcdir)/avahi-common/malloc.h \
76         $(srcdir)/avahi-common/domain.h \
77         $(srcdir)/avahi-common/gccmacro.h \
78         $(srcdir)/avahi-common/watch.h \
79         $(srcdir)/avahi-common/simple-watch.h \
80         $(srcdir)/avahi-glib/glib-watch.h \
81         $(srcdir)/avahi-glib/glib-malloc.h \
82         $(srcdir)/avahi-common/timeval.h \
83         $(srcdir)/avahi-common/dbus.h \
84         $(srcdir)/avahi-qt/qt-watch.h
85
86 DX_EXAMPLE_PATH = $(srcdir)/examples
87
88 DX_EXAMPLE_PATTERNS = *.c
89
90 pkgconfigdir = $(libdir)/pkgconfig
91 pkgconfig_DATA = avahi-core.pc
92
93 avahi-core.pc: avahi-core.pc.in
94         sed -e 's,@prefix\@,$(prefix),g' \
95             -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
96
97 CLEANFILES = avahi-core.pc
98
99 if HAVE_DBUS
100
101 pkgconfig_DATA += avahi-client.pc
102
103 avahi-client.pc: avahi-client.pc.in
104         sed -e 's,@prefix\@,$(prefix),g' \
105             -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
106
107 CLEANFILES += avahi-client.pc
108
109 endif
110
111 if HAVE_GLIB
112
113 pkgconfig_DATA += avahi-glib.pc
114
115 avahi-glib.pc: avahi-glib.pc.in
116         sed -e 's,@prefix\@,$(prefix),g' \
117             -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
118
119 CLEANFILES += avahi-glib.pc
120
121 endif
122
123 if HAVE_QT3
124
125 pkgconfig_DATA += avahi-qt3.pc
126
127 avahi-qt3.pc: avahi-qt3.pc.in
128         sed -e 's,@prefix\@,$(prefix),g' \
129             -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
130
131 CLEANFILES += avahi-qt3.pc
132
133 endif
134
135 if HAVE_QT4
136
137 pkgconfig_DATA += avahi-qt4.pc
138
139 avahi-qt4.pc: avahi-qt4.pc.in
140         sed -e 's,@prefix\@,$(prefix),g' \
141             -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
142
143 CLEANFILES += avahi-qt4.pc
144
145 endif
146
147
148 MOSTLYCLEANFILES = $(DX_CLEANFILES)
149
150 homepage:
151         $(MAKE) -C man
152         scp avahi-daemon/*.introspect avahi-daemon/introspect.dtd avahi-daemon/introspect.xsl\
153             man/*.xml man/xmltoman.dtd man/xmltoman.xsl \
154             fdo:public_html/
155         rm -rf doxygen
156         $(MAKE) doxygen-run
157         ssh fdo rm -rf public_html/doxygen
158         scp -r doxygen/html fdo:public_html/doxygen