]> jfr.im git - irc/UndernetIRC/iauthd-c.git/blob - Makefile.am
distclean: Remove unit-tests.log
[irc/UndernetIRC/iauthd-c.git] / Makefile.am
1 # Makefile.am - top-level -*- makefile -*- to build iauthd-c
2 #
3 # Copyright 2011 Michael Poole <mdpoole@troilus.org>
4 #
5 # Permission is hereby granted, free of charge, to any person
6 # obtaining a copy of this software and associated documentation files
7 # (the "Software"), to deal in the Software without restriction,
8 # including without limitation the rights to use, copy, modify, merge,
9 # publish, distribute, sublicense, and/or sell copies of the Software,
10 # and to permit persons to whom the Software is furnished to do so,
11 # subject to the following conditions:
12 #
13 # The above copyright notice and this permission notice shall be
14 # included in all copies or substantial portions of the Software.
15 #
16 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17 # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
20 # BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
21 # ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
22 # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23 # SOFTWARE.
24
25 AUTOMAKE_OPTIONS = gnu dist-bzip2 subdir-objects nostdinc 1.6
26 ACLOCAL_AMFLAGS = -I autoconf
27
28 LOGDIR="$(localstatedir)/log"
29
30 STRICT_CFLAGS = @STRICT_CFLAGS@
31 AM_CFLAGS = $(STRICT_CFLAGS) $(EVENT_CFLAGS) -I$(top_srcdir) -I$(top_builddir)
32 AM_CPPFLAGS = -DSYSCONFDIR="\"$(sysconfdir)\"" -DMODULESDIR="\"$(pkglibdir)\"" -DLOGDIR="\"$(LOGDIR)\""
33 AM_LDFLAGS = -module -avoid-version -export-dynamic
34 EXTRA_DIST =
35 DISTCLEANFILES = unit-tests.log
36
37 include $(srcdir)/doc/Makefile.frag
38 include $(srcdir)/src/Makefile.frag
39 include $(srcdir)/modules/Makefile.frag
40 include $(srcdir)/tests/Makefile.frag
41
42 install-data-local:
43 $(MKDIR_P) "$(LOGDIR)"