| 1 |
# |
| 2 |
CC=cl |
| 3 |
DEFINES=-DDOS -D__MSC__ -DHAVE_IO_H -DHAVE_DOS_H -DIBMTCPIPDOS -DVOID_SLEEP -DHAVE_ARPA_INET_H -DHAVE_STDARG_H -DPROTOTYPES=1 -DHTTPS -DNTLM |
| 4 |
CFLAGS=$(DEFINES) /AL /G2 /W3 /c /nologo |
| 5 |
LFLAGS=/AL /F 8000 /nologo |
| 6 |
|
| 7 |
SRCS=binkd.c readcfg.c tools.c ftnaddr.c ftnq.c client.c server.c protocol.c bsy.c inbound.c breaksig.c branch.c ftndom.c ftnnode.c dos\getfree.c srif.c pmatch.c readflo.c prothlp.c iptools.c rfc2553.c run.c binlog.c exitproc.c getw.c dos\tcperr.c dos\dirent.c dos\sleep.c xalloc.c setpttl.c md5b.c crypt.c getopt.c snprintf.c https.c ntlm\des_enc.c ntlm\helpers.c ntlm\ecb_enc.c ntlm\md4_dgst.c ntlm\set_key.c |
| 8 |
OBJS=$(SRCS:.c=.obj) |
| 9 |
LIBS=/link /bat /inf socketl.lib |
| 10 |
|
| 11 |
all: binkd.exe |
| 12 |
|
| 13 |
.c.obj: |
| 14 |
@set CL=$(CFLAGS) |
| 15 |
$(CC) /Fo$*.obj $*.c |
| 16 |
|
| 17 |
binkd.exe: $(OBJS) |
| 18 |
$(CC) $(LFLAGS) /Febinkd.exe *.obj dos\*.obj ntlm\*.obj $(LIBS) |
| 19 |
|
| 20 |
install: all clean |
| 21 |
|
| 22 |
clean: |
| 23 |
-del dos\*.obj >nul |
| 24 |
-del *.obj >nul |
| 25 |
|
| 26 |
#include Makefile.dep |