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