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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [gdb/] [tui/] [Makefile.in] - Diff between revs 107 and 1765

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

Rev 107 Rev 1765
# Copyright 1998 Free Software Foundation, Inc.
# Copyright 1998 Free Software Foundation, Inc.
# This file is part of GDB.
# This file is part of GDB.
# This program is free software; you can redistribute it and/or modify
# 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
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# (at your option) any later version.
#
#
# This program is distributed in the hope that it will be useful,
# This program 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
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# GNU General Public License for more details.
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
all: libtui.a
all: libtui.a
srcdir=@srcdir@
srcdir=@srcdir@
VPATH = @srcdir@
VPATH = @srcdir@
SHELL = @SHELL@
SHELL = @SHELL@
CC=@CC@
CC=@CC@
CFLAGS=@CFLAGS@
CFLAGS=@CFLAGS@
AR=@AR@
AR=@AR@
RANLIB=@RANLIB@
RANLIB=@RANLIB@
# Host and target-dependent makefile fragments come in here.
# Host and target-dependent makefile fragments come in here.
@host_makefile_frag@
@host_makefile_frag@
@target_makefile_frag@
@target_makefile_frag@
# End of host and target-dependent makefile fragments
# End of host and target-dependent makefile fragments
# Where is our "include" directory?  Typically $(srcdir)/../include.
# Where is our "include" directory?  Typically $(srcdir)/../include.
# This is essentially the header file directory for the library
# This is essentially the header file directory for the library
# routines in libiberty.
# routines in libiberty.
INCLUDE_DIR =  $(srcdir)/../../include
INCLUDE_DIR =  $(srcdir)/../../include
INCLUDE_CFLAGS = -I$(INCLUDE_DIR)
INCLUDE_CFLAGS = -I$(INCLUDE_DIR)
# Configured by the --with-mmalloc option to configure.
# Configured by the --with-mmalloc option to configure.
MMALLOC = @MMALLOC@
MMALLOC = @MMALLOC@
MMALLOC_CFLAGS = @MMALLOC_CFLAGS@
MMALLOC_CFLAGS = @MMALLOC_CFLAGS@
# Where is the BFD library?  Typically in ../bfd.
# Where is the BFD library?  Typically in ../bfd.
BFD_DIR = ../../bfd
BFD_DIR = ../../bfd
BFD_SRC = $(srcdir)/$(BFD_DIR)
BFD_SRC = $(srcdir)/$(BFD_DIR)
BFD_CFLAGS = -I$(BFD_DIR) -I$(BFD_SRC)
BFD_CFLAGS = -I$(BFD_DIR) -I$(BFD_SRC)
# Where is the READLINE library?  Typically in ../readline.
# Where is the READLINE library?  Typically in ../readline.
READLINE_DIR = ../../readline
READLINE_DIR = ../../readline
READLINE_SRC = $(srcdir)/$(READLINE_DIR)
READLINE_SRC = $(srcdir)/$(READLINE_DIR)
READLINE_CFLAGS = -I$(READLINE_SRC)
READLINE_CFLAGS = -I$(READLINE_SRC)
# Where is the INTL library?  Typically in ../intl.
# Where is the INTL library?  Typically in ../intl.
INTL_DIR = ../../intl
INTL_DIR = ../../intl
INTL_SRC = $(srcdir)/$(INTL_DIR)
INTL_SRC = $(srcdir)/$(INTL_DIR)
INTL_CFLAGS = -I$(INTL_DIR) -I$(INTL_SRC)
INTL_CFLAGS = -I$(INTL_DIR) -I$(INTL_SRC)
# Where is the TCL library?  Typically in ../tcl.
# Where is the TCL library?  Typically in ../tcl.
TCL_CFLAGS = @TCLHDIR@
TCL_CFLAGS = @TCLHDIR@
# Where is the TK library?  Typically in ../tk.
# Where is the TK library?  Typically in ../tk.
TK_CFLAGS = @TKHDIR@ @TK_BUILD_INCLUDES@
TK_CFLAGS = @TKHDIR@ @TK_BUILD_INCLUDES@
# Where is Itcl?  Typically in ../itcl.
# Where is Itcl?  Typically in ../itcl.
ITCL_CFLAGS = @ITCLHDIR@
ITCL_CFLAGS = @ITCLHDIR@
# Where is Tix?  Typically in ../tix.
# Where is Tix?  Typically in ../tix.
TIX_CFLAGS = @TIXHDIR@
TIX_CFLAGS = @TIXHDIR@
X11_CFLAGS = @TK_XINCLUDES@
X11_CFLAGS = @TK_XINCLUDES@
ENABLE_IDE= @ENABLE_IDE@
ENABLE_IDE= @ENABLE_IDE@
GUI_CFLAGS_X = -I$(srcdir)/../../libgui/src
GUI_CFLAGS_X = -I$(srcdir)/../../libgui/src
IDE_CFLAGS_X = -I$(srcdir)/../../libidetcl/src -I$(srcdir)/../../libide/src \
IDE_CFLAGS_X = -I$(srcdir)/../../libidetcl/src -I$(srcdir)/../../libide/src \
  `if [ x"$(ENABLE_IDE)" != x ] ; then \
  `if [ x"$(ENABLE_IDE)" != x ] ; then \
    echo -DIDE -I$(srcdir)/../../ilu/runtime/mainloop;\
    echo -DIDE -I$(srcdir)/../../ilu/runtime/mainloop;\
  fi`
  fi`
