home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / software / BBSDOORW / UUPC11XS.ZIP / LIB / LIB.MAK < prev    next >
Text File  |  1992-12-06  |  3KB  |  89 lines

  1. #     $Header: E:\SRC\UUPC\LIB\RCS\lib.mak 1.4 1992/11/27 14:37:34 ahd Exp $
  2. #
  3. #     Revision history:
  4. #     $Log: lib.mak $
  5. #    Revision 1.4  1992/11/27  14:37:34  ahd
  6. #    Add scrsize() to build
  7. #
  8. #       Revision 1.3  1992/11/23  02:46:06  ahd
  9. #       Addd strpool and normalize to build list
  10. #
  11. #       Revision 1.2  1992/11/17  13:47:42  ahd
  12. #       Drop type of input file
  13. #
  14.  
  15. !include $(UUPCDEFS)
  16.  
  17. .c.obj:
  18.   $(CC) -c $(CCX) -I$: { $<}
  19.  
  20. .asm.obj:
  21.         $(TASM) $(TASMOPT) $<,$(OBJ)\$&;
  22.  
  23. .path.c   = $(LIB)
  24.  
  25. #       The names of various object files that we create.
  26.  
  27. LIBLST1=+$(OBJ)\arbmath.obj+$(OBJ)\arpadate.obj+$(OBJ)\bugout.obj\
  28.         +$(OBJ)\catcher.obj+$(OBJ)\chdir.obj+$(OBJ)\checkptr.obj\
  29.         +$(OBJ)\configur.obj+$(OBJ)\dater.obj+$(OBJ)\expath.obj
  30. LIBLST2=+$(OBJ)\export.obj+$(OBJ)\filebkup.obj+$(OBJ)\fopen.obj\
  31.         +$(OBJ)\getargs.obj+$(OBJ)\getopt.obj+$(OBJ)\getseq.obj\
  32.         +$(OBJ)\hostable.obj+$(OBJ)\hostatus.obj
  33. LIBLST3=+$(OBJ)\hostrset.obj+$(OBJ)\import.obj+$(OBJ)\importng.obj\
  34.         +$(OBJ)\kanjicnv.obj+$(OBJ)\lock.obj+$(OBJ)\logger.obj\
  35.         +$(OBJ)\mkdir.obj+$(OBJ)\mkfilenm.obj+$(OBJ)\mkmbox.obj
  36. LIBLST4=+$(OBJ)\mktempnm.obj+$(OBJ)\ndir.obj+$(OBJ)\printerr.obj\
  37.         +$(OBJ)\printmsg.obj+$(OBJ)\pushpop.obj+$(OBJ)\readnext.obj\
  38.         +$(OBJ)\rename.obj+$(OBJ)\safeio.obj+$(OBJ)\normaliz.obj
  39. LIBLST5=+$(OBJ)\safeout.obj+$(OBJ)\security.obj+$(OBJ)\ssleep.obj\
  40.         +$(OBJ)\stater.obj+$(OBJ)\usertabl.obj+$(OBJ)\validcmd.obj\
  41.         +$(OBJ)\scrsize.obj+$(OBJ)\strpool.obj\
  42.         +$(TIMESTMP)
  43.  
  44. LIBALL = $(LIBLST1:+= ) $(LIBLST2:+= ) $(LIBLST3:+= ) $(LIBLST4:+= ) $(LIBLST5:+= )
  45.  
  46. # *--------------------------------------------------------------------*
  47. # *     Force a regeneration of the time stamp/version module.         *
  48. # *--------------------------------------------------------------------*
  49.  
  50. regen:  $(LIB)\timestmp.c
  51.         - erase $(TIMESTMP)
  52.  
  53. # *--------------------------------------------------------------------*
  54. # *     The timestamp module has a reference to this MAKEFILE,         *
  55. # *     which insures whenever we change the version number the        *
  56. # *     time stamp gets re-generated.                                  *
  57. # *--------------------------------------------------------------------*
  58.  
  59. $(TIMESTMP): $(LIB)\timestmp.c $(UUPCCFG) $(REGEN) \
  60.                 $(MAKEFILE) \
  61.                 $(LIB)\lib.mak \
  62.                 $(MAIL)\mail.mak \
  63.                 $(UUCP)\uucp.mak \
  64.                 $(UUCICO)\uucico.mak \
  65.                 $(UTIL)\util.mak
  66.  
  67. # *--------------------------------------------------------------------*
  68. # *     Common library build                                           *
  69. # *--------------------------------------------------------------------*
  70.  
  71. $(UUPCLIB): $(LIBALL) $(LIB)\lib.mak
  72.         erase $<
  73.         TLIB /C /E $< @&&|
  74. $(LIBLST1) &
  75. $(LIBLST2) &
  76. $(LIBLST3) &
  77. $(LIBLST4) &
  78. $(LIBLST5)
  79. $&
  80. |
  81.         - erase $(TEMP)\$&.BAK
  82.  
  83. # *--------------------------------------------------------------------*
  84. # *               We don't optimize the sleep routine!                 *
  85. # *--------------------------------------------------------------------*
  86.  
  87. ssleep.obj: ssleep.c
  88.         $(CC) -c $(CCX) -Od -I$: { $<}
  89.