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