[ek]/C_failed.c removed. Now called failed.c
This commit is contained in:
parent
dce90d9491
commit
a7cb540ae3
|
@ -3,7 +3,7 @@ INSTALL = $(EMHOME)/modules/install
|
|||
COMPARE = $(EMHOME)/modules/compare
|
||||
|
||||
all: libeme.a libemk.a em_code.3
|
||||
rm -f *.c
|
||||
rm -f C_*.c
|
||||
|
||||
install: all
|
||||
$(INSTALL) lib/libeme.a
|
||||
|
@ -19,11 +19,11 @@ em_code.3: em_code.3X
|
|||
-sh -c 'tbl < em_code.3X > em_code.3'
|
||||
-sh -c 'if test -s em_code.3 ; then : ; else cp em_code.3X em_code.3 ; fi '
|
||||
|
||||
libeme.a: make.sh e/em_private.h e/em.c e/C_failed.c
|
||||
libeme.a: make.sh e/em_private.h e/em.c failed.c
|
||||
EMHOME=$(EMHOME); export EMHOME; sh make.sh e
|
||||
-sh -c 'ranlib libeme.a'
|
||||
|
||||
libemk.a: make.sh k/em_private.h k/em.c k/C_failed.c
|
||||
libemk.a: make.sh k/em_private.h k/em.c failed.c
|
||||
EMHOME=$(EMHOME); export EMHOME; sh make.sh k
|
||||
-sh -c 'ranlib libemk.a'
|
||||
|
||||
|
@ -43,5 +43,10 @@ opr:
|
|||
# becomes too long for some systems
|
||||
clean:
|
||||
rm -f *.o
|
||||
rm -f *.c
|
||||
rm -f C_*.c
|
||||
rm -f *.a em_code.3 em.gen make.sh
|
||||
|
||||
lintlib: make.sh
|
||||
lint -I../../h -I../../../h -Ie -Ceme *.c e/*.c
|
||||
lint -I../../h -I../../../h -Ik -Cemk *.c k/*.c
|
||||
mv llib-leme.ln llib-lemk.ln $(EMHOME)/modules/lib
|
||||
|
|
12
modules/src/em_code/failed.c
Normal file
12
modules/src/em_code/failed.c
Normal file
|
@ -0,0 +1,12 @@
|
|||
/* $Header$ */
|
||||
/*
|
||||
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
||||
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
||||
*/
|
||||
#include <system.h>
|
||||
|
||||
C_failed()
|
||||
{
|
||||
sys_write(STDERR,"write failed\n",13);
|
||||
sys_stop(S_EXIT);
|
||||
}
|
|
@ -42,10 +42,10 @@ rm -f *.o
|
|||
$a
|
||||
rm -f libem$1.a
|
||||
ar rc libem$1.a *.o
|
||||
cc -c -O -I$1 -I$EMHOME/modules/h -I$EMHOME/h $1/em.c
|
||||
cc -c -O -I$1 -I$EMHOME/modules/h -I$EMHOME/h $1/C_failed.c
|
||||
cc -c -O -I$1 -I. -I$EMHOME/modules/h -I$EMHOME/h $1/em.c
|
||||
cc -c -O -I$EMHOME/modules/h -I$EMHOME/h failed.c
|
||||
mv em.o em$1.o
|
||||
ar r libem$1.a em$1.o C_failed.o
|
||||
ar r libem$1.a em$1.o failed.o
|
||||
rm -f *.o
|
||||
--EOF--
|
||||
.
|
||||
|
|
Loading…
Reference in a new issue