Makefile revision 5795
2N/A# The contents of this file are subject to the terms of the 2N/A# Common Development and Distribution License (the "License"). 2N/A# You may not use this file except in compliance with the License. 2N/A# See the License for the specific language governing permissions 2N/A# and limitations under the License. 2N/A# When distributing Covered Code, include this CDDL HEADER in each 2N/A# If applicable, add the following below this CDDL HEADER, with the 2N/A# fields enclosed by brackets "[]" replaced with your own identifying 2N/A# information: Portions Copyright [yyyy] [name of copyright owner] 2N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. 2N/A# While the tree currently builds with Studio, we need to make sure it also 2N/A# builds with gcc when submitting patches upstream, and having both sets of 2N/A# options in the CFLAGS below makes it easy to switch when needed. 2N/A# Enable additional warnings, since we've modified this code a lot 2N/A# Additional optimization flags, to make the hacks show off the hardware 2N/A# better and because for just a screensaver display we can get away with 2N/A# using optimizations that may change strict correctness of floating point ops. 2N/A# Fix 64-bit linking; compiler is used for the linking. 2N/A# forces the update of the standard automake files that autoreconf will not 2N/A# update because Makefile.am does not exist. This is needed to ensure we have 2N/A# because automake will exit with an error because Makefile.am does not exist, 2N/A# but it will update the required files. 2N/A# Need to pick up the GNU version of xgettext. 2N/A# Libraries & programs to depend on 2N/A# X extensions to support 2N/A# Support locking the screen by normal users and by root 2N/A# and allow user switching from the lock screen with gdmflexiserver 2N/A# Paths to install to 2N/A# Data sources for images & text in hacks 2N/A# Do not install setuid hacks 2N/A# The potfiles.in updates don't work unless source is cloned to build dir 2N/A# The "-o Makefile" & touch stamp-it is needed to avoid infinite looping. 2N/A# Recognizing DESTDIR as most autotools packages do would be too easy, 2N/A# so xscreensaver makes us override install_prefix instead for the same effect. 2N/A# Remove hacks we've chosen not to ship at all for various reasons