From 8b4184a38a1ff6bb3bbc094b7e6ddceff1fa6756 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Wed, 20 Jan 2010 20:55:10 +0000 Subject: [PATCH] Fix unixsim after moving app files --- ports/unix/proj/unixsim/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/ports/unix/proj/unixsim/Makefile b/ports/unix/proj/unixsim/Makefile index ef3c0f9..8d85c87 100644 --- a/ports/unix/proj/unixsim/Makefile +++ b/ports/unix/proj/unixsim/Makefile @@ -46,7 +46,8 @@ ARFLAGS=rs LWIPDIR=$(CONTRIBDIR)/../lwip/src CFLAGS:=$(CFLAGS) \ - -Iapps -I. \ + -I. -I$(CONTRIBDIR)/apps/httpserver_raw -I$(CONTRIBDIR)/apps/shell \ + -I$(CONTRIBDIR)/apps/tcpecho -I$(CONTRIBDIR)/apps/udpecho \ -I$(LWIPDIR)/include -I$(LWIPARCH)/include -I$(LWIPDIR)/include/ipv4 \ -I$(LWIPDIR) @@ -70,7 +71,7 @@ APIFILES=$(LWIPDIR)/api/api_lib.c $(LWIPDIR)/api/api_msg.c $(LWIPDIR)/api/tcpip. # NETIFFILES: Files implementing various generic network interface functions.' NETIFFILES=$(LWIPDIR)/netif/loopif.c \ - $(LWIPDIR)/netif/etharp.c $(LWIPDIR)/netif/slipif.c + $(LWIPDIR)/netif/etharp.c $(LWIPDIR)/netif/slipif.c # NETIFFILES: Add PPP netif NETIFFILES+=$(LWIPDIR)/netif/ppp/auth.c $(LWIPDIR)/netif/ppp/chap.c \ @@ -85,9 +86,9 @@ NETIFFILES+=$(LWIPDIR)/netif/ppp/auth.c $(LWIPDIR)/netif/ppp/chap.c \ ARCHFILES=$(wildcard $(LWIPARCH)/*.c $(LWIPARCH)/netif/tapif.c $(LWIPARCH)/netif/tunif.c $(LWIPARCH)/netif/unixif.c $(LWIPARCH)/netif/list.c $(LWIPARCH)/netif/tcpdump.c) # APPFILES: Applications. -APPFILES=apps/fs.c apps/httpd.c \ - apps/udpecho.c apps/tcpecho.c \ - apps/shell.c +APPFILES=$(CONTRIBDIR)/apps/httpserver_raw/fs.c $(CONTRIBDIR)/apps/httpserver_raw/httpd.c \ + $(CONTRIBDIR)/apps/udpecho/udpecho.c $(CONTRIBDIR)/apps/tcpecho/tcpecho.c \ + $(CONTRIBDIR)/apps/shell/shell.c # LWIPFILES: All the above. LWIPFILES=$(COREFILES) $(CORE4FILES) $(SNMPFILES) $(APIFILES) $(NETIFFILES) $(ARCHFILES)