source: trunk/debathena/third/schroot/bin/csbuild/Makefile.am @ 24167

Revision 24167, 1.4 KB checked in by broder, 15 years ago (diff)
Import schroot upstream into subversion.
Line 
1# schroot Makefile template
2#
3#
4# Copyright © 2004-2009  Roger Leigh <rleigh@debian.org>
5#
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 3 of the License, or
9# (at your option) any later version.
10#
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.
15#
16# You should have received a copy of the GNU General Public License
17# along with this program.  If not, see
18# <http://www.gnu.org/licenses/>.
19#
20#####################################################################
21
22include $(top_srcdir)/scripts/global.mk
23
24LOCAL_CXXFLAGS = $(SCHROOT_CFLAGS) -I$(top_srcdir)/bin
25
26DEFS = -DLOCALEDIR=\"$(localedir)\" -D_GNU_SOURCE
27
28if BUILD_CSBUILD
29csbuild = csbuild
30endif
31
32bin_PROGRAMS = $(csbuild)
33
34csbuild_SOURCES =                       \
35        csbuild-debian-changes.h        \
36        csbuild-debian-changes.cc       \
37        csbuild-options.h               \
38        csbuild-options.cc              \
39        csbuild-main.h                  \
40        csbuild-main.cc                 \
41        csbuild.cc
42csbuild_LDADD = $(top_builddir)/bin/schroot/libschroot.la
43
44install-exec-hook:
45# Install setuid root.
46        if [ -f "$(DESTDIR)$(bindir)/csbuild" ]; then \
47          chmod 4755 "$(DESTDIR)$(bindir)/csbuild"; \
48        fi
Note: See TracBrowser for help on using the repository browser.