IDE_CFLAGS=$(GUI_CFLAGS_X) $(IDE_CFLAGS_X)
IDE_CFLAGS=$(GUI_CFLAGS_X) $(IDE_CFLAGS_X)
ENABLE_CFLAGS= @ENABLE_CFLAGS@
ENABLE_CFLAGS= @ENABLE_CFLAGS@
# -I. for config files.
# -I. for config files.
# -I$(srcdir) for gdb internal headers and possibly for gnu-regex.h also.
# -I$(srcdir) for gdb internal headers and possibly for gnu-regex.h also.
# -I$(srcdir)/config for more generic config files.
# -I$(srcdir)/config for more generic config files.
# It is also possible that you will need to add -I/usr/include/sys if
# It is also possible that you will need to add -I/usr/include/sys if
# your system doesn't have fcntl.h in /usr/include (which is where it
# your system doesn't have fcntl.h in /usr/include (which is where it
# should be according to Posix).
# should be according to Posix).
DEFS = @DEFS@
DEFS = @DEFS@
GDB_CFLAGS = -I. -I.. -I$(srcdir) -I$(srcdir)/.. -I$(srcdir)/../config $(DEFS)
GDB_CFLAGS = -I. -I.. -I$(srcdir) -I$(srcdir)/.. -I$(srcdir)/../config $(DEFS)
# M{H,T}_CFLAGS, if defined, have host- and target-dependent CFLAGS
# M{H,T}_CFLAGS, if defined, have host- and target-dependent CFLAGS
# from the config directory.
# from the config directory.
GLOBAL_CFLAGS = $(MT_CFLAGS) $(MH_CFLAGS)
GLOBAL_CFLAGS = $(MT_CFLAGS) $(MH_CFLAGS)
#PROFILE_CFLAGS = -pg
#PROFILE_CFLAGS = -pg
# INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
# INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
INTERNAL_CFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) \
INTERNAL_CFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) \
        $(GDB_CFLAGS) $(READLINE_CFLAGS) $(BFD_CFLAGS) \
        $(GDB_CFLAGS) $(READLINE_CFLAGS) $(BFD_CFLAGS) \
        $(MMALLOC_CFLAGS) $(INCLUDE_CFLAGS) $(INTL_CFLAGS) \
        $(MMALLOC_CFLAGS) $(INCLUDE_CFLAGS) $(INTL_CFLAGS) \
        $(ENABLE_CFLAGS)
        $(ENABLE_CFLAGS)
