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

Subversion Repositories or1k

[/] [or1k/] [tags/] [start/] [gdb-5.0/] [mmalloc/] [Makefile.in] - Diff between revs 579 and 1765

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 579 Rev 1765
# Copyright (C) 1992 Free Software Foundation, Inc.
# Copyright (C) 1992 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
# The GNU C Library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public License as
# modify it under the terms of the GNU Library General Public License as
# published by the Free Software Foundation; either version 2 of the
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
# License, or (at your option) any later version.
# The GNU C Library is distributed in the hope that it will be useful,
# The GNU C Library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Library General Public License for more details.
# Library General Public License for more details.
# You should have received a copy of the GNU Library General Public
# You should have received a copy of the GNU Library General Public
# License along with the GNU C Library; see the file COPYING.LIB.  If
# License along with the GNU C Library; see the file COPYING.LIB.  If
# not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
# Boston, MA 02111-1307, USA.
#
#
# Makefile for mmalloc directory
# Makefile for mmalloc directory
#
#
# Directory containing source files.  Don't clean up the spacing,
# Directory containing source files.  Don't clean up the spacing,
# this exact string is matched for by the "configure" script.
# this exact string is matched for by the "configure" script.
VPATH = @srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
srcdir = @srcdir@
prefix =        @prefix@
prefix =        @prefix@
exec_prefix =   @exec_prefix@
exec_prefix =   @exec_prefix@
bindir =        @bindir@
bindir =        @bindir@
libdir =        @libdir@
libdir =        @libdir@
datadir =       @datadir@
datadir =       @datadir@
mandir =        @mandir@
mandir =        @mandir@
man1dir =       $(mandir)/man1
man1dir =       $(mandir)/man1
man2dir =       $(mandir)/man2
man2dir =       $(mandir)/man2
man3dir =       $(mandir)/man3
man3dir =       $(mandir)/man3
man4dir =       $(mandir)/man4
man4dir =       $(mandir)/man4
man5dir =       $(mandir)/man5
man5dir =       $(mandir)/man5
man6dir =       $(mandir)/man6
man6dir =       $(mandir)/man6
man7dir =       $(mandir)/man7
man7dir =       $(mandir)/man7
man8dir =       $(mandir)/man8
man8dir =       $(mandir)/man8
man9dir =       $(mandir)/man9
man9dir =       $(mandir)/man9
infodir =       @infodir@
infodir =       @infodir@
includedir =    @includedir@
includedir =    @includedir@
SHELL =         @SHELL@
SHELL =         @SHELL@
INSTALL =       @INSTALL@
INSTALL =       @INSTALL@
INSTALL_PROGRAM=@INSTALL_PROGRAM@
INSTALL_PROGRAM=@INSTALL_PROGRAM@
INSTALL_DATA =  @INSTALL_DATA@
INSTALL_DATA =  @INSTALL_DATA@
AR =            @AR@
AR =            @AR@
AR_FLAGS =      qv
AR_FLAGS =      qv
CFLAGS =        -g
CFLAGS =        -g
MAKEINFO =      makeinfo
MAKEINFO =      makeinfo
RANLIB =        @RANLIB@
RANLIB =        @RANLIB@
RM =            rm
RM =            rm
# where to find makeinfo
# where to find makeinfo
MAKEINFO=makeinfo
MAKEINFO=makeinfo
SET_TEXINPUTS = TEXINPUTS=${TEXIDIR}:.:$(srcdir):$(READLINE_DIR):$$TEXINPUTS
SET_TEXINPUTS = TEXINPUTS=${TEXIDIR}:.:$(srcdir):$(READLINE_DIR):$$TEXINPUTS
# The TeX formatter
# The TeX formatter
TEX = tex
TEX = tex
TARGETLIB =     libmmalloc.a
TARGETLIB =     libmmalloc.a
CFILES =        mcalloc.c mfree.c mmalloc.c mmcheck.c mmemalign.c mmstats.c \
CFILES =        mcalloc.c mfree.c mmalloc.c mmcheck.c mmemalign.c mmstats.c \
                mmtrace.c mrealloc.c mvalloc.c mmap-sup.c attach.c detach.c \
                mmtrace.c mrealloc.c mvalloc.c mmap-sup.c attach.c detach.c \
                keys.c sbrk-sup.c mm.c
                keys.c sbrk-sup.c mm.c
