File: Makefile

package info (click to toggle)
timeoutd 1.5-2
  • links: PTS
  • area: main
  • in suites: hamm, potato, slink
  • size: 92 kB
  • ctags: 92
  • sloc: ansic: 1,037; makefile: 46; sh: 24
file content (18 lines) | stat: -rw-r--r-- 589 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CFLAGS=-fomit-frame-pointer -O2 -g -Wall
all: timeoutd dump_wtmp

timeoutd:	timeoutd.c Makefile
	$(CC) $(CFLAGS) -o timeoutd timeoutd.c

dump_wtmp:	dump_wtmp.c Makefile
	$(CC) $(CFLAGS) -o dump_wtmp dump_wtmp.c

install:
	install -o root -g root -m 2751 timeoutd $(DESTDIR)/usr/sbin/timeoutd
	install -o root -g root -m 755 dump_wtmp $(DESTDIR)/usr/sbin/dump_wtmp
	install -o man -g root -m 664 timeoutd.8 $(DESTDIR)/usr/man/man8
	install -o man -g root -m 664 timeouts.5 $(DESTDIR)/usr/man/man5
	install -o man -g root -m 664 timeouts $(DESTDIR)/etc

clean:
	rm -f timeoutd dump_wtmp *.o