2020-10-26 17:18:30 -04:00
|
|
|
include ../Makefile.inc
|
|
|
|
|
|
|
|
AF_UNIX_LIB = ../libafunix.a
|
|
|
|
|
|
|
|
all: ${AF_UNIX_LIB}
|
|
|
|
|
2020-12-18 16:51:01 -05:00
|
|
|
${AF_UNIX_LIB}: *.c *.h ename.c.inc
|
2020-10-26 17:18:30 -04:00
|
|
|
${CC} -c ${CFLAGS} *.c
|
|
|
|
${RM} ${AF_UNIX_LIB}
|
|
|
|
${AR} rs ${AF_UNIX_LIB} *.o
|
|
|
|
|
|
|
|
ename.c.inc:
|
|
|
|
sh Build_ename.sh > ename.c.inc
|
|
|
|
echo 1>&2 "ename.c.inc built"
|
|
|
|
|
|
|
|
*.o: af_unix_hdr.h
|
|
|
|
|
|
|
|
error_functions.o: error_functions.h
|
|
|
|
|
|
|
|
scm_functions.o: scm_functions.h
|
|
|
|
|
|
|
|
unix_sockets.o: unix_sockets.h
|
|
|
|
|
2020-11-24 18:56:32 -05:00
|
|
|
inet_sockets.o: inet_sockets.h
|
|
|
|
|
|
|
|
read_line.o: read_line.h
|
|
|
|
|
|
|
|
get_num.o: get_num.h
|
|
|
|
|
2020-10-26 17:18:30 -04:00
|
|
|
clean:
|
|
|
|
${RM} *.o ename.c.inc ${AF_UNIX_LIB}
|