f45302e632
Problem noted by Mark White <mark.white@st-edmund-hall.oxford.ac.uk> on tech-pkg.
33 lines
806 B
Text
33 lines
806 B
Text
$NetBSD: patch-aq,v 1.2 2001/03/26 22:51:39 skrll Exp $
|
|
|
|
--- tools/clock/makefile.src.orig Fri Jun 7 16:56:38 1991
|
|
+++ tools/clock/makefile.src
|
|
@@ -1,12 +1,17 @@
|
|
# Makefile for rleClock
|
|
|
|
-default: install
|
|
+#set DEST TOOLS_DEST Where to install the tools
|
|
+DEST = ../../bin
|
|
|
|
-install: rleClock
|
|
- mv rleClock ../rleClock.out
|
|
+PGMS = rleClock.out
|
|
|
|
-rleClock:rleClock.o font.o
|
|
- ${CC} ${CFLAGS} rleClock.o font.o -lm ${LIBS} -o rleClock
|
|
+default: $(PGMS)
|
|
+
|
|
+install: $(PGMS) install-pgm
|
|
+ touch install
|
|
+
|
|
+rleClock.out:rleClock.o font.o
|
|
+ ${LIBTOOL} --mode=link ${CC} ${CFLAGS} rleClock.o font.o -o rleClock.out ../../lib/librle.la -lm
|
|
|
|
font.c:font.src makeFont
|
|
chmod +x makeFont
|
|
@@ -23,3 +28,5 @@
|
|
|
|
# Dependencies.
|
|
rleClock.o font.o:$(RI)/rle_config.h
|
|
+# Description file for rle tool programs.
|
|
+
|