HFILES =        mmalloc.h
HFILES =        mmalloc.h
OFILES =        mcalloc.o mfree.o mmalloc.o mmcheck.o mmemalign.o mmstats.o \
OFILES =        mcalloc.o mfree.o mmalloc.o mmcheck.o mmemalign.o mmstats.o \
                mmtrace.o mrealloc.o mvalloc.o mmap-sup.o attach.o detach.o \
                mmtrace.o mrealloc.o mvalloc.o mmap-sup.o attach.o detach.o \
                keys.o sbrk-sup.o
                keys.o sbrk-sup.o
DEFS =          @DEFS@
DEFS =          @DEFS@
# The current default is to build a single object module with all the mmalloc
# The current default is to build a single object module with all the mmalloc
# functions.  To build a more traditional library, flip this macro definition.
# functions.  To build a more traditional library, flip this macro definition.
#TARGETOBJS =   $(OFILES)
#TARGETOBJS =   $(OFILES)
TARGETOBJS =    mm.o
TARGETOBJS =    mm.o
.c.o:
.c.o:
                $(CC) -c $(CFLAGS) $(DEFS) -I. -I$(srcdir)/../include $<
                $(CC) -c $(CFLAGS) $(DEFS) -I. -I$(srcdir)/../include $<
# Do we want/need any config overrides?
# Do we want/need any config overrides?
#
#
STAGESTUFF =    $(TARGETLIB) *.o
STAGESTUFF =    $(TARGETLIB) *.o
all:            $(TARGETLIB)
all:            $(TARGETLIB)
info: mmalloc.info
info: mmalloc.info
dvi: mmalloc.dvi
dvi: mmalloc.dvi
clean-info:
clean-info:
installcheck:
installcheck:
mmalloc.info: mmalloc.texi
mmalloc.info: mmalloc.texi
        $(MAKEINFO) -I $(srcdir) -o ./mmalloc.info mmalloc.texi
        $(MAKEINFO) -I $(srcdir) -o ./mmalloc.info mmalloc.texi
# This file doesn't need texindex currently.
# This file doesn't need texindex currently.
mmalloc.dvi: mmalloc.texi
mmalloc.dvi: mmalloc.texi
        $(SET_TEXINPUTS) $(TEX) mmalloc.texi
        $(SET_TEXINPUTS) $(TEX) mmalloc.texi
        rm -f mmalloc.?? mmalloc.??s mmalloc.log mmalloc.aux mmalloc.toc
        rm -f mmalloc.?? mmalloc.??s mmalloc.log mmalloc.aux mmalloc.toc
install-info: info
install-info: info
        $(SHELL) $(srcdir)/../mkinstalldirs $(infodir)
        $(SHELL) $(srcdir)/../mkinstalldirs $(infodir)
        if test ! -f mmalloc.info ; then cd $(srcdir); fi; \
        if test ! -f mmalloc.info ; then cd $(srcdir); fi; \
        $(INSTALL_DATA) mmalloc.info $(infodir)/mmalloc.info
        $(INSTALL_DATA) mmalloc.info $(infodir)/mmalloc.info
        @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
        @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
          echo " install-info --info-dir=$(infodir) $(infodir)/mmalloc.info";\
          echo " install-info --info-dir=$(infodir) $(infodir)/mmalloc.info";\
          install-info --info-dir=$(infodir) $(infodir)/mmalloc.info || :;\
          install-info --info-dir=$(infodir) $(infodir)/mmalloc.info || :;\
        else : ; fi
        else : ; fi
check: test1.c
check: test1.c
#       $(CC) -g $(srcdir)/test1.c libmmalloc.a
#       $(CC) -g $(srcdir)/test1.c libmmalloc.a
# This loses for Canadian cross (building mmalloc with a cross-compiler).
# This loses for Canadian cross (building mmalloc with a cross-compiler).
# There is probably some dejagnu-ish solution (such as what we are doing
# There is probably some dejagnu-ish solution (such as what we are doing
# for gdb, perhaps).
# for gdb, perhaps).
#       ./a.out
#       ./a.out
install:        all
install:        all
                $(INSTALL_DATA) $(TARGETLIB) $(libdir)/$(TARGETLIB)n
                $(INSTALL_DATA) $(TARGETLIB) $(libdir)/$(TARGETLIB)n
                $(RANLIB) $(libdir)/$(TARGETLIB)n
                $(RANLIB) $(libdir)/$(TARGETLIB)n
                mv -f $(libdir)/$(TARGETLIB)n $(libdir)/$(TARGETLIB)
                mv -f $(libdir)/$(TARGETLIB)n $(libdir)/$(TARGETLIB)
