$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