UNIXTYPE = 
UNIXVER = 
BSDCOMPAT =
LDFLAGS =
CFLAGS = 
XLIBS = 
BINDIR = 
SYMDIR = 
INCDIR = 
LIBDIR = 
SHELL = 
INSTALL = 
MAKEDEP = 
CC = 

########### above this line are the public (configured) variables;
########### below it are private variables.

DEFS =
INCS = 
SRCS =
OBJS =
LIBS =
BINS =

LOCAL_CFLAGS = $(INCS) $(DEFS)
GLOBAL_CFLAGS = $(CFLAGS) $(UNIXTYPE) $(UNIXVER) $(BSDCOMPAT)
LINK_CFLAGS = $(LDFLAGS) $(XLIBS)

all: 

.c.o:
	-rm -f $*.o
	$(CC) $(LOCAL_CFLAGS) $(GLOBAL_CFLAGS) -c $*.c

depend:
	$(MAKEDEP) $(LOCAL_CFLAGS) $(GLOBAL_CFLAGS) $(SRCS)

clean: 
	-rm -f $(BINS) $(LIBS) $(OBJS) core makelog lintfile *~
	cp Makefile Makefile.bak
	rm -f Makefile
	cat Makefile.bak | awk -f undep.awk > Makefile

install: all
	## do this by hand
	## $(INSTALL) -c -s -m 755 $(BINS) $(DESTDIR)$(BINDIR)

uninstall:
	## ditto
	## -rm -f $(DESTDIR)$(BINDIR)/xxxxxxxxxxx

