home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Libraries / stdwin / Conf / proto.conf < prev    next >
Encoding:
Text File  |  1991-04-16  |  1.6 KB  |  64 lines  |  [TEXT/????]

  1.  
  2. #
  3. # Definitions pertaining to all configurations
  4. #
  5.  
  6. # Names for all the top-level subdirectories of the stdwin tree
  7. APPLS=        $(TOP)/Appls
  8. BUILD=        $(TOP)/Build
  9. CONF=        $(TOP)/Conf
  10. H=        $(TOP)/H
  11. PACKS=        $(TOP)/Packs
  12. PORTS=        $(TOP)/Ports
  13. TOOLS=        $(TOP)/Tools
  14.  
  15. # Names for subdirectories of $(PORTS)
  16. ALFA=        $(PORTS)/alfa
  17. X11=        $(PORTS)/x11
  18. GEN=        $(TOP)/Gen
  19. VTRM=        $(PORTS)/vtrm
  20. VTRM_ALL=    $(PORTS)/vtrm/vtrm.c
  21.  
  22. # Names for subdirectories of $(PACKS)
  23. TEXTEDIT=    $(TOP)/Packs/textedit
  24. VT=        $(TOP)/Packs/vt
  25.  
  26. # Names for all sources files to the textedit package --
  27. # this is used to include them in each port's library
  28. TEXTEDIT_PACK=    $(TEXTEDIT)/*.c
  29. VT_PACK=    $(VT)/vt*.c
  30.  
  31. # Build directory -- one for each port
  32. PORTBUILD=    $(TOP)/Build/$(ARCH)/$(PORT)
  33.  
  34. # C flags (include directories, definitions, options) used at all times
  35. CONFINCLS=    -I$(H)
  36. CONFDEFS=    
  37. CONFOPTS=    -g    # XXX should be OS or arch specific!
  38. CONFLIBS=    
  39.  
  40. # Construct CFLAGS from various sources
  41. # XXX does the order matter?
  42. INCLS=        $(OSINCLS) $(ARCHINCLS) $(PORTINCLS) $(CONFINCLS) $(SRCINCLS)
  43. DEFS=        $(OSDEFS) $(ARCHDEFS) $(PORTDEFS) $(CONFDEFS) $(SRCDEFS)
  44. OPTS=        $(OSOPTS) $(ARCHOPTS) $(PORTOPTS) $(CONFOPTS) $(SRCOPTS)
  45. CPPFLAGS=    $(INCLS) $(DEFS)
  46. CFLAGS=        $(CPPFLAGS) $(OPTS)
  47.  
  48. # Construct LIBS to link application with from various sources
  49. # XXX what is the right order?
  50. LIBS=        $(SRCLIBS) $(PORTLIBS) $(OSLIBS) $(ARCHLIBS) $(CONFLIBS)
  51.  
  52. # Ensure that "all" is the first target defined in this Makefile
  53. all:
  54.  
  55.  
  56. # Standard targets
  57.  
  58. # Target to add dependency rules to the Makefile (in place!)
  59. depend:
  60.         $(MKDEP) $(CFLAGS) $(SRCS)
  61.  
  62. # XXX There should be standard targets tags, clean, etc.
  63.  
  64.