From e0c54c119f3144474c150fa436ff35008af05703 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sun, 9 Nov 1997 09:04:09 +0000 Subject: [PATCH] cond otp. and use top_builddir git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3874 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/ftp/ftp/Makefile.in | 8 ++++---- appl/ftp/ftpd/Makefile.in | 4 ++-- appl/popper/Makefile.in | 4 +++- appl/telnet/telnetd/Makefile.in | 2 +- appl/xnlock/Makefile.in | 2 +- 5 files changed, 11 insertions(+), 9 deletions(-) diff --git a/appl/ftp/ftp/Makefile.in b/appl/ftp/ftp/Makefile.in index 0f74cff0f..994f28efb 100644 --- a/appl/ftp/ftp/Makefile.in +++ b/appl/ftp/ftp/Makefile.in @@ -8,13 +8,13 @@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ -topdir = ../../.. +top_builddir = ../../.. CC = @CC@ RANLIB = @RANLIB@ DEFS = @DEFS@ CFLAGS = @CFLAGS@ -CPPFLAGS= @CPPFLAGS@ -I. -I$(srcdir) -I$(topdir) -I$(top_srcdir) -I$(topdir)/include -I$(top_srcdir)/include -I$(srcdir)/../common @INCLUDE_readline@ +CPPFLAGS= @CPPFLAGS@ -I. -I$(srcdir) -I$(top_builddir) -I$(top_srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include -I$(srcdir)/../common @INCLUDE_readline@ LD_FLAGS = @LD_FLAGS@ LIB_tgetent = @LIB_tgetent@ LIBS = @LIBS@ @LIB_readline@ @@ -30,9 +30,9 @@ libdir = @libdir@ transform=@program_transform_name@ EXECSUFFIX=@EXECSUFFIX@ -INCTOP = $(topdir)/include +INCTOP = $(top_builddir)/include -LIBTOP = $(topdir)/lib +LIBTOP = $(top_builddir)/lib PROGS = ftp$(EXECSUFFIX) diff --git a/appl/ftp/ftpd/Makefile.in b/appl/ftp/ftpd/Makefile.in index 91c8596e3..ce6cf86ba 100644 --- a/appl/ftp/ftpd/Makefile.in +++ b/appl/ftp/ftpd/Makefile.in @@ -6,7 +6,7 @@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ -topdir = ../../.. +top_builddir = ../../.. SHELL = /bin/sh @@ -39,7 +39,7 @@ LIBTOP = $(ATHENA)/lib LIBKAFS = @KRB_KAFS_LIB@ LIBKRB = -L$(LIBTOP)/krb -lkrb LIBDES = -L$(LIBTOP)/des -ldes -LIBOTP = -L$(LIBTOP)/otp -lotp +LIBOTP = @LIB_otp@ LIBROKEN= -L$(LIBTOP)/roken -lroken PROGS = ftpd$(EXECSUFFIX) diff --git a/appl/popper/Makefile.in b/appl/popper/Makefile.in index b8d695018..4b564c516 100644 --- a/appl/popper/Makefile.in +++ b/appl/popper/Makefile.in @@ -5,6 +5,8 @@ SHELL = /bin/sh srcdir = @srcdir@ VPATH = @srcdir@ +top_builddir = ../.. + CC = @CC@ AR = ar RANLIB = @RANLIB@ @@ -97,7 +99,7 @@ dist: $(DISTFILES) KLIB=-L../../lib/krb -lkrb -L../../lib/des -ldes LIBROKEN=-L../../lib/roken -lroken -OTPLIB=-L../../lib/otp -lotp +OTPLIB=@LIB_otp@ popper$(EXECSUFFIX): $(POPPER_OBJECTS) $(CC) $(LD_FLAGS) $(LDFLAGS) -o $@ $(POPPER_OBJECTS) $(OTPLIB) $(KLIB) $(LIBROKEN) $(LIB_DBM) $(LIBS) $(LIBROKEN) diff --git a/appl/telnet/telnetd/Makefile.in b/appl/telnet/telnetd/Makefile.in index d3cb7d5a4..f249e6b14 100644 --- a/appl/telnet/telnetd/Makefile.in +++ b/appl/telnet/telnetd/Makefile.in @@ -4,7 +4,7 @@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ -topdir = ../../.. +top_builddir = ../../.. SHELL = /bin/sh diff --git a/appl/xnlock/Makefile.in b/appl/xnlock/Makefile.in index 2ae37f524..d49fbc0e5 100644 --- a/appl/xnlock/Makefile.in +++ b/appl/xnlock/Makefile.in @@ -5,7 +5,7 @@ SHELL = /bin/sh srcdir = @srcdir@ VPATH = @srcdir@ -topdir = ../.. +top_builddir = ../.. XINCS = @X_CFLAGS@ XLIBS = @X_LIBS@ -lXt @X_PRE_LIBS@ -lX11 @X_EXTRA_LIBS@