home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / misc / emu / AROSdev.lha / AROS / config / make.cfg < prev    next >
Encoding:
Text File  |  1997-02-07  |  1.6 KB  |  64 lines

  1. # The next line might generate an error but that's ok
  2. ifneq ($(TARGET),clean)
  3. include $(TOP)/config/host.cfg
  4. endif
  5.  
  6. VERSION=1.10
  7. CURDIR=.
  8. OS_INCLUDES=-I$(BINDIR)/include -I$(TOP)/amiga/include
  9. INCLUDES=$(USER_INCLUDES) $(OS_INCLUDES)
  10. CFLAGS=$(USER_DEFINES) $(COMMON_CFLAGS) $(SPECIAL_CFLAGS) $(INCLUDES)
  11. APPCFLAGS=$(USER_DEFINES) $(APP_CFLAGS) $(SPECIAL_CFLAGS) $(INCLUDES)
  12. AFLAGS=$(COMMON_AFLAGS) $(SPECIAL_AFLAGS)
  13. RM=rm -rf
  14. CP=cp -r
  15. MV=mv -f
  16. MKDIR=mkdir -p
  17. TOUCH=touch
  18. AR=ar r
  19. TARGET=all
  20.  
  21. PURIFY=$(TOP)/purify
  22.  
  23. CC=$(SYS_CC)
  24. AS=$(SYS_AS)
  25.  
  26. # Comment this line out to purify the source
  27. #CC=$(PURIFY) $(SYS_CC)
  28. #AS=$(PURIFY) $(SYS_AS)
  29.  
  30. # BINDIR is NOT the place where the executables are stored but where the
  31. # resulting binary files for a certain architecture are places. Exes are
  32. # in EXEDIR
  33. ARCHDIR=$(TOP)/bin/$(ARCH)-$(KERNEL)
  34.  
  35. # Compute depending paths
  36. BINDIR=$(ARCHDIR)/AROS
  37. EXEDIR=$(BINDIR)/c
  38. SDIR=$(BINDIR)/s
  39. LIBDIR=$(BINDIR)/lib
  40. DEVSDIR=$(BINDIR)/devs
  41. SLIBDIR=$(BINDIR)/libs
  42. TESTDIR=$(BINDIR)/test
  43. OSMODDIR=$(BINDIR)/os
  44. INCDIR=$(BINDIR)/include
  45.  
  46. # Generated files which are not distributed
  47. GENDIR=$(ARCHDIR)/gen
  48. OSGENDIR=$(GENDIR)/os
  49.  
  50. # Compute depending paths for standalone Amiga version
  51. BOOTGENDIR = $(GENDIR)/boot
  52.  
  53. # Don't try to regenerate host.cfg if we want to clean
  54. ifneq ($(TARGET),clean)
  55. # This is the first rule that is read by any makefile
  56. all : $(TOP)/config/host.cfg
  57.  
  58. # Generate $(TOP)/config/host.cfg if it doesn't exist yet. GNU make will
  59. # reread the makefile afterwards
  60. $(TOP)/config/host.cfg : $(TOP)/configure
  61.     sh $(TOP)/configure -m $(TOP)/config/host.cfg
  62.     -rm -f $(TOP)/$(GENDIR)/*.d $(TOP)/$(GENDIR)/*/*.d
  63. endif
  64.