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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [tools/] [src/] [libcdl/] [Makefile.am] - Blame information for rev 403

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

Line No. Rev Author Line
1 26 unneback
## Process this file with automake to produce Makefile.in
2
## =====================================================================
3
##
4
##     Makefile.am
5
##
6
##     libcdl.a
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:        1998/12/16
38
## Version:     0.01
39
##
40
######DESCRIPTIONEND####
41
## =====================================================================
42
 
43
AUTOMAKE_OPTIONS        = 1.3 foreign
44
SUBDIRS                 = testsuite
45
 
46
## Pick up compiler flags etc. from configury
47
INCLUDES                = @ecos_INCLUDES@
48
LIBS                    = @ecos_LIBS@ @ecos_LDADD@
49
AM_CFLAGS               = @ecos_CFLAGS@
50
AM_CXXFLAGS             = @ecos_CXXFLAGS@
51
ecos_infra_incdir       = @ecos_infra_incdir@
52
 
53
## This package exports its interface via cdl.hxx
54
include_HEADERS = cdlcore.hxx cdl.hxx
55
 
56
## The main target is a static library. The problem is naming it
57
## correctly. automake seems to insist on calling it libcdl.a,
58
## even when compiling it with VC++. Various attempts to use
59
## cdl.lib instead with VC++ have failed. Instead the library
60
## will always be built as libcdl.a, but gets copied to cdl.lib
61
## when necessary.
62
 
63
sources := interp.cxx       \
64
           expr.cxx         \
65
           func.cxx         \
66
           refer.cxx        \
67
           cdlmisc.cxx      \
68
           conflict.cxx     \
69
           property.cxx     \
70
           parse.cxx        \
71
           base.cxx         \
72
           value.cxx        \
73
           build.cxx        \
74
           dialog.cxx       \
75
           wizard.cxx       \
76
           interface.cxx    \
77
           transact.cxx     \
78
           infer.cxx        \
79
           database.cxx     \
80
           config.cxx       \
81
           package.cxx      \
82
           component.cxx    \
83
           option.cxx
84
 
85
noinst_LIBRARIES = libcdl.a
86
libcdl_a_SOURCES = $(sources)
87
 
88
if MSVC
89
all-local: cdl.lib
90
 
91
cdl.lib: libcdl.a
92
        $(INSTALL) $< $@
93
 
94
clean-local:
95
        $(RM) cdl.lib
96
 
97
install-exec-local: all-local
98
        $(mkinstalldirs) $(DESTDIR)$(libdir)
99
        $(INSTALL) cdl.lib $(DESTDIR)$(libdir)/cdl.lib
100
 
101
else
102
 
103
all-local:
104
clean-local:
105
install-exec-local: libcdl.a
106
        $(mkinstalldirs) $(DESTDIR)$(libdir)
107
        $(INSTALL) libcdl.a $(DESTDIR)$(libdir)/libcdl.a
108
endif
109
 
110
 
111
## Add specific dependencies for all source files.
112
## Every module in libcdl uses assertions and tracing.
113
## These pull in the others.
114
infra_headers := $(ecos_infra_incdir)/cyg/infra/cyg_ass.h  \
115
                 $(ecos_infra_incdir)/cyg/infra/cyg_trac.h \
116
                 $(ecos_infra_incdir)/pkgconf/infra.h      \
117
                 $(ecos_infra_incdir)/pkgconf/hostinfra.h  \
118
                 $(ecos_infra_incdir)/cyg/infra/cyg_type.h
119
 
120
## Depending on the flavor of CDL being implemented, different
121
## headers will get included.
122
cdlcore_headers := cdlconfig.h cdlcore.hxx
123
cdl_headers     := $(cdlcore_headers) cdl.hxx
124
 
125
interp.$(OBJEXT)    : Makefile $(cdlcore_headers) $(infra_headers)
126
 
127
expr.$(OBJEXT)      : Makefile $(cdlcore_headers) $(infra_headers)
128
 
129
infer.$(OBJEXT)     : Makefile $(cdlcore_headers) $(infra_headers)
130
 
131
func.$(OBJEXT)      : Makefile $(cdlcore_headers) $(infra_headers)
132
 
133
refer.$(OBJEXT)     : Makefile $(cdlcore_headers) $(infra_headers)
134
 
135
cdlmisc.$(OBJEXT)   : Makefile $(cdlcore_headers) $(infra_headers)
136
 
137
conflict.$(OBJEXT)  : Makefile $(cdlcore_headers) $(infra_headers)
138
 
139
property.$(OBJEXT)  : Makefile $(cdlcore_headers) $(infra_headers)
140
 
141
parse.$(OBJEXT)     : Makefile $(cdlcore_headers) $(infra_headers)
142
 
143
base.$(OBJEXT)      : Makefile $(cdlcore_headers) $(infra_headers)
144
 
145
value.$(OBJEXT)     : Makefile $(cdlcore_headers) $(infra_headers)
146
 
147
build.$(OBJEXT)     : Makefile $(cdlcore_headers) $(infra_headers)
148
 
149
dialog.$(OBJEXT)    : Makefile $(cdlcore_headers) $(infra_headers)
150
 
151
wizard.$(OBJEXT)    : Makefile $(cdlcore_headers) $(infra_headers)
152
 
153
interface.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
154
 
155
transact.$(OBJEXT)  : Makefile $(cdlcore_headers) $(infra_headers)
156
 
157
database.$(OBJEXT)  : Makefile $(cdl_headers) $(infra_headers)
158
 
159
config.$(OBJEXT)    : Makefile $(cdl_headers) $(infra_headers)
160
 
161
package.$(OBJEXT)   : Makefile $(cdl_headers) $(infra_headers)
162
 
163
component.$(OBJEXT) : Makefile $(cdl_headers) $(infra_headers)
164
 
165
option.$(OBJEXT)    : Makefile $(cdl_headers) $(infra_headers)
166
 
167
 

powered by: WebSVN 2.1.0

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