From 0b140bdec4f1c7077f30cf98e71f099c0cf1a00d Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Wed, 11 Apr 2007 00:32:31 +0000 Subject: [PATCH] Integrated WinPcap driver into platform/win32 Cygwin build. --- platform/win32/Makefile.win32 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/platform/win32/Makefile.win32 b/platform/win32/Makefile.win32 index f04c80201..41bda589b 100644 --- a/platform/win32/Makefile.win32 +++ b/platform/win32/Makefile.win32 @@ -2,12 +2,15 @@ ifndef CONTIKI ${error CONTIKI not defined! You must specify where CONTIKI resides!} endif +TARGET_LIBFILES = /lib/w32api/libws2_32.a /lib/w32api/libiphlpapi.a + CONTIKI_TARGET_DIRS = . cfs ctk loader CONTIKI_TARGET_MAIN = ${addprefix $(OBJECTDIR)/,contiki-main.o} CONTIKI_TARGET_SOURCEFILES = contiki-main.c cfs-win32.c ctk-console.c dll-loader.c -CONTIKI_SOURCEFILES += $(CTK) ctk-conio-service.c ctk-draw.c $(CONTIKI_TARGET_SOURCEFILES) +CONTIKI_SOURCEFILES += $(CTK) ctk-conio-service.c ctk-draw.c wpcap.c wpcap-service.c \ + $(CONTIKI_TARGET_SOURCEFILES) .SUFFIXES: @@ -29,7 +32,7 @@ endef ${foreach PRG,$(PRGS),${eval ${call PRG_TEMPLATE,$(PRG),${call APPNAME,$(PRG)}}}} ${foreach DSC,$(DSCS),${eval ${call DSC_TEMPLATE,$(DSC),${call APPNAME,$(DSC)}}}} -### Generic module-compile and -link rule, no prerequisites here! +### Generic module-compile and -link rules, no prerequisites here ### (The *.d files contain the full module-compile prerequisites) ${sort ${foreach PRG,$(PRGS), ${addprefix $(OBJECTDIR)/, \ $(${call APPNAME,$(PRG)_src:.c=.o})}}}: