bc6a93650e
utility to automatically adjust the sysctl(3) hw.setperf value depending on current processor usage
26 lines
718 B
Plaintext
26 lines
718 B
Plaintext
$OpenBSD: patch-Makefile,v 1.1.1.1 2005/09/14 16:01:22 jcs Exp $
|
|
--- Makefile.orig Thu Jul 14 14:43:11 2005
|
|
+++ Makefile Wed Sep 14 10:40:17 2005
|
|
@@ -1,11 +1,11 @@
|
|
-CFLAGS=-Wall
|
|
+CFLAGS+=-Wall
|
|
OBJECT_FILES = perfd.o
|
|
|
|
|
|
all: perfd perfd.cat0
|
|
|
|
perfd: ${OBJECT_FILES}
|
|
- gcc -lm -o perfd ${OBJECT_FILES}
|
|
+ ${CC} -lm -o perfd ${OBJECT_FILES}
|
|
|
|
perfd.cat0: perfd.1
|
|
nroff -mandoc perfd.1 > perfd.cat1
|
|
@@ -14,5 +14,5 @@ clean:
|
|
rm -f perfd ${OBJECT_FILES} perfd.cat0
|
|
|
|
install: all
|
|
- install -g bin -o root perfd /usr/local/sbin
|
|
- install -g bin -o root -m 444 perfd.cat1 /usr/local/man/cat1/perfd.0
|
|
+ install -g bin -o root perfd ${PREFIX}/sbin
|
|
+ install -g bin -o root -m 444 perfd.cat1 ${PREFIX}/man/cat1/perfd.0
|