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