1
# schroot Makefile template
4
# Copyright © 2004-2006 Roger Leigh <rleigh@debian.org>
6
# schroot is free software; you can redistribute it and/or modify it
7
# under the terms of the GNU General Public License as published by
8
# the Free Software Foundation; either version 2 of the License, or
9
# (at your option) any later version.
11
# schroot is distributed in the hope that it will be useful, but
12
# WITHOUT ANY WARRANTY; without even the implied warranty of
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
# General Public License for more details.
16
# You should have received a copy of the GNU General Public License
17
# along with this program; if not, write to the Free Software
18
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21
#####################################################################
23
localedir = $(datadir)/locale
25
AM_CXXFLAGS = $(SCHROOT_CFLAGS) -pedantic -Wall -Wcast-align -Wwrite-strings -Wswitch-default -Wcast-qual -Wunused-variable -Wredundant-decls -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Wold-style-cast -Woverloaded-virtual -fstrict-aliasing
26
# -Weffc++ causes too many warnings in standard headers; -Wextra is not
27
# supported by GCC 3.4.
29
DEFS = -DGETTEXT_PACKAGE=\"schroot\" -DLOCALEDIR=\"$(localedir)\" -D_GNU_SOURCE
31
noinst_LTLIBRARIES = libsbuild.la
33
sbuild_public_h_sources = \
36
sbuild-auth-conv-tty.h \
37
sbuild-auth-message.h \
39
sbuild-chroot-block-device.h \
40
sbuild-chroot-file.h \
41
sbuild-chroot-lvm-snapshot.h \
42
sbuild-chroot-plain.h \
43
sbuild-chroot-source.h \
44
sbuild-chroot-config.h \
45
sbuild-custom-error.h \
46
sbuild-custom-error.tcc \
48
sbuild-environment.h \
50
sbuild-format-detail.h \
56
sbuild-parse-error.h \
57
sbuild-parse-value.h \
58
sbuild-personality.h \
65
sbuild_public_cc_sources = \
68
sbuild-auth-conv-tty.cc \
69
sbuild-auth-message.cc \
71
sbuild-chroot-block-device.cc \
72
sbuild-chroot-file.cc \
73
sbuild-chroot-lvm-snapshot.cc \
74
sbuild-chroot-plain.cc \
75
sbuild-chroot-source.cc \
76
sbuild-chroot-config.cc \
78
sbuild-environment.cc \
79
sbuild-format-detail.cc \
84
sbuild-parse-error.cc \
85
sbuild-parse-value.cc \
86
sbuild-personality.cc \
91
libsbuild_la_SOURCES = \
92
$(sbuild_public_h_sources) \
93
$(sbuild_public_cc_sources)
95
nodist_libsbuild_la_SOURCES = \
98
libsbuild_la_LIBADD = $(UUID_LIBS) $(PAM_LIBS) $(LOCKDEV_LIBS) $(BOOST_LIBS) $(LIBINTL)