-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile
35 lines (28 loc) · 938 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Makefile for xtrlock - X Transparent Lock
# This Makefile provided for those of you who lack a functioning xmkmf.
#
# Copyright (C)1993,1994 Ian Jackson
#
# This is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
LDLIBS=-lX11 -lcrypt
CDEFS=-DSHADOW_PWD
CC=gcc
CFLAGS=-Wall ${CDEFS}
INSTALL=install
RM=rm
xtrlock: xtrlock.o
xtrlock.o: xtrlock.c
install: xtrlock
$(INSTALL) -c -m 2755 -o root -g shadow xtrlock /usr/bin
install.man:
$(INSTALL) -c -m 644 xtrlock.man /usr/man/man1/xtrlock.1x
remove:
$(RM) /usr/bin/xtrlock