## Process this file with automake to produce Makefile.in
|
## Process this file with automake to produce Makefile.in
|
## =====================================================================
|
## =====================================================================
|
##
|
##
|
## Makefile.am
|
## Makefile.am
|
##
|
##
|
## libcdl.a
|
## libcdl.a
|
##
|
##
|
## =====================================================================
|
## =====================================================================
|
#######ECOSHOSTGPLCOPYRIGHTBEGIN####
|
#######ECOSHOSTGPLCOPYRIGHTBEGIN####
|
## ----------------------------------------------------------------------------
|
## ----------------------------------------------------------------------------
|
# Copyright (C) 2002 Bart Veer
|
# Copyright (C) 2002 Bart Veer
|
# Copyright (C) 1998, 1999, 2000, 2001 Red Hat, Inc.
|
# Copyright (C) 1998, 1999, 2000, 2001 Red Hat, Inc.
|
#
|
#
|
# This file is part of the eCos host tools.
|
# This file is part of the eCos host tools.
|
#
|
#
|
# This program is free software; you can redistribute it and/or modify it
|
# This program is free software; you can redistribute it and/or modify it
|
# under the terms of the GNU General Public License as published by the Free
|
# under the terms of the GNU General Public License as published by the Free
|
# Software Foundation; either version 2 of the License, or (at your option)
|
# Software Foundation; either version 2 of the License, or (at your option)
|
# any later version.
|
# any later version.
|
#
|
#
|
# This program is distributed in the hope that it will be useful, but WITHOUT
|
# This program is distributed in the hope that it will be useful, but WITHOUT
|
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
# more details.
|
# more details.
|
#
|
#
|
# You should have received a copy of the GNU General Public License along with
|
# You should have received a copy of the GNU General Public License along with
|
# this program; if not, write to the Free Software Foundation, Inc.,
|
# this program; if not, write to the Free Software Foundation, Inc.,
|
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
#
|
#
|
## ----------------------------------------------------------------------------
|
## ----------------------------------------------------------------------------
|
#######ECOSHOSTGPLCOPYRIGHTEND####
|
#######ECOSHOSTGPLCOPYRIGHTEND####
|
## =====================================================================
|
## =====================================================================
|
#######DESCRIPTIONBEGIN####
|
#######DESCRIPTIONBEGIN####
|
##
|
##
|
## Author(s): bartv
|
## Author(s): bartv
|
## Contact(s): bartv
|
## Contact(s): bartv
|
## Date: 1998/12/16
|
## Date: 1998/12/16
|
## Version: 0.01
|
## Version: 0.01
|
##
|
##
|
######DESCRIPTIONEND####
|
######DESCRIPTIONEND####
|
## =====================================================================
|
## =====================================================================
|
|
|
AUTOMAKE_OPTIONS = 1.3 foreign
|
AUTOMAKE_OPTIONS = 1.3 foreign
|
SUBDIRS = testsuite
|
SUBDIRS = testsuite
|
|
|
## Pick up compiler flags etc. from configury
|
## Pick up compiler flags etc. from configury
|
INCLUDES = @ecos_INCLUDES@
|
INCLUDES = @ecos_INCLUDES@
|
LIBS = @ecos_LIBS@ @ecos_LDADD@
|
LIBS = @ecos_LIBS@ @ecos_LDADD@
|
AM_CFLAGS = @ecos_CFLAGS@
|
AM_CFLAGS = @ecos_CFLAGS@
|
AM_CXXFLAGS = @ecos_CXXFLAGS@
|
AM_CXXFLAGS = @ecos_CXXFLAGS@
|
ecos_infra_incdir = @ecos_infra_incdir@
|
ecos_infra_incdir = @ecos_infra_incdir@
|
|
|
## This package exports its interface via cdl.hxx
|
## This package exports its interface via cdl.hxx
|
include_HEADERS = cdlcore.hxx cdl.hxx
|
include_HEADERS = cdlcore.hxx cdl.hxx
|
|
|
## The main target is a static library. The problem is naming it
|
## The main target is a static library. The problem is naming it
|
## correctly. automake seems to insist on calling it libcdl.a,
|
## correctly. automake seems to insist on calling it libcdl.a,
|
## even when compiling it with VC++. Various attempts to use
|
## even when compiling it with VC++. Various attempts to use
|
## cdl.lib instead with VC++ have failed. Instead the library
|
## cdl.lib instead with VC++ have failed. Instead the library
|
## will always be built as libcdl.a, but gets copied to cdl.lib
|
## will always be built as libcdl.a, but gets copied to cdl.lib
|
## when necessary.
|
## when necessary.
|
|
|
sources := interp.cxx \
|
sources := interp.cxx \
|
expr.cxx \
|
expr.cxx \
|
func.cxx \
|
func.cxx \
|
refer.cxx \
|
refer.cxx \
|
cdlmisc.cxx \
|
cdlmisc.cxx \
|
conflict.cxx \
|
conflict.cxx \
|
property.cxx \
|
property.cxx \
|
parse.cxx \
|
parse.cxx \
|
base.cxx \
|
base.cxx \
|
value.cxx \
|
value.cxx \
|
build.cxx \
|
build.cxx \
|
dialog.cxx \
|
dialog.cxx \
|
wizard.cxx \
|
wizard.cxx \
|
interface.cxx \
|
interface.cxx \
|
transact.cxx \
|
transact.cxx \
|
infer.cxx \
|
infer.cxx \
|
database.cxx \
|
database.cxx \
|
config.cxx \
|
config.cxx \
|
package.cxx \
|
package.cxx \
|
component.cxx \
|
component.cxx \
|
option.cxx
|
option.cxx
|
|
|
noinst_LIBRARIES = libcdl.a
|
noinst_LIBRARIES = libcdl.a
|
libcdl_a_SOURCES = $(sources)
|
libcdl_a_SOURCES = $(sources)
|
|
|
if MSVC
|
if MSVC
|
all-local: cdl.lib
|
all-local: cdl.lib
|
|
|
cdl.lib: libcdl.a
|
cdl.lib: libcdl.a
|
$(INSTALL) $< $@
|
$(INSTALL) $< $@
|
|
|
clean-local:
|
clean-local:
|
$(RM) cdl.lib
|
$(RM) cdl.lib
|
|
|
install-exec-local: all-local
|
install-exec-local: all-local
|
$(mkinstalldirs) $(DESTDIR)$(libdir)
|
$(mkinstalldirs) $(DESTDIR)$(libdir)
|
$(INSTALL) cdl.lib $(DESTDIR)$(libdir)/cdl.lib
|
$(INSTALL) cdl.lib $(DESTDIR)$(libdir)/cdl.lib
|
|
|
else
|
else
|
|
|
all-local:
|
all-local:
|
clean-local:
|
clean-local:
|
install-exec-local: libcdl.a
|
install-exec-local: libcdl.a
|
$(mkinstalldirs) $(DESTDIR)$(libdir)
|
$(mkinstalldirs) $(DESTDIR)$(libdir)
|
$(INSTALL) libcdl.a $(DESTDIR)$(libdir)/libcdl.a
|
$(INSTALL) libcdl.a $(DESTDIR)$(libdir)/libcdl.a
|
endif
|
endif
|
|
|
|
|
## Add specific dependencies for all source files.
|
## Add specific dependencies for all source files.
|
## Every module in libcdl uses assertions and tracing.
|
## Every module in libcdl uses assertions and tracing.
|
## These pull in the others.
|
## These pull in the others.
|
infra_headers := $(ecos_infra_incdir)/cyg/infra/cyg_ass.h \
|
infra_headers := $(ecos_infra_incdir)/cyg/infra/cyg_ass.h \
|
$(ecos_infra_incdir)/cyg/infra/cyg_trac.h \
|
$(ecos_infra_incdir)/cyg/infra/cyg_trac.h \
|
$(ecos_infra_incdir)/pkgconf/infra.h \
|
$(ecos_infra_incdir)/pkgconf/infra.h \
|
$(ecos_infra_incdir)/pkgconf/hostinfra.h \
|
$(ecos_infra_incdir)/pkgconf/hostinfra.h \
|
$(ecos_infra_incdir)/cyg/infra/cyg_type.h
|
$(ecos_infra_incdir)/cyg/infra/cyg_type.h
|
|
|
## Depending on the flavor of CDL being implemented, different
|
## Depending on the flavor of CDL being implemented, different
|
## headers will get included.
|
## headers will get included.
|
cdlcore_headers := cdlconfig.h cdlcore.hxx
|
cdlcore_headers := cdlconfig.h cdlcore.hxx
|
cdl_headers := $(cdlcore_headers) cdl.hxx
|
cdl_headers := $(cdlcore_headers) cdl.hxx
|
|
|
interp.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
interp.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
|
|
expr.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
expr.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
|
|
infer.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
infer.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
|
|
func.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
func.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
|
|
refer.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
refer.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
|
|
cdlmisc.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
cdlmisc.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
|
|
conflict.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
conflict.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
|
|
property.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
property.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
|
|
parse.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
parse.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
|
|
base.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
base.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
|
|
value.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
value.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
|
|
build.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
build.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
|
|
dialog.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
dialog.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
|
|
wizard.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
wizard.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
|
|
interface.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
interface.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
|
|
transact.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
transact.$(OBJEXT) : Makefile $(cdlcore_headers) $(infra_headers)
|
|
|
database.$(OBJEXT) : Makefile $(cdl_headers) $(infra_headers)
|
database.$(OBJEXT) : Makefile $(cdl_headers) $(infra_headers)
|
|
|
config.$(OBJEXT) : Makefile $(cdl_headers) $(infra_headers)
|
config.$(OBJEXT) : Makefile $(cdl_headers) $(infra_headers)
|
|
|
package.$(OBJEXT) : Makefile $(cdl_headers) $(infra_headers)
|
package.$(OBJEXT) : Makefile $(cdl_headers) $(infra_headers)
|
|
|
component.$(OBJEXT) : Makefile $(cdl_headers) $(infra_headers)
|
component.$(OBJEXT) : Makefile $(cdl_headers) $(infra_headers)
|
|
|
option.$(OBJEXT) : Makefile $(cdl_headers) $(infra_headers)
|
option.$(OBJEXT) : Makefile $(cdl_headers) $(infra_headers)
|
|
|
|
|
|
|