# xlock for RT AIX 2.2.1
# Add the -f option for floating point acl support
# or the -f2 option of advanced floating point support
# on the CFLAGS.  Note that the define for sigmask has
# been added to xlock.c manually.
# Final exec should be chmod 7750 and chown root to 
# get passwd access through /etc/security

SHELL = /bin/sh

# for debugging output
DEBUG = -DDEBUG

# to disallow shell escapes
#NOSHELL = -DNOSHELL

CC = cc
CFLAGS = -O -f2 -DBSD_INCLUDES
LDFLAGS = -lm -L/usr/site/X11R4/lib -lX11 
DEST = xlock

OBJS = xlock.o hsbramp.o usleep.o resource.o \
     hopalong.o qix.o life.o image.o blank.o swarm.o
 

xlock: $(OBJS)
	$(CC) $(CFLAGS) $(OBJS) $(LDFLAGS) -o $(DEST)

$(OBJS): 
