58692205e8
This WindowMaker Dockapp is designed to be very general purposed. It is capable to display any kind of information as long as it's in text-format.
34 lines
898 B
Plaintext
34 lines
898 B
Plaintext
$OpenBSD: patch-wminfo_Makefile,v 1.1.1.1 2001/02/01 16:14:22 wilfried Exp $
|
|
--- wminfo/Makefile.orig Tue Jul 25 10:40:30 2000
|
|
+++ wminfo/Makefile Thu Feb 1 16:41:25 2001
|
|
@@ -1,16 +1,16 @@
|
|
-LIBDIR = -L/usr/X11R6/lib
|
|
+CFLAGS+= -I${X11BASE}/include
|
|
+LIBDIR = -L${X11BASE}/lib
|
|
LIBS = -lXpm -lXext -lX11
|
|
-FLAGS = -O2
|
|
OBJS = wminfo.o \
|
|
../wmgeneral/wmgeneral.o \
|
|
../wmgeneral/misc.o \
|
|
../wmgeneral/list.o
|
|
|
|
.c.o:
|
|
- cc -I/usr/X11R6/share/include $(FLAGS) -c -Wall $< -o $*.o
|
|
+ ${CC} ${CFLAGS} -c $< -o $@
|
|
|
|
wminfo: $(OBJS)
|
|
- cc $(FLAGS) -o wminfo $^ -lXext $(LIBDIR) $(LIBS)
|
|
+ cc -o wminfo ${OBJS} $(LIBDIR) $(LIBS)
|
|
|
|
all:: wminfo
|
|
|
|
@@ -23,7 +23,4 @@ clean::
|
|
rm -f core
|
|
|
|
install:: wminfo
|
|
- cp -f wminfo /usr/local/bin/
|
|
- chmod 755 /usr/local/bin/wminfo
|
|
- chown root:root /usr/local/bin/wminfo
|
|
- echo "wmInfo installed in /usr/local/bin"
|
|
+ $(BSD_INSTALL_PROGRAM) wminfo $(PREFIX)/bin
|