home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 545b.lha / RexxHS / sas / lmkfile < prev    next >
Encoding:
Text File  |  1991-09-07  |  968 b   |  45 lines

  1. #
  2. # SAS/C lmkfile for creating an ARexx function library called
  3. # 'rexxhs.library'
  4. #
  5.  
  6. PREFIX= _LIB                       # prefix for library functions
  7. ID    = "RexxHostSupport 1.0 (July 15/91)\r\n"  # ID string
  8. FD    = rexxhs.fd                  # FD file
  9. LIBS  = lib:lc.lib                 # libraries to link with, if any
  10. ARLIB = rexxhs.library             # name of library
  11.  
  12. # Add object files to this list...
  13.  
  14. OBJS  = libent.o libinit.o sasglue.o rexxhs.o
  15.  
  16. #
  17. # Create the library...
  18. #
  19.  
  20. $(ARLIB): $(OBJS)
  21.     blink LIBPREFIX $(PREFIX) LIBID $(ID) LIBFD $(FD) \
  22.           TO $(ARLIB) FROM $(OBJS) LIB $(LIBS)
  23.     copy $(ARLIB) libs:
  24.  
  25. #
  26. # Customize arexxlib.c to add your functions
  27. #
  28.  
  29. rexxhs.o: rexxhs.c
  30.     lc -ml -v -d_USEOLDEXEC_ rexxhs.c
  31.  
  32. sasglue.o: sasglue.a
  33.     asm -u sasglue.a
  34.  
  35. #
  36. # Copy these files from the 'source' directory in your SAS volume
  37. #
  38.  
  39. libinit.o: libinit.c
  40.     lc -ml -v -d_USEOLDEXEC_ libinit.c
  41.  
  42. libent.o: libent.a
  43.     asm -u -iinclude: libent.a
  44.  
  45.