# @(#)Makefile 0.0 (Julian Stacey) First ver was 1994 01 06 PROG= xs SRCS= xs.c BINOWN= root BINMODE=6555 NO_MAN=true .if exists( ${HOME}/.xs_uid ) # { # If you are compiling this as root ${HOME} is root where ther is no .xs_uid # so compile it as jhs & only then change to root to install. ROOT_UID != cat ~/.xs_uid # JJLATER Id be better doing a get uid at compile time. CFLAGS +=-DROOT_UID=${ROOT_UID} tst: echo "ROOT_UID=${ROOT_UID} CFLAGS=${CFLAGS}" .endif # } .if exists(Makefile.inc) # To allow a BINDIR of /usr/bin rather than /usr/local/bin, # 'cos Im sick of it going in /usr/local on build hosts that nfs to king, # that hangs on boot if no kbd. # BINDIR doesnt get asserted though - why not ? JJLATER .include "Makefile.inc" xx: echo xx ${BINDIR} yy .endif .include