aboutsummaryrefslogtreecommitdiff
path: root/clients/net-snk/app/netlib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'clients/net-snk/app/netlib/Makefile')
-rw-r--r--clients/net-snk/app/netlib/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/clients/net-snk/app/netlib/Makefile b/clients/net-snk/app/netlib/Makefile
index b88d06c..5b91470 100644
--- a/clients/net-snk/app/netlib/Makefile
+++ b/clients/net-snk/app/netlib/Makefile
@@ -1,5 +1,5 @@
# *****************************************************************************
-# * Copyright (c) 2004, 2007 IBM Corporation
+# * Copyright (c) 2004, 2008 IBM Corporation
# * All rights reserved.
# * This program and the accompanying materials
# * are made available under the terms of the BSD License
@@ -18,7 +18,18 @@ include $(TOP)/make.rules
CFLAGS += -I../
-OBJS = tftp.o netbase.o arp.o dns.o bootp.o dhcp.o icmp.o
+ifeq ($(SNK_USE_MTFTP), 1)
+CFLAGS += -DUSE_MTFTP
+endif
+
+OBJS = ethernet.o ipv4.o udp.o tcp.o dns.o bootp.o \
+ dhcp.o
+
+ifeq ($(SNK_USE_MTFTP), 1)
+OBJS += mtftp.o
+else
+OBJS += tftp.o
+endif
all: netlib.o