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