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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [librdbg/] [src/] [i386/] [any/] [Makefile.in] - Rev 1765

Compare with Previous | Blame | View Log

# Makefile.in generated by automake 1.6.2 from Makefile.am.
# @configure_input@

# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.

@SET_MAKE@
SHELL = @SHELL@

srcdir = @srcdir@
top_srcdir = @top_srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@

bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ../../..

ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@

am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = @host_alias@
host_triplet = @host@

EXEEXT = @EXEEXT@
OBJEXT = @OBJEXT@
PATH_SEPARATOR = @PATH_SEPARATOR@

VPATH = @srcdir@:@srcdir@/..:@srcdir@/../..
AMTAR = @AMTAR@
AWK = @AWK@
BARE_CPU_CFLAGS = @BARE_CPU_CFLAGS@
BARE_CPU_MODEL = @BARE_CPU_MODEL@

CC = @CC@ $(GCCSPECS)
CPP = @CPP@ $(GCCSPECS)
DEPDIR = @DEPDIR@
ENDIF = @ENDIF@
GCCSED = @GCCSED@
GCC_SPECS = @GCC_SPECS@
HAS_NETWORKING = @HAS_NETWORKING@
HAS_RDBG = @HAS_RDBG@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
MAINT = @MAINT@
MAKE = @MAKE@
PACKAGE = @PACKAGE@
PACKHEX = @PACKHEX@
PROJECT_INCLUDE = @PROJECT_INCLUDE@
PROJECT_RELEASE = @PROJECT_RELEASE@
PROJECT_ROOT = @PROJECT_ROOT@
PROJECT_TOPdir = @PROJECT_TOPdir@
RPCGEN = @RPCGEN@
RTEMS_BSP = @RTEMS_BSP@
RTEMS_BSP_SPECS = @RTEMS_BSP_SPECS@
RTEMS_CPU = @RTEMS_CPU@
RTEMS_HAS_NETWORKING = @RTEMS_HAS_NETWORKING@
RTEMS_HAS_RDBG = @RTEMS_HAS_RDBG@
RTEMS_HOST = @RTEMS_HOST@
RTEMS_ROOT = @RTEMS_ROOT@
RTEMS_TOPdir = @RTEMS_TOPdir@
STRIP = @STRIP@
VERSION = @VERSION@
am__include = @am__include@
am__quote = @am__quote@
bsplibdir = @bsplibdir@
install_sh = @install_sh@

LIBNAME = librdbg
LIB = ${ARCH}/${LIBNAME}.a

# C and C++ source names
C_FILES = rdbg.c servcon.c servbkpt.c servrpc.c excep.c excep_f.c servtgt.c \
    servtsp.c servutil.c _servtgt.c rdbg_f.c ptrace.c

C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)

# Asm source names
S_FILES = rdbg_cpu_asm.S
S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)

# Generated C source names
GEN_C_FILES = remdeb_xdr.c remdeb_svc.c
GEN_C_O_FILES = $(GEN_C_FILES:%.c=${ARCH}/%.o)

# H source names
H_FILES = remdeb.h

# X source names
X_FILES = remdeb.x remdeb_f.x

OBJS = $(GEN_C_O_FILES) $(C_O_FILES) $(S_O_FILES)

MAINTAINERCLEANFILES = $(H_FILES) $(GEN_C_FILES)

@RTEMS_USE_GCC_TRUE@CFLAGS_DEFAULT = -g -Wall
@RTEMS_USE_GCC_TRUE@GCCSPECS = $(GCC_SPECS) $(RTEMS_BSP_SPECS)

DEFS = @DEFS@

CPPFLAGS = @CPPFLAGS@ $(CPU_DEFINES) \
   $(DEFINES) $(XCPPFLAGS) $(CPPFLAGS_GCC)

CFLAGS = $(CFLAGS_DEFAULT) $(CPU_CFLAGS) $(XCFLAGS)
CXXFLAGS = $(CFLAGS_DEFAULT) $(CPU_CFLAGS) $(XCXXFLAGS)
ASFLAGS = $(CPU_ASFLAGS) $(CPU_CFLAGS) $(XASFLAGS)

LINK_LIBS = $(LD_LIBS)

