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

  1. #===================================================================
  2. #
  3. #   ULIOT.MAK - Makefile for Toolkit AVI IO Procedure
  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 = \
  28. checkmem.h \
  29. ff.h       \
  30. hhpheap.h  \
  31. ioi.h      \
  32. mmdsload.h \
  33. mmiocrt.h  \
  34. ulionls.h
  35.  
  36. #-------------------------------------------------------------------
  37. #
  38. #  Component specific requirements for compile flags
  39. #
  40. #-------------------------------------------------------------------
  41.  
  42. CC = $(CC) -Ge- -Sm -I. -DINCL_32
  43.  
  44. #-------------------------------------------------------------------
  45. #
  46. #   A list of all of the object files
  47. #
  48. #-------------------------------------------------------------------
  49.  
  50. OBJS = \
  51. $(OBJDIR)\CHECKMEM.obj \
  52. $(OBJDIR)\HHPHEAP.obj  \
  53. $(OBJDIR)\IOCLOSE.obj  \
  54. $(OBJDIR)\IOCODEC.obj  \
  55. $(OBJDIR)\IODLL.obj    \
  56. $(OBJDIR)\IOEDIT.obj   \
  57. $(OBJDIR)\IOENTRY.obj  \
  58. $(OBJDIR)\ioformat.obj \
  59. $(OBJDIR)\IOHEADER.obj \
  60. $(OBJDIR)\IOOPEN.obj   \
  61. $(OBJDIR)\IOSEEK.obj   \
  62. $(OBJDIR)\IOSET.obj    \
  63. $(OBJDIR)\IOSRV.obj    \
  64. $(OBJDIR)\ULCODEC.obj  \
  65. $(OBJDIR)\ULGDAT.obj   \
  66. $(OBJDIR)\ULIDENT.obj  \
  67. $(OBJDIR)\ULOPEN.obj   \
  68. $(OBJDIR)\ULREAD.obj   \
  69. $(OBJDIR)\ULSRV.obj
  70.  
  71.  
  72. ALL_IPF =
  73.  
  74. #-------------------------------------------------------------------
  75. #   This section lists all files to be built by the make.  The
  76. #   makefile builds the executible as well as its associated help
  77. #   file.
  78. #-------------------------------------------------------------------
  79. all: $(EXEDIR)\uliot.dll
  80.  
  81. #-------------------------------------------------------------------
  82. #   This section creates the command file used by the linker.  This
  83. #   command file is recreated automatically every time you change
  84. #   the object file list, linker flags, or library list.
  85. #-------------------------------------------------------------------
  86. #-------------------------------------------------------------------
  87. #   Dependencies
  88. #     This section lists all object files needed to be built for the
  89. #     application, along with the files it is dependent upon (e.g.
  90. #     its source and any header files).
  91. #-------------------------------------------------------------------
  92.  
  93. prodinfo.bmp :
  94.            copy ..\..\prodinfo.bmp $@
  95.  
  96.  
  97. $(EXEDIR)\uliot.dll: $(OBJS) uliot.def
  98.    -$(CREATE_PATH)
  99.    $(LINK) $@ uliot.def $(MTLIBS) $(MMLIBS) @<<$(OBJDIR)\uliot.lnk
  100. $(OBJS)
  101. <<
  102.  
  103. clean :
  104.         @if exist *.obj del *.obj
  105.         @if exist *.dll del *.dll
  106.         @if exist *.exe del *.exe
  107.