From f9353caea700e9db092942408f1ad93036f8f895 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Thu, 14 Nov 1996 03:20:59 +0000 Subject: [PATCH] New program `otpprint' git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@954 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/otp/Makefile.in | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/appl/otp/Makefile.in b/appl/otp/Makefile.in index 3a5c4b993..6c4cee1d6 100644 --- a/appl/otp/Makefile.in +++ b/appl/otp/Makefile.in @@ -3,12 +3,10 @@ SHELL = /bin/sh srcdir = @srcdir@ +top_srcdir = @top_srcdir@ VPATH = @srcdir@ -topdir = ../.. - CC = @CC@ -AR = ar RANLIB = @RANLIB@ DEFS = @DEFS@ CFLAGS = @CFLAGS@ @@ -23,22 +21,21 @@ libdir = $(exec_prefix)/lib libexecdir = $(exec_prefix)/libexec bindir = $(exec_prefix)/bin -PROG_BIN = otp +PROG_BIN = otp otpprint PROG_LIBEXEC = PROGS = $(PROG_BIN) $(PROG_LIBEXEC) SOURCES_OTP = otp.c +SOURCES_OTPPRINT = otpprint.c OBJECTS_OTP = otp.o +OBJECTS_OTPPRINT = otpprint.o -OBJECTS = $(OBJECTS_OTP) -SOURCES = $(SOURCES_OTP) +OBJECTS = $(OBJECTS_OTP) $(OBJECTS_OTPPRINT) +SOURCES = $(SOURCES_OTP) $(SOURCES_OTPPRINT) all: $(PROGS) -Wall: - make CFLAGS="-g -Wall -Wmissing-prototypes -Wmissing-declarations -D__USE_FIXED_PROTOTYPES__" - .c.o: $(CC) -c $(CPPFLAGS) $(DEFS) -I../.. -I../../include -I$(srcdir) $(CFLAGS) $< @@ -69,4 +66,7 @@ OLIB=-L../../lib/otp -lotp -L../../lib/des -ldes -L../../lib/roken -lroken otp: $(OBJECTS_OTP) $(CC) $(LD_FLAGS) $(LDFLAGS) -o $@ $(OBJECTS_OTP) $(OLIB) $(LIBS) +otpprint: $(OBJECTS_OTPPRINT) + $(CC) $(LD_FLAGS) $(LDFLAGS) -o $@ $(OBJECTS_OTPPRINT) $(OLIB) $(LIBS) + $(OBJECTS): ../../config.h