HEADERS = tuiIO.h tuiData.h tuiGeneralWin.h tuiLayout.h tuiStack.h \
HEADERS = tuiIO.h tuiData.h tuiGeneralWin.h tuiLayout.h tuiStack.h \
          tuiSource.h tuiCommand.h tuiWin.h tuiDisassem.h \
          tuiSource.h tuiCommand.h tuiWin.h tuiDisassem.h \
          tuiSourceWin.h tuiRegs.h tuiDataWin.h
          tuiSourceWin.h tuiRegs.h tuiDataWin.h
SOURCES = tui.c tuiData.c tuiSource.c tuiStack.c tuiIO.c \
SOURCES = tui.c tuiData.c tuiSource.c tuiStack.c tuiIO.c \
          tuiGeneralWin.c tuiLayout.c tuiWin.c tuiCommand.c \
          tuiGeneralWin.c tuiLayout.c tuiWin.c tuiCommand.c \
          tuiDisassem.c tuiSourceWin.c tuiRegs.c tuiDataWin.c
          tuiDisassem.c tuiSourceWin.c tuiRegs.c tuiDataWin.c
OBJECTS = tui.o tuiData.o tuiSource.o tuiStack.o tuiIO.o \
OBJECTS = tui.o tuiData.o tuiSource.o tuiStack.o tuiIO.o \
          tuiGeneralWin.o tuiLayout.o tuiWin.o tuiCommand.o \
          tuiGeneralWin.o tuiLayout.o tuiWin.o tuiCommand.o \
          tuiDisassem.o tuiSourceWin.o tuiRegs.o tuiDataWin.o \
          tuiDisassem.o tuiSourceWin.o tuiRegs.o tuiDataWin.o \
          tuiInit.o
          tuiInit.o
# Prevent Sun make from putting in the machine type.  Setting
# Prevent Sun make from putting in the machine type.  Setting
# TARGET_ARCH to nothing works for SunOS 3, 4.0, but not for 4.1.
# TARGET_ARCH to nothing works for SunOS 3, 4.0, but not for 4.1.
.c.o:
.c.o:
        $(CC) -c $(INTERNAL_CFLAGS) $<
        $(CC) -c $(INTERNAL_CFLAGS) $<
.SUFFIXES: .cpp
.SUFFIXES: .cpp
.c.cpp:
.c.cpp:
        $(CC) -E $(INTERNAL_CFLAGS) $< > $@
        $(CC) -E $(INTERNAL_CFLAGS) $< > $@
libtui.a: $(OBJECTS)
libtui.a: $(OBJECTS)
        rm -f libtui.a
        rm -f libtui.a
        $(AR) rc libtui.a $(OBJECTS)
        $(AR) rc libtui.a $(OBJECTS)
        $(RANLIB) libtui.a
        $(RANLIB) libtui.a
tui.o: tui.c tui.h tuiData.h tuiLayout.h tuiIO.h tuiRegs.h tuiWin.h
tui.o: tui.c tui.h tuiData.h tuiLayout.h tuiIO.h tuiRegs.h tuiWin.h
tuiCommand.o: tui.h tuiData.h tuiWin.h tuiIO.h
tuiCommand.o: tui.h tuiData.h tuiWin.h tuiIO.h
tuiData.o: tui.h tuiData.h
tuiData.o: tui.h tuiData.h
tuiDataWin.o: tui.h tuiData.h tuiRegs.h
tuiDataWin.o: tui.h tuiData.h tuiRegs.h
tuiDisassem.o: tui.h tuiData.h tuiLayout.h tuiSourceWin.h tuiStack.h
tuiDisassem.o: tui.h tuiData.h tuiLayout.h tuiSourceWin.h tuiStack.h
tuiGeneralWin.o: tui.h tuiData.h tuiGeneralWin.h
tuiGeneralWin.o: tui.h tuiData.h tuiGeneralWin.h
tuiIO.o: tui.h tuiData.h tuiIO.h tuiCommand.h tuiWin.h
tuiIO.o: tui.h tuiData.h tuiIO.h tuiCommand.h tuiWin.h
tuiLayout.o: tui.h tuiData.h tuiGeneralWin.h tuiStack.h tuiRegs.h \
tuiLayout.o: tui.h tuiData.h tuiGeneralWin.h tuiStack.h tuiRegs.h \
        tuiDisassem.h
        tuiDisassem.h