$(TARGETLIB):   $(TARGETOBJS)
$(TARGETLIB):   $(TARGETOBJS)
                $(RM) -rf $@
                $(RM) -rf $@
                $(AR) $(AR_FLAGS) $@ $(TARGETOBJS)
                $(AR) $(AR_FLAGS) $@ $(TARGETOBJS)
                $(RANLIB) $@
                $(RANLIB) $@
$(OFILES) :     $(HFILES) Makefile
$(OFILES) :     $(HFILES) Makefile
mm.o:           $(HFILES) $(CFILES)
mm.o:           $(HFILES) $(CFILES)
                $(CC) -c $(CFLAGS) $(DEFS) -I. -I$(srcdir)/../include $(srcdir)/mm.c
                $(CC) -c $(CFLAGS) $(DEFS) -I. -I$(srcdir)/../include $(srcdir)/mm.c
.always.:
.always.:
# Do nothing.
# Do nothing.
.PHONEY: all etags tags ls clean stage1 stage2 .always.
.PHONEY: all etags tags ls clean stage1 stage2 .always.
stage1:         force
stage1:         force
                -mkdir stage1
                -mkdir stage1
                -mv -f $(STAGESTUFF) stage1
                -mv -f $(STAGESTUFF) stage1
stage2:         force
stage2:         force
                -mkdir stage2
                -mkdir stage2
                -mv -f $(STAGESTUFF) stage2
                -mv -f $(STAGESTUFF) stage2
stage3:         force
stage3:         force
                -mkdir stage3
                -mkdir stage3
                -mv -f $(STAGESTUFF) stage3
                -mv -f $(STAGESTUFF) stage3
stage4:         force
stage4:         force
                -mkdir stage4
                -mkdir stage4
                -mv -f $(STAGESTUFF) stage4
                -mv -f $(STAGESTUFF) stage4
against=stage2
against=stage2
comparison:     force
comparison:     force
                for i in *.o ; do cmp $$i $(against)/$$i || exit 1 ; done
                for i in *.o ; do cmp $$i $(against)/$$i || exit 1 ; done
de-stage1:      force
de-stage1:      force
                -(cd stage1 ; mv -f * ..)
                -(cd stage1 ; mv -f * ..)
                -rmdir stage1
                -rmdir stage1
de-stage2:      force
de-stage2:      force
                -(cd stage2 ; mv -f * ..)
                -(cd stage2 ; mv -f * ..)
                -rmdir stage2
                -rmdir stage2
de-stage3:      force
de-stage3:      force
                -(cd stage3 ; mv -f * ..)
                -(cd stage3 ; mv -f * ..)
                -rmdir stage3
                -rmdir stage3
de-stage4:      force
de-stage4:      force
                -(cd stage4 ; mv -f * ..)
                -(cd stage4 ; mv -f * ..)
                -rmdir stage4
                -rmdir stage4
etags tags:     TAGS
etags tags:     TAGS
TAGS:           $(CFILES)
TAGS:           $(CFILES)
        etags `for i in $(HFILES) $(CFILES); do echo $(srcdir)/$$i ; done`
        etags `for i in $(HFILES) $(CFILES); do echo $(srcdir)/$$i ; done`
ls:
ls:
                @echo Makefile $(HFILES) $(CFILES)
                @echo Makefile $(HFILES) $(CFILES)
# Need to deal with profiled libraries, too.
# Need to deal with profiled libraries, too.
mostlyclean clean:
mostlyclean clean:
                rm -f *.a *.o core errs *~ \#* TAGS *.E a.out errors
                rm -f *.a *.o core errs *~ \#* TAGS *.E a.out errors
distclean:      clean
distclean:      clean
                rm -f config.cache config.log config.status
                rm -f config.cache config.log config.status
                rm -f Makefile depend
                rm -f Makefile depend
maintainer-clean realclean: distclean clean
maintainer-clean realclean: distclean clean
                @echo "This command is intended for maintainers to use;"
                @echo "This command is intended for maintainers to use;"
                @echo "it deletes files that may require special tools to rebuild."
                @echo "it deletes files that may require special tools to rebuild."
                rm -f mmalloc.info
                rm -f mmalloc.info
force:
force:
Makefile:       Makefile.in config.status
Makefile:       Makefile.in config.status
                $(SHELL) config.status
                $(SHELL) config.status
config.status:  configure
config.status:  configure
                $(SHELL) config.status --recheck
                $(SHELL) config.status --recheck
 
 

powered by: WebSVN 2.1.0

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