]>
git.ipfire.org Git - thirdparty/cups.git/blob - scripts/makecups
3 # Script to configure and make CUPS with the standard build options. When no
4 # targets are specified, the "clean" and "check" targets are used.
8 # scripts/makecups [configure option(s)] [make target(s)]
11 # Scan the command-line arguments...
12 confopts
="--enable-debug --enable-debug-guards --enable-debug-printfs --enable-sanitizer --enable-unit-tests"
15 while test $# -gt 0; do
21 confopts
="$confopts $opt"
24 makeopts
="$makeopts $opt"
29 if test "x$makeopts" = x
; then
30 makeopts
="clean check"
35 makeopts
="-j`sysctl -n hw.activecpu` $makeopts"
38 ASAN_OPTIONS
="leak_check_at_exit=false"; export ASAN_OPTIONS
42 # Run the configure script...
43 echo .
/configure
$confopts
44 .
/configure
$confopts ||
exit 1
46 # Build the software...