home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / dmake40.zip / unix / sysvr3 / config.mk < prev    next >
Makefile  |  1994-10-23  |  777b  |  28 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 := 
  13. .IF $(OSDSRC)
  14.    SRC    += $(OSDSRC)
  15.    .SETDIR=$(osrdir) : $(OSDSRC)
  16. .END
  17.  
  18. .SOURCE.h : $(osrdir)
  19.  
  20. # Local configuration modifications for CFLAGS, there's local SysV includes
  21. # too.
  22. CFLAGS += -I$(osrdir)
  23.  
  24. # See if we modify anything in the lower levels.
  25. .IF $(OSENVIRONMENT) != $(NULL)
  26.    .INCLUDE .IGNORE : $(osrdir)$(DIRSEPSTR)$(OSENVIRONMENT)$(DIRSEPSTR)config.mk
  27. .END
  28.