(file) Return to Make.conf CVS log (file) Jump to this file's LXR Page (dir) Up to [CENS] / emstar

File: [CENS] / emstar / Make.conf (download)
Revision: 1.23, Fri Jan 27 05:04:57 2006 UTC (3 years, 9 months ago) by girod
Branch: MAIN
CVS Tags: pregeonet, acoustic-05-18-06, PRE_TOSNIC_FIX, PRE_64BIT, HEAD, CYCLOPS_RELEASE_CANDIDATE_2_0, CYCLOPS_PRERELEASE_STABLE, CENTROUTE_EMSTAR_SOCKETS, AMARSS_JR_DEPLOYMENT_6_05_07
Branch point for: ESS_CENTROUTE_TESTING, BG_1_0
Changes since 1.22: +14 -17 lines
change to the build system to use configure more for native platform.
also sets up several flags to tell whether the platform has various
special libraries.

also separates out clean and help from the rest so that those don't
go thru dependency generation.

configure automatically runs if you don't run it first for the
native architecture.

##
## EmStar Makefile Configuration and User Option
##
## $Id: Make.conf,v 1.23 2006/01/27 05:04:57 girod Exp $
##

##
##  This file contains various options and settings that
##  can help you configure EmStar to build on your system.
##

##
##  Enable use of _shared_ EmStar libraries
##
##  If USE_SHARED is set, all executables will be built to link to the .so
##  versions of the EmStar libraries.  For this to work, you will need
##  to set LD_LIBRARY_PATH to point to the location where the EmStar shared
##  libs are installed, or install them in a standard location.
##
##  If USE_SHARED is NOT set, the binaries will be linked statically 
##  with the exception of system libraries, and LD_LIBRARY_PATH is not needed.
##
##     *** NOTE: If the compilation previously succeeded, you must  ***
##     *** make clean for a change to this setting to take effect!! ***
##
USE_SHARED := 0

##
##  Enable debug versions of libraries, executables
##
##  Debugging info in libraries increases their size by about 1.5x.
##  You can turn it off here.
##
DEBUG_LIBS := 1
DEBUG_EXES := 1


##
##  Many distributions now conform to standards for where kernel
##  headers are located.  In some cases they differ and may need
##  to be configured here.
##
##  If you need to point EmStar to a specific directory for your
##  kernel headers, define it here.  
##
##  If NATIVE_KERNEL_HEADERS is not defined, native ARCH looks in
##    /usr/src/linux/include  and  /usr/src/linux-2.4/include
##
#NATIVE_KERNEL_HEADERS := /usr/src/linux/include
##
##  Other architectures have the following defaults built into 
##  make/make.platform -- you can override them here:
##    
#STARGATE_KERNEL_ROOT := $(STARGATE_TOOLS_ROOT)/kernel/$(STARGATE_KERNEL_VERSION)
#PASTA_KERNEL_ROOT    := /home/tsiatsis/pasta-related/pasta_cvs/node/pxa250/linux-transitional
#IPAQ_SA_KERNEL_ROOT  := /export/home/eugene/ipaq/kernel/linux
#NSTARGATE_KERNEL_ROOT := /scratch/girod/slauson/linux-2.6.10-sln1
##

##  To disable building kernel modules, set to 0.
BUILD_KMODULES := 1


##
##  If pkg-config is unable to find its data files, you can set 
##  this value to point to them.
##
#PKG_CONFIG_PATH := /usr/lib/pkgconfig


##
##  TinyOS / EmTOS integration configuration
##
##  To enable EmTOS, you must:
##
##   * set the variable below to turn it on
##   * ensure that NesC and AVR compilers are installed and
##     that the vars below point to the appropriate paths
##   * create a symlink from emstar/tinyos-1.x to your TOS
##     repository and create the symlinks within the TOS
##     repo back to emstar (see install.html)
##   * install GNU Make v. 3.80
##
##  All the standard TinyOS environment variables (e.g. TOSDIR,
##  MAKERULES, etc) are overridden by this Makefile -- instead
##  we rely on symlinks to achieve these goals.
##

##  To disable EmTOS builds (e.g. if you don't have the full
##  checkout or don't want to compile TOS stuff) set to 0.
BUILD_EMTOS := 0

##  To disable slow (but safe) TOS dependency verification, 
##  set TOSDEPS to 0.  If dependencies are enabled, they will
##  be checked on each build and anything that might have 
##  changed will be rebuilt.  However, this is a slow process 
##  and may not be worthwhile for frequent rebuilds.
##  An alternative it to use the bin/tosremake script to 
##  force a rebuild of a particular executable, e.g.
##
##  $ cd emstar
##  $ bin/tosremake obj.i686-linux/mote/CntToLedsAndRfm
##
TOSDEPS := 0

##  NESC_DIR points to your install of NesC
##  This setting should be compatible with our AVR tools package
NESC_DIR := /usr/local/lecs/nesc-1.1

##  AVR_DIR points to your install of avr-gcc
##  This setting should be compatible with our AVR tools package
AVR_DIR := /usr/local/lecs/avr3.3

##  Internally /bin will be appended to both of the above paths.
##  So, if you are using an standard installed version of nesc and 
##  avr-gcc that install into /usr/local/bin, you probably want:
#NESC_DIR := /usr/local 
#AVR_DIR := /usr/local 





CENS CVS Mailing List
Powered by
ViewCVS 0.9.2