view examples/build_Make.params @ 777:2bcd1b710e09

* include/mibgroup/mibII/itf_helpers.h: * src/mibgroup/mibII/helpers.c: (New) Functions for finding the interface structure for Free and open BSD. * src/mibgroup/mibII/interfaces.c: Use the helper functions and other changes needed for the FreeBSD stack. * src/mibgroup/mibII/ip.c: Ditto * src/mibgroup/mibII/udp.c: Ditto * src/mibgroup/mibII/tcp.c: Ditto * src/mibgroup/mibII/dot3.c: Ditto * cdl/snmpagent.cdl: Removed the requirement for the OpenBSD stack. * doc/snmp.sgml: Removed the documented requirement for the OpenBSD stack
author asl
date Fri, 28 Feb 2003 09:24:31 +0000
parents f44d40e6cdd3
children e68cf4daeda4
line wrap: on
line source

#! /bin/sh

# This script will set up a Makefile fragment with 
# platform specifics.  This fragement can be used by
# the automatically generated Makefile (via the script
# 'build_Makefile')

# Copied from 'makefile' the "install" tree

HOME=${1-`pwd`}
if [ ! -d ${HOME}/install ]; then
  echo "Not an eCos install tree"
  echo "usage: <eCos_repository>/build_Make.params [<eCos_install_dir>]"
  exit
fi

cat <<EOF >Make.params

# Copied from 'makefile' in the "install" tree

EOF

grep export ${HOME}/makefile >>Make.params

cat <<EOF >>Make.params

#
# Target specific flags, etc.
#

EOF

cat ${HOME}/install/include/pkgconf/ecos.mak >>Make.params