home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / gdb-4.16-base.tgz / gdb-4.16-base.tar / fsf / gdb / utils / Makefile.in < prev   
Makefile  |  1995-10-10  |  3KB  |  118 lines

  1. #
  2. # Makefile
  3. #   Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation
  4. #
  5. # This file is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 2 of the License, or
  8. # (at your option) any later version.
  9. # This program is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. # GNU General Public License for more details.
  13. # You should have received a copy of the GNU General Public License
  14. # along with this program; if not, write to the Free Software
  15. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  16. #
  17.  
  18. #
  19. # Makefile for devo/util
  20. #
  21.  
  22. srcdir = .
  23.  
  24. prefix = /usr/local
  25.  
  26. exec_prefix = $(prefix)
  27. bindir = $(exec_prefix)/bin
  28. libdir = $(exec_prefix)/lib
  29. tooldir = $(exec_prefix)
  30.  
  31. SHELL = /bin/sh
  32.  
  33. INSTALL = `cd $(srcdir); pwd`/../../install.sh -c
  34. INSTALL_PROGRAM = $(INSTALL)
  35. INSTALL_DATA = $(INSTALL)
  36.  
  37. AR_FLAGS = qv
  38. MAKEINFO = makeinfo
  39.  
  40. SUBDIRS=
  41.  
  42. .NOEXPORT:
  43. MAKEOVERRIDES=
  44.  
  45. #### Host, target, and site specific Makefile fragments come in here.
  46. ###
  47.  
  48. # These are roughly topologically sorted in order to make porting more
  49. # streamlined.
  50. FLAGS_TO_PASS = \
  51.     "CC=$(CC)" \
  52.     "CFLAGS=$(CFLAGS)" \
  53.     "AR=$(AR)" \
  54.     "AR_FLAGS=$(AR_FLAGS)" \
  55.     "AS=$(AS)" \
  56.     "CROSS_CFLAGS=$(CROSS_CFLAGS)" \
  57.     "TARGET_CFLAGS=$(TARGET_CFLAGS)" \
  58.     "INCLUDES=$(INCLUDES)"
  59.  
  60. all:
  61.     @for dir in .. ${SUBDIRS}; do \
  62.     if [ x$${dir} != x.. ]; then \
  63.       if [ -d $$dir ]; then \
  64.         (rootme=`pwd`/ ; export rootme ; \
  65.         rootsrc=`cd $(srcdir); pwd`/ ; export rootsrc ; \
  66.         cd $$dir; $(MAKE) $(FLAGS_TO_PASS)); \
  67.         fi; \
  68.       fi; \
  69.     done
  70.  
  71. install:
  72.     @for dir in .. ${SUBDIRS}; do \
  73.     if [ x$${dir} != x.. ]; then \
  74.         echo "$$dir:"; \
  75.         if [ -d $$dir ]; then \
  76.         (cd $$dir; $(MAKE) install); \
  77.         fi; \
  78.         fi; \
  79.     done
  80.  
  81. clean mostlyclean:
  82.     -rm -f *~ core *.o a.out 
  83.     @for dir in .. ${SUBDIRS}; do \
  84.     if [ x$${dir} != x.. ]; then \
  85.         echo "$$dir:"; \
  86.         if [ -d $$dir ]; then \
  87.         (cd $$dir; $(MAKE) $@); \
  88.         fi; \
  89.         fi; \
  90.     done
  91.  
  92. distclean maintainer-clean realclean: clean
  93.     @for dir in .. ${SUBDIRS}; do \
  94.     if [ x$${dir} != x.. ]; then \
  95.         echo "$$dir:"; \
  96.         (cd $$dir; $(MAKE) $@); \
  97.         fi ; \
  98.     done
  99.     -rm -f *~ core
  100.     -rm -f Makefile config.status 
  101.  
  102. .PHONY: info install-info clean-info
  103. info:
  104. install-info:
  105. clean-info:
  106.  
  107. force:
  108.  
  109. Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag)
  110.     $(SHELL) config.status
  111.  
  112.  
  113.  
  114.  
  115.  
  116.