# FILE: FilesInBuild for PCMCIA NE2000 Ethernet card
# Obtained from NIE2.0 F1C2 build. 9/4/97
# NCT project created on Thursday, November 21, 1996 5:18:52 PM 
#     by Newton C++ Tools 
#PackageofParts

LocalLinkOptions="-dupok -rel "

LocalARMCppOptions="-cfront -W -d hasPCMCIA "

LocalCfronttOptions=" -d hasPCMCIA "

LocalCfrontCOptions="-W -d hasPCMCIA "

LocalCOptions="-d forARM -d hasPCMCIA "

LocalPackerOptions=" -packageid 'ne2k' -copyright 'Copyright (c) 1997 Newton, Inc.'"

LocalLanternIncludes="::Includes:"

# add/change/delete lines like those below for other include files needed by your source files.
-i  "{DDK_Includes-dir}"
-i  "{DDK_Libraries-dir}"
-ic "{DDK_Includes-dir}CLibrary"
-ic "{DDK_Includes-dir}Communications"
-ic "{DDK_Includes-dir}HAL"
-ic "{DDK_Includes-dir}OS600"
-ic "{DDK_Includes-dir}PCMCIA"
-ic "{DDK_Includes-dir}Power"
-ic "{DDK_Includes-dir}Toolbox"
-ic "{DDK_Includes-dir}UtilityClasses"
-ic "{DDK_Includes-dir}Lantern"
-ic "{LocalLanternIncludes}"

-srcdirs ': "{LocalLanternIncludes}"'

# ARMCpp  	will compile files named with the suffix .cp
# ARMCfront	will compile files named with the suffix .cf
# ARM6C   	will compile files named with the suffix .c
# ARM6Asm 	will compile files named with the suffix .a


### Build NE2000 driver protocol

-tpart -protocol -aif "{Objects-dir}NE2000Sample.bin" -autoload -autoRemove

# add lines here with the names of your protocol source files
"NE2000.cp"
"NE2000Prims.a"
-clike "NE2000.impl.h"
-clike "{LocalLanternIncludes}LanternDriverAPI.proto.h"
"{DDK_Libraries-dir}CardGlue.a.o"
"{DDK_Libraries-dir}TraceEvents.h.o"


#### Build other package parts 

# Repeat the -tpart line above for other -protocol parts or -frame parts, etc
# and follow it with source/library file lines to build it
# use a line like this -clike ExampleTool.impl.h for the .impl.h files of a protocol




Makefile


#### Build NE2000 package

# following line defines the final build target name followed by the package name 
#  and any other Packer options you didn't define above in the LocalPackerOptions= definition. 

-tpackage "NE2000Sample.pkg" "NE2000Sample" -version 01
