mirror of
https://github.com/sheumann/telnetd.git
synced 2024-11-25 05:30:54 +00:00
de9fad8d67
In particular, address a couple instances where GNO's sockets implementation doesn't comply with modern standards. Also, add a few missing prototypes so we can use ORCA/C prototype-checking lint functionality.
17 lines
582 B
Makefile
17 lines
582 B
Makefile
.INCLUDE: Makefile.common
|
|
|
|
# /usr/lib/libtermcap.204 should be the ltermcap from GNO 2.0.4. The one
|
|
# from 2.0.6 is broken (links to unimplemented functions), so don't use it.
|
|
# The 2.0.4 version is in the "lib.shk" file within
|
|
# ftp://ftp.gno.org/pub/apple2/gs.specific/gno/base/v204/gnodisk1.sdk
|
|
LIBS = -l/usr/lib/libtermcap.204 -l/usr/lib/libnetdb
|
|
|
|
CFLAGS = -i -w
|
|
|
|
$(OBJS): $(HEADERS)
|
|
%.o: %.c
|
|
$(CC) $(INCLUDES) \
|
|
$(!eq,$(TELNET_SRCS:s/$<//),$(TELNET_SRCS) $(TELNET_SPECIFIC)) \
|
|
$(!eq,$(TELNETD_SRCS:s/$<//),$(TELNETD_SRCS) $(TELNETD_SPECIFIC)) \
|
|
$(CFLAGS) -c $< -o $@
|