Commit 55a17894 authored by Neil Turton's avatar Neil Turton
Browse files

Modified to export just resources when TYPE=NetUtils

parent 96515edd
......@@ -31,6 +31,7 @@ RDIR = Resources
LDIR = ${RDIR}.${LOCALE}
SDIR = Sources
INSTDIR = ${INSTDIR}.${APP}
RESD = ${RESDIR}.Internet.bin
# Generic options:
#
......@@ -73,6 +74,18 @@ FILES=\
${SDIR}.utils.utl.ReadCMOSIP\
${SDIR}.utils.utl.TriggerCBs
NETUTILS = \
${SDIR}.arp.ARP \
${SDIR}.ifconfig.IfConfig \
${SDIR}.inetstat.InetStat \
${SDIR}.ping.Ping \
${SDIR}.pong.Pong \
${SDIR}.utils.utl.RMFind \
${SDIR}.route.Route \
${SDIR}.sysctl.SysCtl \
${SDIR}.traceroute.TraceRoute\
${SDIR}.utils.utl.X
#
# Main rules:
#
......@@ -117,6 +130,26 @@ clean:
up
@echo ${COMPONENT}: cleaned
resources: resources-${TYPE}
resources-:
@echo ${COMPONENT}: No resource files to copy
resources-NetUtils: ${NETUTILS}
${MKDIR} ${RESDIR}.Internet
${MKDIR} ${RESD}
${MKDIR} ${RESD}.bin
${CP} ${SDIR}.arp.ARP ${RESD}.bin.ARP ${CPFLAGS}
${CP} ${SDIR}.ifconfig.IfConfig ${RESD}.bin.IfConfig ${CPFLAGS}
${CP} ${SDIR}.inetstat.InetStat ${RESD}.bin.InetStat ${CPFLAGS}
${CP} ${SDIR}.ping.Ping ${RESD}.bin.Ping ${CPFLAGS}
${CP} ${SDIR}.pong.Pong ${RESD}.bin.Pong ${CPFLAGS}
${CP} ${SDIR}.utils.utl.RMFind ${RESD}.bin.RMFind ${CPFLAGS}
${CP} ${SDIR}.route.Route ${RESD}.bin.Route ${CPFLAGS}
${CP} ${SDIR}.sysctl.SysCtl ${RESD}.bin.SysCtl ${CPFLAGS}
${CP} ${SDIR}.traceroute.TraceRoute ${RESD}.bin.TraceRoute ${CPFLAGS}
${CP} ${SDIR}.utils.utl.X ${RESD}.bin.X ${CPFLAGS}
${SDIR}.arp.ARP: ${SDIR}.arp.c.ARP
dir ${SDIR}.arp
@amu_machine
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment