Makefile revision 943
5f5870385cff47efd2f58e7892f251cf13761528Timo Sirainen###############################################################################
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen# xlock 1.x Makefile
caa1fa99c79c568ce2e42477bc169e7024fb220bTimo Sirainen# Copyright (c) 2008, 2009, Oracle and/or its affiliates. All rights reserved.
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen# Permission is hereby granted, free of charge, to any person obtaining a
8338066be35c696b59fa9aefdc07042cb0797197Timo Sirainen# copy of this software and associated documentation files (the "Software"),
f158d9a303bb15a6848ca276c9391c7ca52e452bTimo Sirainen# to deal in the Software without restriction, including without limitation
caa1fa99c79c568ce2e42477bc169e7024fb220bTimo Sirainen# the rights to use, copy, modify, merge, publish, distribute, sublicense,
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen# and/or sell copies of the Software, and to permit persons to whom the
68787d48554f497e711ff66a087ab31f990a11e9Timo Sirainen# Software is furnished to do so, subject to the following conditions:
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen# The above copyright notice and this permission notice (including the next
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen# paragraph) shall be included in all copies or substantial portions of the
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
0591dbf3c6edb9ad502df0e57a0a458896e632a1Timo Sirainen# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
8b16d3b00f051401c97568697ccdbba48663759aTimo Sirainen# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen# DEALINGS IN THE SOFTWARE.
caa1fa99c79c568ce2e42477bc169e7024fb220bTimo Sirainen# Makefile for xlock.
caa1fa99c79c568ce2e42477bc169e7024fb220bTimo Sirainen hopalong.c qix.c life.c image.c blank.c swarm.c rotor.c pyro.c flame.c
378603cc3f3e0bf238347e7e972383d549661272Timo SirainenSRCS=${C_SRCS} ${HDRS} ${IMAGES} xlock.man XLock.ad
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen cc -o $@ ${OBJS} $(CFLAGS) $(LDFLAGS) -lX11 -lm -lpam -lbsm -lsocket -lnsl
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen $(INSTALL) -m 4755 xlock $(DESTDIR)$(bindir)/xlock
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen $(INSTALL) -m 0444 xlock.1 $(DESTDIR)$(mandir)/man1/xlock.1