home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / GCC / GERLIB_USR08B.LHA / gerlib / support / unix / local / config.mk next >
Encoding:
Makefile  |  1993-12-12  |  734 b   |  26 lines

  1. # This is the SysV R3 UNIX configuration file for DMAKE
  2. #    It simply modifies the values of SRC, and checks to see if
  3. #    OSENVIRONMENT is defined.  If so it includes the appropriate
  4. #    config.mk file.
  5. #
  6. # It also sets the values of .SOURCE.c and .SOURCE.h to include the local
  7. # directory.
  8. #
  9. osrdir := $(OS)$(DIRSEPSTR)$(OSRELEASE)
  10.  
  11. # The following are required sources
  12. OSDSRC := runargv.c
  13. SRC    += $(OSDSRC)
  14. .SETDIR=$(osrdir) : $(OSDSRC)
  15.  
  16. .SOURCE.h : $(osrdir)
  17.  
  18. # Local configuration modifications for CFLAGS, there's local SysV includes
  19. # too.
  20. CFLAGS += -I$(osrdir)
  21.  
  22. # See if we modify anything in the lower levels.
  23. .IF $(OSENVIRONMENT) != $(NULL)
  24.    .INCLUDE .IGNORE : $(osrdir)$(DIRSEPSTR)$(OSENVIRONMENT)$(DIRSEPSTR)config.mk
  25. .END
  26.