telnetd/Makefile.mk
Stephen Heumann de9fad8d67 More small changes for GNO and ORCA/C compatibility.
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.
2015-05-31 19:52:28 -05:00

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 $@