tuiRegs.o: tui.h tuiData.h tuiLayout.h tuiWin.h
tuiRegs.o: tui.h tuiData.h tuiLayout.h tuiWin.h
tuiSource.o: tui.h tuiData.h tuiStack.h tuiSourceWin.h tuiSource.h
tuiSource.o: tui.h tuiData.h tuiStack.h tuiSourceWin.h tuiSource.h
tuiSourceWin.o: tui.h tuiData.h tuiStack.h tuiSourceWin.h tuiSource.h \
tuiSourceWin.o: tui.h tuiData.h tuiStack.h tuiSourceWin.h tuiSource.h \
        tuiDisassem.h
        tuiDisassem.h
tuiStack.o: tui.h tuiData.h tuiStack.h tuiSourceWin.h
tuiStack.o: tui.h tuiData.h tuiStack.h tuiSourceWin.h
tuiWin.o: tui.h tuiData.h tuiGeneralWin.h tuiStack.h tuiSourceWin.h \
tuiWin.o: tui.h tuiData.h tuiGeneralWin.h tuiStack.h tuiSourceWin.h \
        tuiDataWin.h
        tuiDataWin.h
tuiInit.o: tuiInit.c
tuiInit.o: tuiInit.c
tuiInit.c: $(SOURCES)
tuiInit.c: $(SOURCES)
        @echo Making tuiInit.c
        @echo Making tuiInit.c
        @rm -f init.c-tmp
        @rm -f init.c-tmp
        @echo '/* Do not modify this file.  */' >init.c-tmp
        @echo '/* Do not modify this file.  */' >init.c-tmp
        @echo '/* It is created automatically by the Makefile.  */'>>init.c-tmp
        @echo '/* It is created automatically by the Makefile.  */'>>init.c-tmp
        @echo '#include "ansidecl.h"' >>init.c-tmp
        @echo '#include "ansidecl.h"' >>init.c-tmp
        @echo 'extern void initialize_tui_files PARAMS ((void));' >>init.c-tmp
        @echo 'extern void initialize_tui_files PARAMS ((void));' >>init.c-tmp
        @echo 'void initialize_tui_files PARAMS ((void)) {' >>init.c-tmp
        @echo 'void initialize_tui_files PARAMS ((void)) {' >>init.c-tmp
        @-( cd $(srcdir) ; grep '^_initialize_[a-z_0-9A-Z]* *(' $(SOURCES) ) 2>/dev/null \
        @-( cd $(srcdir) ; grep '^_initialize_[a-z_0-9A-Z]* *(' $(SOURCES) ) 2>/dev/null \
        | sed -e 's/^.*://' -e 's/^\([a-z_0-9A-Z]*\).*/  {extern void \1 PARAMS ((void)); \1 ();}/' >>init.c-tmp
        | sed -e 's/^.*://' -e 's/^\([a-z_0-9A-Z]*\).*/  {extern void \1 PARAMS ((void)); \1 ();}/' >>init.c-tmp
        @echo '}' >>init.c-tmp
        @echo '}' >>init.c-tmp
        @mv init.c-tmp tuiInit.c
        @mv init.c-tmp tuiInit.c
clean mostlyclean:
clean mostlyclean:
        -rm -f *.o *.a
        -rm -f *.o *.a
distclean maintainer-clean realclean: clean
distclean maintainer-clean realclean: clean
        -rm -f Makefile config.log config.cache
        -rm -f Makefile config.log config.cache
 
 

powered by: WebSVN 2.1.0

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