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