[5694] in Athena Bugs
ss Imakefile changes for AIX 1.1
daemon@ATHENA.MIT.EDU (John Carr)
Thu Aug 9 11:08:42 1990
To: bugs@ATHENA.MIT.EDU
Cc: dyer@ATHENA.MIT.EDU
Date: Thu, 09 Aug 90 11:08:25 EDT
From: John Carr <jfc@ATHENA.MIT.EDU>
As for et, the pathnames of ranlib and install should really be read
from a global config file; this patch doesn't do that.
*** Imakefile.71R Thu Jul 12 11:57:06 1990
--- Imakefile Tue Jul 31 20:13:00 1990
***************
*** 13,25 ****
--- 13,34 ----
INCDIR=
#ETDIR=../../et/src/
+ RANLIB=ranlib
+ INSTALL=install
+
# flags
#ifdef ultrix
CFLAGS= -O -I. -DPOSIX
#else
+ #ifdef aix
+ CFLAGS= -O -I. -q -DBSD
+ RANLIB=/bin/true
+ INSTALL=/usr/ucb/install
+ #else
CFLAGS= -O -I.
#endif
+ #endif
LINTFLAGS= -uhv -I.
***************
*** 74,89 ****
dist: archives
install:: all
! install -c -s mk_cmds ${DESTDIR}/usr/athena/mk_cmds
! install -c libss.a ${DESTDIR}${ATHLIBDIR}/libss.a
! ranlib ${DESTDIR}${ATHLIBDIR}/libss.a
! install -c libss_p.a ${DESTDIR}${ATHLIBDIR}/libss_p.a
! ranlib ${DESTDIR}${ATHLIBDIR}/libss_p.a
@rm -rf ${DESTDIR}/usr/include/ss
@mkdir ${DESTDIR}/usr/include/ss
cp ss.h ss_err.h ss_internal.h copyright.h ${DESTDIR}/usr/include/ss/
cp copyright.h ${DESTDIR}/usr/include/ss/mit-sipb-copyright.h
! install -c -m 644 llib-lss.ln ${DESTDIR}/usr/lib/lint/llib-lcom_err.ln
tags: TAGS
--- 83,98 ----
dist: archives
install:: all
! $(INSTALL) -c -s mk_cmds ${DESTDIR}/usr/athena/mk_cmds
! $(INSTALL) -c libss.a ${DESTDIR}${ATHLIBDIR}/libss.a
! $(RANLIB) ${DESTDIR}${ATHLIBDIR}/libss.a
! $(INSTALL) -c libss_p.a ${DESTDIR}${ATHLIBDIR}/libss_p.a
! $(RANLIB) ${DESTDIR}${ATHLIBDIR}/libss_p.a
@rm -rf ${DESTDIR}/usr/include/ss
@mkdir ${DESTDIR}/usr/include/ss
cp ss.h ss_err.h ss_internal.h copyright.h ${DESTDIR}/usr/include/ss/
cp copyright.h ${DESTDIR}/usr/include/ss/mit-sipb-copyright.h
! $(INSTALL) -c -m 644 llib-lss.ln ${DESTDIR}/usr/lib/lint/llib-lcom_err.ln
tags: TAGS
***************
*** 95,101 ****
$(CC) $(CFLAGS) -c $*.c
std_rqs.c: mk_cmds std_rqs.ct
! ./mk_cmds $*.ct
ss_err.o ss_err.h : ss_err.et
$(ETDIR)compile_et ss_err.et
--- 104,110 ----
$(CC) $(CFLAGS) -c $*.c
std_rqs.c: mk_cmds std_rqs.ct
! ./mk_cmds std_rqs.ct
ss_err.o ss_err.h : ss_err.et
$(ETDIR)compile_et ss_err.et
***************
*** 113,124 ****
libss.a: $(OBJS)
rm -f $@
ar cruv $@ $(OBJS)
! ranlib $@
libss_p.a: $(OBJS)
rm -f $@
cd profiled;ar cruv ../$@ $(OBJS)
! ranlib $@
libss.o: $(OBJS)
ld -r -s -o $@ $(OBJS)
--- 122,133 ----
libss.a: $(OBJS)
rm -f $@
ar cruv $@ $(OBJS)
! $(RANLIB) $@
libss_p.a: $(OBJS)
rm -f $@
cd profiled;ar cruv ../$@ $(OBJS)
! $(RANLIB) $@
libss.o: $(OBJS)
ld -r -s -o $@ $(OBJS)