blob: f731a71a2b7905af2fef7f639906526d6dd99345 (
plain)
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
|
$NetBSD: patch-aa,v 1.5 2002/08/25 21:52:49 jlam Exp $
--- Makefile.orig Sun Aug 29 20:38:35 1999
+++ Makefile
@@ -1,19 +1,18 @@
-PREFIX = /usr/local
+#PREFIX = /usr/local
-CFLAGS = `get-wraster-flags --cflags` -Wall
-LDFLAGS = `get-wraster-flags --ldflags`
-LIBS = `get-wraster-flags --libs`
-CC = gcc
+CFLAGS += `get-wraster-flags --cflags` -Wall
+LDFLAGS += `get-wraster-flags --ldflags`
+LIBS += `get-wraster-flags --libs`
+#CC = gcc
all: wmessage
wmessage: wmessage.o panel.o
$(CC) -o wmessage wmessage.o panel.o \
- $(CFLAGS) $(LDFLAGS) $(LIBS) -lWMaker -lWINGs -lPropList
- strip wmessage
+ $(CFLAGS) $(LDFLAGS) $(LIBS) -lWMaker -lWINGs
install: wmessage
- install -c wmessage $(PREFIX)/bin/wmessage
+ ${BSD_INSTALL_PROGRAM} wmessage $(PREFIX)/bin/wmessage
uninstall:
rm -f $(PREFIX)/bin/wmessage
|