# when debugging, optimize flag: typically empty
# some compilers do allow optimization with their "-g"
CFLAGS_DEBUG_OPTIMIZE_V = -g
CXXFLAGS_DEBUG_OPTIMIZE_V = -g
LDFLAGS_DEBUG_V = 

# profile flag; use gprof(1)
CFLAGS_PROFILE_V = -pg
CXXFLAGS_PROFILE_V = -pg
LDFLAGS_PROFILE_V = 

# List of library paths without -L
LD_PATHS = $(PROJECT_RELEASE)/lib

# ld flag for incomplete link
LDFLAGS_INCOMPLETE = -r

# ld flags for profiling, debugging
LDFLAGS = $(LDFLAGS_PROFILE) $(LDFLAGS_DEBUG) $(LD_PATHS:%=-L %)


#
# Client compiler and support tools
#

#
# How to compile stuff into ${ARCH} subdirectory
#
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)

CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
        $(AM_LDFLAGS) $(LDFLAGS) -o $@


CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)

CXXLD = $(CXX)
CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
        $(AM_LDFLAGS) $(LDFLAGS) -o $@


AS = $(CC)
ASCOMPILE = $(AS) $(AM_ASFLAGS) $(ASFLAGS)


# Dependency files for use by gmake
# NOTE: we don't put them into $(ARCH)
#       so that 'make clean' doesn't blow it away
DEPEND = Depends-${ARCH}

CLEAN_DEPEND = $(DEPEND).tmp
CLOBBER_DEPEND = $(DEPEND)


# spell out all the LINK_FILE's, rather than using -lbsp, so
#  that $(LINK_FILES) can be a dependency
LINK_OBJS = \
    $(OBJS) \
    $(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel)


LINK_FILES = \
    $(START_FILE) \
    $(OBJS) \
    $(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel)


VARIANT = OPTIMIZE

VARIANT_OPTIMIZE_V = OPTIMIZE
VARIANT_DEBUG_V = DEBUG
VARIANT_PROFILE_V = PROFILE
VARIANT_optimize_V = OPTIMIZE
VARIANT_debug_V = DEBUG
VARIANT_profile_V = PROFILE

VARIANT_V = $(VARIANT_$(VARIANT)_V)

ARCH_OPTIMIZE_V = o-optimize
ARCH_DEBUG_V = o-debug
ARCH_PROFILE_V = o-profile

ARCH__V = $(ARCH_OPTIMIZE_V)
ARCH = $(ARCH_$(VARIANT_V)_V)

LIBSUFFIX_OPTIMIZE_V = 
LIBSUFFIX_DEBUG_V = _g
LIBSUFFIX_PROFILE_V = _p
LIBSUFFIX__V = $(LIBSUFFIX_OPTIMIZE_V)

LIB_VARIANT = $(LIBSUFFIX_$(VARIANT_V)_V)
LIBSUFFIX_VA = $(LIB_VARIANT).a

CFLAGS__V = $(CFLAGS_OPTIMIZE_V)

@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_OPTIMIZE_V = 
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_DEBUG_V = -qrtems_debug -Wno-unused
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_PROFILE_V = 

RTEMS_CFLAGS__V = $(RTEMS_CFLAGS_OPTIMIZE_V)
CXX = @CXX@ $(GCCSPECS)

LD = @LD@
OBJCOPY = @OBJCOPY@
NM = @NM@
SIZE = @SIZE@

AM_CPPFLAGS = $(RTEMS_CPPFLAGS)

AM_CFLAGS = $(RTEMS_CFLAGS_$(VARIANT_V)_V) $(CFLAGS_$(VARIANT_V)_V)
AM_CXXFLAGS = $(RTEMS_CFLAGS_$(VARIANT_V)_V) $(CFLAGS_$(VARIANT_V)_V)

AR = @AR@
RANLIB = @RANLIB@

ARFLAGS = ruv

TMPINSTALL_FILES = $(PROJECT_RELEASE)/lib $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a


#
# Add local stuff here using +=
#
FRONTEND = \"$(RTEMS_CPU)/any/remdeb_f.x\"

PREINSTALL_FILES = $(PROJECT_INCLUDE)/rdbg $(PROJECT_INCLUDE)/rdbg/remdeb.h

EXTRA_DIST = remdeb_f.x $(GEN_C_FILES)

PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
subdir = src/i386/any
mkinstalldirs = $(SHELL) $(top_srcdir)/../../../mkinstalldirs
CONFIG_CLEAN_FILES =
DIST_SOURCES =
DIST_COMMON = Makefile.am Makefile.in
all: all-am

.SUFFIXES:
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/../../../automake/compile.am $(top_srcdir)/../../../automake/lib.am $(top_srcdir)/../../../automake/local.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
        cd $(top_srcdir) && \
          $(AUTOMAKE) --foreign  src/i386/any/Makefile
Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
uninstall-info-am:
tags: TAGS
TAGS:

DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)

top_distdir = ../../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)

distdir: $(DISTFILES)
        @list='$(DISTFILES)'; for file in $$list; do \
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
            dir="/$$dir"; \
            $(mkinstalldirs) "$(distdir)$$dir"; \
          else \
            dir=''; \
          fi; \
          if test -d $$d/$$file; then \
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
            fi; \
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
          else \
            test -f $(distdir)/$$file \
            || cp -p $$d/$$file $(distdir)/$$file \
            || exit 1; \
          fi; \
        done
check-am: all-am
check: check-am
all-am: Makefile all-local

installdirs:

install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am

install-am: all-am
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

installcheck: installcheck-am
install-strip:
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
          INSTALL_STRIP_FLAG=-s \
          `test -z '$(STRIP)' || \
            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:

clean-generic:

distclean-generic:
        -rm -f Makefile $(CONFIG_CLEAN_FILES)

maintainer-clean-generic:
        @echo "This command is intended for maintainers to use"
        @echo "it deletes files that may require special tools to rebuild."
        -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
clean: clean-am

clean-am: clean-generic clean-local mostlyclean-am

distclean: distclean-am

distclean-am: clean-am distclean-generic distclean-local

dvi: dvi-am

dvi-am:

info: info-am

info-am:

install-data-am:

install-exec-am:

install-info: install-info-am

install-man:

installcheck-am:

maintainer-clean: maintainer-clean-am

maintainer-clean-am: distclean-am maintainer-clean-generic

mostlyclean: mostlyclean-am

mostlyclean-am: mostlyclean-generic

uninstall-am: uninstall-info-am

.PHONY: all all-am all-local check check-am clean clean-generic \
        clean-local distclean distclean-generic distclean-local distdir \
        dvi dvi-am info info-am install install-am install-data \
        install-data-am install-exec install-exec-am install-info \
        install-info-am install-man install-strip installcheck \
        installcheck-am installdirs maintainer-clean \
        maintainer-clean-generic mostlyclean mostlyclean-generic \
        uninstall uninstall-am uninstall-info-am


include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
@RTEMS_USE_GCC_FALSE@include $(CONFIG.CC)

${ARCH}/%.o: %.c
        test -d $(ARCH) || mkdir $(ARCH)
        ${COMPILE} -o $@ -c $<

${ARCH}/%.o: %.cc
        test -d $(ARCH) || mkdir $(ARCH)
        ${CXXCOMPILE} -o $@ -c $<

${ARCH}/%.o: %.cpp
        test -d $(ARCH) || mkdir $(ARCH)
        ${CXXCOMPILE} -o $@ -c $<

${ARCH}/%.o: %.cxx
        test -d $(ARCH) || mkdir $(ARCH)
        ${CXXCOMPILE} -o $@ -c $<

${ARCH}/%.o: %.C
        test -d $(ARCH) || mkdir $(ARCH)
        ${CXXCOMPILE} -o $@ -c $<

${ARCH}/%.o: %.S
        test -d $(ARCH) || mkdir $(ARCH)
        ${ASCOMPILE} -DASM -o $@ -c $<

# Make foo.rel from foo.o
${ARCH}/%.rel: ${ARCH}/%.o
        test -d $(ARCH) || mkdir $(ARCH)
        ${make-rel}

# We deliberately don't have anything depend on the
# $(DEPEND) file; otherwise it will get rebuilt even
# on 'make clean'
#

depend-am: $(C_FILES) $(CC_FILES) $(S_FILES)
        $(COMPILE) -M   $^    |  \
        sed -e 's?^\(.*\)\.o[ ]*:?$$(ARCH)/\1.o:?' \
            -e 's?$(ARCH)/?$$(ARCH)/?'   >$(DEPEND).tmp
        mv $(DEPEND).tmp $(DEPEND)
depend: depend-am

# pull in dependencies if they exist  
ifeq (${DEPEND},$(wildcard ${DEPEND}))
include ${DEPEND}
@ENDIF@

@RTEMS_USE_GCC_TRUE@define make-rel
@RTEMS_USE_GCC_TRUE@    $(LINK) -qnolinkcmds -nostdlib -Wl,-r $(XLDFLAGS) $^
@RTEMS_USE_GCC_TRUE@endef
@RTEMS_USE_GCC_FALSE@define make-rel
@RTEMS_USE_GCC_FALSE@   $(LINK) $(XLDFLAGS) $^
@RTEMS_USE_GCC_FALSE@endef

define make-library
test -d $(ARCH) || mkdir $(ARCH)
$(RM) $@
$(AR) $(ARFLAGS) $@ $^
$(RANLIB) $@
endef

$(PROJECT_RELEASE)/lib:
        @$(mkinstalldirs) $@

.PRECIOUS: $(LIB)

$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
        $(INSTALL_DATA) $< $@

$(LIB): ${OBJS}
        $(make-library)

$(srcdir)/remdeb.h: $(X_FILES)
@RPCTOOLS_TRUE@ @rm -f $@
@RPCTOOLS_TRUE@ ( cd $(top_srcdir)/src; \
@RPCTOOLS_TRUE@ $(RPCGEN) -h -DFRONTEND=$(FRONTEND) \
@RPCTOOLS_TRUE@   -o i386/any/remdeb.h remdeb.x )
$(srcdir)/remdeb_xdr.c: $(X_FILES)
@RPCTOOLS_TRUE@ @rm -f $@
@RPCTOOLS_TRUE@ ( cd $(top_srcdir)/src; \
@RPCTOOLS_TRUE@ $(RPCGEN) -c -DFRONTEND=$(FRONTEND) \
@RPCTOOLS_TRUE@   -o i386/any/remdeb_xdr.c remdeb.x )

$(srcdir)/remdeb_svc.c: $(X_FILES)
@RPCTOOLS_TRUE@ @rm -f $@ tmpSvc.c
@RPCTOOLS_TRUE@ ( cd $(top_srcdir)/src; \
@RPCTOOLS_TRUE@ $(RPCGEN) -m -DFRONTEND=$(FRONTEND) \
@RPCTOOLS_TRUE@   -o i386/any/tmpSvc.c remdeb.x; \
@RPCTOOLS_TRUE@ $(AWK) -f ./awk.svc THEPROG="remdeb.h" i386/any/tmpSvc.c \
@RPCTOOLS_TRUE@   > i386/any/remdeb_svc.c; \
@RPCTOOLS_TRUE@ sed -e 's/fprintf.*,/printf(/'  i386/any/remdeb_svc.c > i386/any/remdeb_svc.tmp; \
@RPCTOOLS_TRUE@ mv i386/any/remdeb_svc.tmp i386/any/remdeb_svc.c; \
@RPCTOOLS_TRUE@ rm -f i386/any/tmpSvc.c )

$(PROJECT_INCLUDE)/rdbg/remdeb.h: $(srcdir)/remdeb.h
        $(INSTALL_DATA) $< $@

$(PROJECT_INCLUDE)/rdbg:
        @$(mkinstalldirs) $@

all-local: ${ARCH} $(PREINSTALL_FILES) $(TMPINSTALL_FILES)

debug:
        @echo
        @echo "\"make debug\" is obsolete, instead use:"
        @echo " make VARIANT=DEBUG"
        @echo

.PHONY: debug

profile:
        @echo
        @echo "\"make profile\" is obsolete, instead use:"
        @echo " make VARIANT=PROFILE"
        @echo

.PHONY: profile

preinstall-am: $(PREINSTALL_FILES)
preinstall: preinstall-am
.PHONY: preinstall preinstall-am

depend-am:
depend: depend-am
.PHONY: depend depend-am

${ARCH}:
        mkdir ${ARCH}

clean-local:
        $(RM) -r o-optimize o-debug o-profile $(CLEANDIRS)
        $(RM) Depends-o-optimize.tmp Depends-o-debug.tmp Depends-o-profile.tmp

distclean-local:
        $(RM) Depends-o-optimize Depends-o-debug Depends-o-profile
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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