URI: 
       tmkfile - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
       tmkfile (784B)
       ---
            1 <$PLAN9/src/mkhdr
            2 <|sh ../devdraw/mkwsysrules.sh        # for X11
            3 
            4 RIOFILES=\
            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\
           15 
           16 CFLAGS=$CFLAGS -DDEBUG
           17 HFILES=dat.h fns.h
           18 
           19 TARG=rio winwatch xshove
           20 
           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
           27 
           28 <|sh mkriorules.sh
           29 
           30 $O.rio: $RIOFILES
           31 
           32 CFLAGS=$CFLAGS -DSHAPE -DDEBUG_EV -DDEBUG
           33 
           34 $O.xevents: xevents.$O printevent.$O
           35         $LD -o $target $prereq $LDFLAGS
           36 
           37 xevents.$O printevent.$O: printevent.h
           38 
           39 error.$O: showevent/ShowEvent.c
           40 
           41 $O.xshove: xshove.$O
           42         $LD -o $O.xshove xshove.$O -lX11