blob: dafc80cca5189549a7ab060e59abc7703cc67ef3 (
plain) (
blame)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
--- Makefile.orig Fri Mar 28 01:08:16 2003
+++ Makefile Sun Apr 6 12:31:26 2003
@@ -3,13 +3,13 @@
DESTDIR =
-PREFIX = $(DESTDIR)/usr/local
-DOCDIR = $(PREFIX)/share/doc
+#PREFIX = $(DESTDIR)/usr/local
+#DOCDIR = $(PREFIX)/share/doc
-USE_GDKPIXBUF = 1
-#USE_GDKPIXBUF2 = 1
+#USE_GDKPIXBUF = 1
+USE_GDKPIXBUF2 = 1
-CC = gcc
+#CC = gcc
ifdef USE_GDKPIXBUF
PIXBUF_DEF = -DUSE_GDKPIXBUF
@@ -19,7 +19,7 @@
ifdef USE_GDKPIXBUF2
PIXBUF_DEF = -DUSE_GDKPIXBUF2
-CFLAGS = -O3 -Wall `pkg-config --cflags gdk-pixbuf-xlib-2.0` -I/usr/X11R6/include
+CFLAGS += `pkg-config --cflags gdk-pixbuf-xlib-2.0` -I/usr/X11R6/include
LDFLAGS = `pkg-config --libs gdk-pixbuf-xlib-2.0` -rdynamic -lX11 -lXi -lXext -L/usr/X11R6/lib
endif
@@ -40,10 +40,10 @@
$(RM) *.o $(PRGS)
install : wmdrawer
- $(INSTALL) -m 755 wmdrawer $(PREFIX)/bin
- $(INSTALL) -m 644 doc/wmdrawer.1x.gz $(PREFIX)/man/man1
- $(INSTALL) -d $(DOCDIR)/wmdrawer
- $(INSTALL) -m 644 wmdrawerrc.example AUTHORS ChangeLog COPYING INSTALL README TODO $(DOCDIR)/wmdrawer
+ $(BSD_INSTALL_PROGRAM) -m 755 wmdrawer $(PREFIX)/bin
+ $(BSD_INSTALL_DATA) -m 644 doc/wmdrawer.1x.gz $(PREFIX)/man/man1
+ $(INSTALL) -d $(DOCSDIR)
+ $(BSD_INSTALL_DATA) -m 644 wmdrawerrc.example AUTHORS ChangeLog COPYING INSTALL README TODO $(DOCSDIR)
uninstall: clean
$(RM) $(PREFIX)/bin/wmdrawer
|