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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [host/] [libcdl/] [Makefile.am] - Blame information for rev 857

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

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

powered by: WebSVN 2.1.0

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