home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / samples / mm / fssht / fssht.mak < prev    next >
Makefile  |  1999-05-11  |  3KB  |  99 lines

  1. #===================================================================
  2. #
  3. #   FSSHT.MAK - Make file for Toolkit File System Stream Handler
  4. #   Copyright  IBM Corporation 1992
  5. #
  6. #===================================================================
  7. #===================================================================
  8. # Include the file ibmsamp.inc which defines the various macros
  9. # depending on the target specified.
  10. #
  11. # The following macros are defined in ibmsamp.inc:
  12. #
  13. #       OBJDIR   - Directory where object files are created
  14. #       EXEDIR   - Directory where executable files are created
  15. #       RC       - Resource compiler
  16. #       RCFLAGS  - Resource compiler flags
  17. #       LINK     - Linker
  18. #       LFLAGS   - Linker flags
  19. #       MTLIBS   - Multithreaded versions of the runtime libraries
  20. #       MMLIBS   - Multimedia libraries
  21. #===================================================================
  22.  
  23. !include ..\..\ibmsamp.inc
  24.  
  25.  
  26.  
  27. HEADERS = fssh.h hhpheap.h seekcalc.h shi.h shifwd.h
  28. #-------------------------------------------------------------------
  29. #
  30. #  Component specific requirements for compile flags
  31. #
  32. #-------------------------------------------------------------------
  33.  
  34. CC = $(CC) -Ge- -Sm -DINCL_32 /DINCL_NEWSH -I.
  35.  
  36. #-------------------------------------------------------------------
  37. #
  38. #   A list of all of the object files
  39. #
  40. #-------------------------------------------------------------------
  41.  
  42. OBJS = \
  43. $(OBJDIR)\fsshread.obj \
  44. $(OBJDIR)\fsshgdat.obj \
  45. $(OBJDIR)\fsshwrit.obj \
  46. $(OBJDIR)\shioutil.obj \
  47. $(OBJDIR)\shmisc.obj   \
  48. $(OBJDIR)\shrouter.obj \
  49. $(OBJDIR)\shstart.obj  \
  50. $(OBJDIR)\shstop.obj   \
  51. $(OBJDIR)\fsshseek.obj \
  52. $(OBJDIR)\fsshass.obj  \
  53. $(OBJDIR)\hhpheap.obj  \
  54. $(OBJDIR)\seekcalc.obj \
  55. $(OBJDIR)\fsshcrea.obj \
  56. $(OBJDIR)\shnegot.obj  \
  57. $(OBJDIR)\shdestry.obj \
  58. $(OBJDIR)\shgprot.obj  \
  59. $(OBJDIR)\sheprot.obj  \
  60. $(OBJDIR)\shiprot.obj  \
  61. $(OBJDIR)\shinit.obj
  62.  
  63.  
  64. ALL_IPF =
  65.  
  66. #-------------------------------------------------------------------
  67. #   This section lists all files to be built by the make.  The
  68. #   makefile builds the executible as well as its associated help
  69. #   file.
  70. #-------------------------------------------------------------------
  71. all: $(EXEDIR)\fssht.dll
  72.  
  73. #-------------------------------------------------------------------
  74. #   This section creates the command file used by the linker.  This
  75. #   command file is recreated automatically every time you change
  76. #   the object file list, linker flags, or library list.
  77. #-------------------------------------------------------------------
  78. #-------------------------------------------------------------------
  79. #   Dependencies
  80. #     This section lists all object files needed to be built for the
  81. #     application, along with the files it is dependent upon (e.g.
  82. #     its source and any header files).
  83. #-------------------------------------------------------------------
  84.  
  85. prodinfo.bmp :
  86.            copy ..\..\prodinfo.bmp $@
  87.  
  88.  
  89. $(EXEDIR)\fssht.dll: $(OBJS) fssht.def
  90.    -$(CREATE_PATH)
  91.    $(LINK) $@ fssht.def $(MTLIBS) $(MMLIBS) @<<$(OBJDIR)\fssht.lnk
  92. $(OBJS)
  93. <<
  94.  
  95. clean :
  96.         @if exist *.obj del *.obj
  97.         @if exist *.dll del *.dll
  98.         @if exist *.exe del *.exe
  99.