From 2e7e0ff21d7e4a890a0bb580994e1af6abf9271f Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sun, 17 Nov 1996 07:10:29 +0000 Subject: [PATCH] add otptest git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1014 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/otp/Makefile.in | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/lib/otp/Makefile.in b/lib/otp/Makefile.in index 2889e7f68..a40f7f8a3 100644 --- a/lib/otp/Makefile.in +++ b/lib/otp/Makefile.in @@ -28,6 +28,7 @@ LIBEXT = @LIBEXT@ SHLIBEXT = @SHLIBEXT@ SHARED = @SHARED@ LIB = $(LIBNAME).$(LIBEXT) +PROGS = otptest SOURCES = otp.c otp_challenge.c otp_db.c otp_md.c \ otp_parse.c otp_print.c otp_verify.c @@ -35,7 +36,7 @@ SOURCES = otp.c otp_challenge.c otp_db.c otp_md.c \ OBJECTS = otp.o otp_challenge.o otp_db.o otp_md.o \ otp_parse.o otp_print.o otp_verify.o -all: $(LIB) +all: $(LIB) $(PROGS) Wall: make CFLAGS="-g -Wall -Wno-comment -Wmissing-prototypes -Wmissing-declarations -D__USE_FIXED_PROTOTYPES__" @@ -52,10 +53,11 @@ uninstall: TAGS: $(SOURCES) etags $(SOURCES) -check: +check: otptest + ./otptest clean: - rm -f $(LIB) *.o *.a + rm -f $(LIB) $(PROGS) *.o *.a mostlyclean: clean @@ -65,6 +67,9 @@ distclean: clean realclean: distclean rm -f TAGS +otptest: otptest.o all + $(CC) $(LD_FLAGS) $(LDFLAGS) -o $@ otptest.o -L. -lotp -L../des -ldes + $(LIBNAME).a: $(OBJECTS) rm -f $@ $(AR) cr $@ $(OBJECTS)