home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c083 / 21.ddi / BCEXAMS.PAK / BIDSMAKE.GEN next >
Encoding:
Text File  |  1993-12-02  |  1.4 KB  |  62 lines

  1. #----------------------------------------------------------------------------
  2. # (C) Copyright 1993 by Borland International
  3. #   examples\bidsmake.gen
  4. #----------------------------------------------------------------------------
  5.  
  6. !ifndef SYSTEMS
  7. SYSTEMS = WIN16 DOS16 CON32
  8. !endif
  9.  
  10. #
  11. # 32 bit bids examples are CON32 by default
  12. # This may be overridden in the local makefile
  13. #
  14. !ifndef SYSTEM
  15. ! if $d(CON32) || "$(MODEL)"=="f"
  16. SYSTEM  = CON32
  17. ! endif
  18. !endif
  19.  
  20. !include $(BCEXAMPLEDIR)\makefile.gen
  21.  
  22. !ifdef USEDLL
  23. CFLAGS = $(CFLAGS) -D_BIDSDLL
  24. !endif
  25.  
  26. #----------------------------------------------------------------------------
  27. # additional libraries for BIDS
  28. #----------------------------------------------------------------------------
  29.  
  30. # determine library name suffix based upon model
  31. #
  32. !if $(_32BIT_)
  33. ! ifdef USEDLL
  34. _SFX_ = fi
  35. ! else
  36. _SFX_ = f
  37. ! endif
  38. !else #WIN16 or DOS16
  39. ! ifdef USEDLL
  40. _SFX_ = i
  41. ! else
  42. _SFX_ = $(MODEL)
  43. ! endif
  44. !endif
  45. #
  46. # select suffix for alternate library if diagnostics enabled
  47. #
  48. !if $(DIAGS)
  49. ! if $d(USEDLL) || $(_32BIT_)
  50. BIDSSFX = d$(_SFX_)
  51. ! else # 16-bit static
  52. BIDSSFX = db$(_SFX_)  #use 'db' for 16 bit static for compatibility
  53. ! endif
  54. !else # no diags
  55. BIDSSFX = $(_SFX_)
  56. !endif
  57. #
  58. # add BIDS library before standard runtime libraries
  59. #
  60. BIDSLIBS = $(BCLIBDIR)\bids$(BIDSSFX)
  61. STDLIBS = $(BIDSLIBS) $(STDLIBS)
  62.