18
18
# schroot Makefile template
21
# Copyright © 2004-2009 Roger Leigh <rleigh@debian.org>
21
# Copyright © 2004-2010 Roger Leigh <rleigh@debian.org>
23
23
# schroot is free software: you can redistribute it and/or modify it
24
24
# under the terms of the GNU General Public License as published by
246
247
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
247
248
PACKAGE_NAME = @PACKAGE_NAME@
248
249
PACKAGE_STRING = @PACKAGE_STRING@
249
PACKAGE_SYSCONF_DIR = @PACKAGE_SYSCONF_DIR@
250
250
PACKAGE_TARNAME = @PACKAGE_TARNAME@
251
251
PACKAGE_URL = @PACKAGE_URL@
252
252
PACKAGE_VERSION = @PACKAGE_VERSION@
270
270
SCHROOT_CONF = @SCHROOT_CONF@
271
271
SCHROOT_CONF_CHROOT_D = @SCHROOT_CONF_CHROOT_D@
272
272
SCHROOT_CONF_SETUP_D = @SCHROOT_CONF_SETUP_D@
273
SCHROOT_DATA_DIR = @SCHROOT_DATA_DIR@
273
274
SCHROOT_FILE_UNPACK_DIR = @SCHROOT_FILE_UNPACK_DIR@
274
275
SCHROOT_LIBEXEC_DIR = @SCHROOT_LIBEXEC_DIR@
275
276
SCHROOT_MOUNT_DIR = @SCHROOT_MOUNT_DIR@
276
277
SCHROOT_OVERLAY_DIR = @SCHROOT_OVERLAY_DIR@
277
278
SCHROOT_SESSION_DIR = @SCHROOT_SESSION_DIR@
279
SCHROOT_SETUP_DATA_DIR = @SCHROOT_SETUP_DATA_DIR@
280
SCHROOT_SYSCONF_DIR = @SCHROOT_SYSCONF_DIR@
278
281
SCHROOT_UNDERLAY_DIR = @SCHROOT_UNDERLAY_DIR@
280
283
SET_MAKE = @SET_MAKE@
346
349
# Global options for use in all Makefiles.
347
350
AM_CXXFLAGS = -I$(top_srcdir) $(LOCAL_CXXFLAGS) $(PTHREAD_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
348
351
AM_LDFLAGS = $(LOCAL_LDFLAGS) $(PTHREAD_LIBS)
349
SUBDIRS = pam default setup.d bash_completion
350
pkgsysconfdir = $(PACKAGE_SYSCONF_DIR)
352
SUBDIRS = pam setup.d bash_completion
353
pkgsysconfdir = $(SCHROOT_SYSCONF_DIR)
351
354
pkgsysconf_DATA = \
357
368
all: all-recursive
360
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/scripts/global.mk $(am__configure_deps)
371
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/scripts/global.mk $(am__configure_deps)
361
372
@for dep in $?; do \
362
373
case '$(am__configure_deps)' in \
382
393
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
383
394
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
385
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
396
$(top_srcdir)/configure: $(am__configure_deps)
386
397
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
387
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
398
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
388
399
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
389
400
$(am__aclocal_m4_deps):
707
719
uninstall-am: uninstall-pkgsysconfDATA
709
721
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
710
install-am install-strip tags-recursive
722
install-am install-data-am install-strip tags-recursive
712
724
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
713
all all-am check check-am clean clean-generic clean-libtool \
714
ctags ctags-recursive distclean distclean-generic \
715
distclean-libtool distclean-tags distdir dvi dvi-am html \
716
html-am info info-am install install-am install-data \
717
install-data-am install-dvi install-dvi-am install-exec \
718
install-exec-am install-html install-html-am install-info \
719
install-info-am install-man install-pdf install-pdf-am \
720
install-pkgsysconfDATA install-ps install-ps-am install-strip \
721
installcheck installcheck-am installdirs installdirs-am \
722
maintainer-clean maintainer-clean-generic mostlyclean \
723
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
724
tags tags-recursive uninstall uninstall-am \
725
uninstall-pkgsysconfDATA
725
all all-am all-local check check-am clean clean-generic \
726
clean-libtool clean-local ctags ctags-recursive distclean \
727
distclean-generic distclean-libtool distclean-tags distdir dvi \
728
dvi-am html html-am info info-am install install-am \
729
install-data install-data-am install-data-hook install-dvi \
730
install-dvi-am install-exec install-exec-am install-html \
731
install-html-am install-info install-info-am install-man \
732
install-pdf install-pdf-am install-pkgsysconfDATA install-ps \
733
install-ps-am install-strip installcheck installcheck-am \
734
installdirs installdirs-am maintainer-clean \
735
maintainer-clean-generic mostlyclean mostlyclean-generic \
736
mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
737
uninstall uninstall-am uninstall-pkgsysconfDATA
740
profiles: profiles-stamp
741
profiles-stamp: genprofile
743
for profile in $(PROFILES); do \
744
$(srcdir)/genprofile "$$profile" "$(PLATFORM)" "$(srcdir)/profile-templates" "profiles/$$profile"; \
751
for profile in $(PROFILES); do \
752
$(MKDIR_P) "$(DESTDIR)$(SCHROOT_SYSCONF_DIR)/$$profile"; \
753
for file in "profiles/$$profile"/*; do \
754
$(INSTALL_DATA) "$$file" "$(DESTDIR)$(SCHROOT_SYSCONF_DIR)/$$profile"; \
760
$(RM) -f profiles-stamp
728
764
# Tell versions [3.59,3.63) of GNU make to not export all variables.
729
765
# Otherwise a system limit (for SysV at least) may be exceeded.