OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [devs/] [eth/] [synth/] [ecosynth/] [v2_0/] [host/] [Makefile.am] - Blame information for rev 377

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 27 unneback
## Process this file with automake to produce Makefile.in
2
## =====================================================================
3
##
4
##     Makefile.am
5
##
6
##     Build support for the host-side synthetic target support,
7
##     the ethernetpackage.
8
##
9
## =====================================================================
10
######COPYRIGHTBEGIN####
11
#
12
# ----------------------------------------------------------------------------
13
# Copyright (C) 2002 Bart Veer
14
#
15
# This file is part of the eCos synthetic target ethernet support.
16
#
17
# This program is free software; you can redistribute it and/or modify it
18
# under the terms of the GNU General Public License as published by the Free
19
# Software Foundation; either version 2 of the License, or (at your option)
20
# any later version.
21
#
22
# This program is distributed in the hope that it will be useful, but WITHOUT
23
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
24
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
25
# more details.
26
#
27
# You should have received a copy of the GNU General Public License along with
28
# this program; if not, write to the Free Software Foundation, Inc.,
29
# 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
30
# ----------------------------------------------------------------------------
31
#
32
######COPYRIGHTEND####
33
## =====================================================================
34
#######DESCRIPTIONBEGIN####
35
##
36
## Author(s):   bartv
37
## Contact(s):  bartv
38
## Date:        2002/08/07
39
## Version:     0.01
40
##
41
######DESCRIPTIONEND####
42
## =====================================================================
43
 
44
AUTOMAKE_OPTIONS = 1.3 foreign
45
 
46
## Only some platforms are supported. Having the configure script throw
47
## an error when attempting to configure on an unsupported platform
48
## would be a mistake, since that would prevent any configury from
49
## the toplevel on unsupported platforms. Instead an automake conditional
50
## is used, leading to null makefiles on unsupported platforms.
51
 
52
if SUPPORTED
53
 
54
AM_CFLAGS       = @ecos_CFLAGS@ -DECOSYNTH_VERSION=\"@VERSION@\" \
55
 -DECOS_REPOSITORY=\"@ECOS_REPOSITORY@\" \
56
 -DLIBEXECDIR=\"$(libexecdir)\" \
57
 -DPACKAGE_DIR=\"@PACKAGE_DIR@\" \
58
 -DPACKAGE_VERSION=\"@PACKAGE_VERSION@\" \
59
 -DPACKAGE_INSTALL=\"@PACKAGE_INSTALL@\"
60
AM_CXXFLAGS     = @ecos_CXXFLAGS@
61
INCLUDES        = @ecos_INCLUDES@
62
LIBS            = @ecos_LIBS@ @ecos_LDADD@
63
 
64
## The synthetic target support consists of a single program rawether,
65
## a number of Tcl scripts, and some additional data files. These are
66
## all installed in a single directory $(libexec)/ecos/_/
67
## Neither the rawether executable nor any of the scripts are directly
68
## executable, instead rawether gets fork()'d/execve()'d by the Tcl
69
## script so $(libexec) is appropriate. Strictly speaking the
70
## Tcl scripts and data files are architecture-independent so should
71
## probably be installed in an analogous directory below $(datadir),
72
## but that would add more directories for little real gain. The scripts
73
## are treated as data files since they should not be executed directly,
74
## i.e. they should not be installed with the execute bit set.
75
 
76
etherdir                = $(libexecdir)/ecos/@PACKAGE_INSTALL@
77
ether_PROGRAMS          = rawether
78
ether_DATA              = ethernet.tcl ethernet.tdf netrecord.xbm
79
 
80
rawether_SOURCES        = rawether.c
81
 
82
## Manual dependencies
83
rawether.$(OBJEXT)      : Makefile ../src/protocol.h
84
 
85
## The rawether program needs to run with root privileges, or it will
86
## be unable to access the ethernet hardware.
87
install-data-hook:
88
        chown root $(etherdir)/rawether
89
        chmod u+s $(etherdir)/rawether
90
 
91
endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.