LIBS = -lregexp ../lib/libdsk.a ../lib/libusp.a -lcom_err -lkrb4 -ldes425 \
	-lkrb5 -lcrypto -lcom_err
LFLAGS = -Lregexp

#define ISUBDIRS regexp

CADDS = -I./regexp

OBJS= dsgrep.o regerror.o

all:: libregexp dsgrep

libregexp:
	cd regexp	; make $(MFLAGS1) all

build_program(dsgrep,$(OBJS),$(LFLAGS),$(LIBS))
install_program(dsgrep,,$(ATHBINDIR))
install_man(dsgrep.1,dsgrep.1)
