objdictgen/canfestival_config.py.in
author etisserant
Mon, 31 Mar 2008 15:25:43 +0200
changeset 435 509158e51940
parent 397 f9e720b220ea
child 769 b9e6ab1c022c
permissions -rw-r--r--
Fixed suspicious code in sdo.c
279
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
     1
#
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
     2
# Copyright (C) 2006 Laurent Bessard
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
     3
# 
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
     4
# This file is part of canfestival, a library implementing the canopen
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
     5
# stack
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
     6
# 
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
     7
# This library is free software; you can redistribute it and/or
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
     8
# modify it under the terms of the GNU Lesser General Public
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
     9
# License as published by the Free Software Foundation; either
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
    10
# version 2.1 of the License, or (at your option) any later version.
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
    11
# 
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
    12
# This library is distributed in the hope that it will be useful,
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
    13
# but WITHOUT ANY WARRANTY; without even the implied warranty of
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
    14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
    15
# Lesser General Public License for more details.
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
    16
# 
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
    17
# You should have received a copy of the GNU Lesser General Public
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
    18
# License along with this library; if not, write to the Free Software
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
    19
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
    20
# 
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
    21
from os.path import join as opj
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
    22
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
    23
CC = "SUB_CC"
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
    24
PROG_CFLAGS = "SUB_PROG_CFLAGS"
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
    25
EXE_CFLAGS = "SUB_EXE_CFLAGS"
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
    26
OS_NAME = "SUB_OS_NAME"
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
    27
ARCH_NAME = "SUB_ARCH_NAME"
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
    28
PREFIX = "SUB_PREFIX"
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
    29
TARGET = "SUB_TARGET"
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
    30
CAN_DRIVER = "SUB_CAN_DRIVER"
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
    31
TIMERS_DRIVER = "SUB_TIMERS_DRIVER"
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
    32
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
    33
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
    34
def getCFLAGS(Cpth):
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
    35
	ipth = opj(Cpth, "include")
397
f9e720b220ea Fixed problem with spaces in paths in generated canfetival_config.py
etisserant
parents: 279
diff changeset
    36
	return PROG_CFLAGS + ' -I"' + ipth  + '" -I"' + opj(ipth, TARGET)  + '" -I"' + opj(ipth, CAN_DRIVER)  + '" -I"' + opj(ipth,TIMERS_DRIVER) + '"'
279
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
    37
9b69f2fabafe added config.py.in, filled by configure, so that python program using objdictedit can gat compilation params. Reomved old dead files.
etisserant
parents:
diff changeset
    38
def getLDFLAGS(Cpth):
397
f9e720b220ea Fixed problem with spaces in paths in generated canfetival_config.py
etisserant
parents: 279
diff changeset
    39
    return EXE_CFLAGS + ' "' + opj(Cpth,"src","libcanfestival.a") + '" "' + opj(Cpth,"drivers", TARGET, "libcanfestival_%s.a"%TARGET)+ '"'
f9e720b220ea Fixed problem with spaces in paths in generated canfetival_config.py
etisserant
parents: 279
diff changeset
    40