Blob


1 <$PLAN9/src/mkhdr
2 <|sh $PLAN9/src/libdraw/mkwsysrules.sh # for X11
4 OFILES=\
5 client.$O\
6 color.$O\
7 cursor.$O\
8 error.$O\
9 event.$O\
10 grab.$O\
11 key.$O\
12 main.$O\
13 manage.$O\
14 menu.$O\
16 CFLAGS=$CFLAGS -DDEBUG
17 HFILES=dat.h fns.h
19 TARG=rio
21 # need to add lib64 when it exists (on x86-64), but
22 # Darwin complains about the nonexistant directory
23 # Bug in mk? "$L64 -lXext" gobbles the space, so
24 # add trailing slash.
25 L64=`[ -d $X11/lib64 ] && echo 64; echo`
26 LDFLAGS=-L$X11/lib$L64/ -lXext -lX11
28 <$PLAN9/src/mkone
30 CFLAGS=$CFLAGS -DSHAPE
32 $O.xevents: xevents.$O printevent.$O
33 $LD -o $target $prereq $LDFLAGS
35 xevents.$O printevent.$O: printevent.h