1 |
26 |
unneback |
## Process this file with automake to produce Makefile.in
|
2 |
|
|
## =====================================================================
|
3 |
|
|
##
|
4 |
|
|
## Makefile.am
|
5 |
|
|
##
|
6 |
|
|
## ecostest
|
7 |
|
|
##
|
8 |
|
|
## =====================================================================
|
9 |
|
|
#####ECOSHOSTGPLCOPYRIGHTBEGIN####
|
10 |
|
|
## -------------------------------------------
|
11 |
|
|
# Copyright (C) 2002 Bart Veer
|
12 |
|
|
# Copyright (C) 1998, 1999, 2000, 2001 Red Hat, Inc.
|
13 |
|
|
#
|
14 |
|
|
# This file is part of the eCos host tools.
|
15 |
|
|
#
|
16 |
|
|
# This program is free software; you can redistribute it and/or modify it
|
17 |
|
|
# under the terms of the GNU General Public License as published by the Free
|
18 |
|
|
# Software Foundation; either version 2 of the License, or (at your option)
|
19 |
|
|
# any later version.
|
20 |
|
|
#
|
21 |
|
|
# This program is distributed in the hope that it will be useful, but WITHOUT
|
22 |
|
|
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
23 |
|
|
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
24 |
|
|
# more details.
|
25 |
|
|
#
|
26 |
|
|
# You should have received a copy of the GNU General Public License along with
|
27 |
|
|
# this program; if not, write to the Free Software Foundation, Inc.,
|
28 |
|
|
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
29 |
|
|
#
|
30 |
|
|
## -------------------------------------------
|
31 |
|
|
#####ECOSHOSTGPLCOPYRIGHTEND####
|
32 |
|
|
## =====================================================================
|
33 |
|
|
#######DESCRIPTIONBEGIN####
|
34 |
|
|
##
|
35 |
|
|
## Author(s): bartv
|
36 |
|
|
## Contact(s): bartv
|
37 |
|
|
## Date: 1999/11/09
|
38 |
|
|
## Version: 0.01
|
39 |
|
|
##
|
40 |
|
|
######DESCRIPTIONEND####
|
41 |
|
|
## =====================================================================
|
42 |
|
|
|
43 |
|
|
AUTOMAKE_OPTIONS = 1.3 cygnus
|
44 |
|
|
SUBDIRS =
|
45 |
|
|
|
46 |
|
|
## Pick up compiler flags etc. from configury
|
47 |
|
|
AM_CFLAGS = @ecos_CFLAGS@
|
48 |
|
|
AM_CXXFLAGS = @ecos_CXXFLAGS@
|
49 |
|
|
if MSVC
|
50 |
|
|
INCLUDES = @ecos_INCLUDES@ -I@MSVC_SRCDIR@/../../common/common
|
51 |
|
|
else
|
52 |
|
|
INCLUDES = @ecos_INCLUDES@ -I$(srcdir)/../../common/common
|
53 |
|
|
endif
|
54 |
|
|
LIBS = @ecos_LIBS@ @ecos_LDADD@
|
55 |
|
|
|
56 |
|
|
BUILT_SOURCES = build.cxx flags.cxx
|
57 |
|
|
bin_PROGRAMS = ecosconfig
|
58 |
|
|
ecosconfig_SOURCES = ecosconfig.cxx cdl_exec.cxx build.cxx flags.cxx
|
59 |
|
|
if MSVC
|
60 |
|
|
ecosconfig_DEPENDENCIES = @ecos_libcdl_libdir@/cdl.lib @ecos_infra_libdir@/cyginfra.lib
|
61 |
|
|
else
|
62 |
|
|
ecosconfig_DEPENDENCIES = @ecos_libcdl_libdir@/libcdl.a @ecos_infra_libdir@/libcyginfra.a
|
63 |
|
|
endif
|
64 |
|
|
|
65 |
|
|
|
66 |
|
|
noinst_HEADERS = cdl_exec.hxx ecosconfig.hxx
|
67 |
|
|
|
68 |
|
|
## Unfortunately some of the required sources live elsewhere, yet do not get built
|
69 |
|
|
## into a library. Copy them into the build tree.
|
70 |
|
|
build.cxx: ../../common/common/build.cxx
|
71 |
|
|
$(INSTALL) $< $@
|
72 |
|
|
|
73 |
|
|
flags.cxx: ../../common/common/flags.cxx
|
74 |
|
|
$(INSTALL) $< $@
|
75 |
|
|
|