[10586] in Athena Bugs

home help back first fref pref prev next nref lref last post

athena/athena.lib/kerberos/util/imake.includes/config.Imakefile

daemon@ATHENA.MIT.EDU (brlewis@Athena.MIT.EDU)
Fri Jun 25 11:37:27 1993

From: brlewis@Athena.MIT.EDU
Date: Fri, 25 Jun 93 11:37:20 -0400
To: rel-eng@Athena.MIT.EDU, bugs@Athena.MIT.EDU

The -Dapollo part might not be 100% correct, but most things run
fine compiled this way.

It's very important that TKT_SHMEM be defined, because the machines on
which the HP mini port will be running share a common /tmp for a
cluster.  Root access on any of them implies being able to read ticket
files for people using other workstations.

I didn't try hard to get the compiler flags right; I don't have the real
HP compiler yet.

*** /tmp/,RCSt1a18411	Fri Jun 25 11:32:33 1993
--- athena/athena.lib/kerberos/util/imake.includes/config.Imakefile	Wed Jun 16 17:37:23 1993
***************
*** 67,72 ****
--- 67,75 ----
  #if defined(sun) && !defined(SOLARIS)
  OSFLAGS= -DBSD42 -DVFS -DSunOS=41
  #endif
+ #if defined(hpux)
+ OSFLAGS= -DBSD42 -DVFS -DPOSIX -DNOTTYENT -Dapollo
+ #endif /* hpux */
  OSDEFS= $(OSFLAGS) $(DBMFLAG) $(SHMFLAG) $(TIMEHFLAG)
  
  
***************
*** 216,222 ****
   * Define NEED_SETENV if you don't have setenv() in your libc.
   * (likely for older 4.3 systems and pre-4.3 systems)
   */
! #if defined(_AIX) || defined(_AUX_SOURCE) || defined(sun)
  #define NEED_SETENV
  #endif
  
--- 219,225 ----
   * Define NEED_SETENV if you don't have setenv() in your libc.
   * (likely for older 4.3 systems and pre-4.3 systems)
   */
! #if defined(_AIX) || defined(_AUX_SOURCE) || defined(sun) || defined(hpux)
  #define NEED_SETENV
  #endif
  
***************
*** 237,243 ****
   * Define TKT_SHMEM if you want to use shared memory for the session
   * keys in your ticket caches.
   */
! #if defined(_AIX)
  #define TKT_SHMEM
  #endif
  
--- 240,246 ----
   * Define TKT_SHMEM if you want to use shared memory for the session
   * keys in your ticket caches.
   */
! #if defined(_AIX) || defined(hpux)
  #define TKT_SHMEM
  #endif
  
***************
*** 246,252 ****
   * Many SYS V derivatives require this, but BSD does not allow this multiple
   * inclusion.
   */
! #if defined(_AIX) || defined(_AUX_SOURCE)
  #define NEED_TIME_H
  #endif
  
--- 249,255 ----
   * Many SYS V derivatives require this, but BSD does not allow this multiple
   * inclusion.
   */
! #if defined(_AIX) || defined(_AUX_SOURCE) || defined(hpux)
  #define NEED_TIME_H
  #endif
  
***************
*** 372,380 ****
  #if (defined(vax) && !defined(ultrix)) || defined(ibm032) || defined(sun)
  #define PROF_FLAG -pg
  #else
  #define PROF_FLAG -p
  #endif
!  
  /*
   * The name of a command which builds an object library.
   */
--- 375,387 ----
  #if (defined(vax) && !defined(ultrix)) || defined(ibm032) || defined(sun)
  #define PROF_FLAG -pg
  #else
+ #if defined(hpux)
+ #define PROF_FLAG -G
+ #else
  #define PROF_FLAG -p
+ #endif /* hpux */
  #endif
! 
  /*
   * The name of a command which builds an object library.
   */
***************
*** 460,465 ****
--- 467,476 ----
  CCRO= $(CC)
  OSLIBS= /usr/athena/lib/libresolv.a -lsocket -lnsl -lc /usr/ucblib/libucb.a -lelf
  RANLIB=\:
+ #endif
+ 
+ #if defined(hpux)
+ OSLIBS=-L/usr/athena/lib -lbsd
  #endif
  
  #ifdef vax /*XXX*/

home help back first fref pref prev next nref lref last post