From a795e727e54ef82d1eda0b85ccf4f3b7651adaa6 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Thu, 2 Jun 1994 16:19:34 +0000 Subject: [PATCH] Add support for NeXt's (don't include setenv) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3659 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/bsd/Imakefile | 36 ++++++++++++++++++++++++++---------- 1 file changed, 26 insertions(+), 10 deletions(-) diff --git a/src/appl/bsd/Imakefile b/src/appl/bsd/Imakefile index 2a320ef26..180aa1dcd 100644 --- a/src/appl/bsd/Imakefile +++ b/src/appl/bsd/Imakefile @@ -34,13 +34,29 @@ K4LIB = DEFINES = $(APPL_BSD_DEF) -DKERBEROS #ifdef CrayArchitecture -LOCAL_LIBRARIES = $(KLIB) -lshare -lm -lrsc +LOCAL_LIBRARIES = -lshare -lm -lrsc +#endif + +#ifdef AIXArchitecture +LOCAL_LIBRARIES = -ls -lcfg +#endif + + +LIBRARIES= $(KLIB) $(LOCAL_LIBRARIES) + +# XXX This should be something like HasSetenv instead.... +#if defined(NeXTArchitecture) +SETENVSRC= +SETENVOBJ= #else -LOCAL_LIBRARIES = $(KLIB) +SETENVSRC= setenv.c +SETENVOBJ= setenv.o #endif -CLIENTSRCS= krcp.c krlogin.c krsh.c kcmd.c forward.c logutil.c setenv.c login.c -CLIENTOBJS= krcp.o krlogin.o krsh.o kcmd.o forward.c logutil.o setenv.o login.o +CLIENTSRCS= krcp.c krlogin.c krsh.c kcmd.c forward.c logutil.c $(SETENVSRC) \ + login.c +CLIENTOBJS= krcp.o krlogin.o krsh.o kcmd.o forward.c logutil.o $(SETENVOBJ) \ + login.o #ifdef CrayArchitecture SERVERSRCS= krshd.c @@ -58,23 +74,23 @@ all:: rsh rcp rlogin krshd all:: rsh rcp rlogin krshd krlogind login.krb5 #endif -NormalProgramTarget(rsh,krsh.o kcmd.o forward.o,$(DEPLIBS),$(LOCAL_LIBRARIES),) +NormalProgramTarget(rsh,krsh.o kcmd.o forward.o,$(DEPLIBS),$(LIBRARIES),) Krb5InstallClientProgram(rsh) -NormalProgramTarget(rcp,krcp.o kcmd.o forward.o,$(DEPLIBS),$(LOCAL_LIBRARIES),) +NormalProgramTarget(rcp,krcp.o kcmd.o forward.o,$(DEPLIBS),$(LIBRARIES),) Krb5InstallClientProgram(rcp) -NormalProgramTarget(rlogin,krlogin.o kcmd.o forward.o,$(DEPLIBS),$(LOCAL_LIBRARIES),) +NormalProgramTarget(rlogin,krlogin.o kcmd.o forward.o,$(DEPLIBS),$(LIBRARIES),) Krb5InstallClientProgram(rlogin) -NormalProgramTarget(krshd,krshd.o kcmd.o logutil.o forward.o,$(DEPLIBS),$(LOCAL_LIBRARIES),$(K4LIB)) +NormalProgramTarget(krshd,krshd.o kcmd.o logutil.o forward.o,$(DEPLIBS),$(LIBRARIES),$(K4LIB)) Krb5InstallServerProgram(krshd) #ifndef CrayArchitecture -NormalProgramTarget(krlogind,krlogind.o logutil.o kcmd.o forward.o,$(DEPLIBS),$(LOCAL_LIBRARIES),$(K4LIB)) +NormalProgramTarget(krlogind,krlogind.o logutil.o kcmd.o forward.o,$(DEPLIBS),$(LIBRARIES),$(K4LIB)) Krb5InstallServerProgram(krlogind) -NormalProgramTarget(login.krb5,login.o logutil.o setenv.o,$(DEPLIBS),$(LOCAL_LIBRARIES),) +NormalProgramTarget(login.krb5,login.o logutil.o $(SETENVOBJ),$(DEPLIBS),$(LIBRARIES),) InstallProgram(login.krb5,$(SERVER_BINDIR)) #endif -- 2.26.2