Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

84 lines
2.1 KiB

  1. #
  2. # Copyright (C) Microsoft Corporation 1990-1993. All Rights reserved.
  3. #
  4. # goal Create executables (default).
  5. # clean Remove all files created by any goal.
  6. #
  7. # DEBUG =YES Create debug version and define "DEBUG" (default).
  8. # =NO Create non-debug version.
  9. # STRICT =YES Define STRICT
  10. # = No strict definition (default).
  11. LRES =.
  12. ROOT =\nt\private\windows\media\avi
  13. LANG =usa
  14. NAME =compman
  15. EXT =lib
  16. ROOT =..
  17. OBJS =$(LOBJ)\compman.obj $(LOBJ)\icm.obj
  18. GOALS =$(PLIB)\$(NAME).$(EXT) $(PINC)\$(NAME).h $(PINC)\compddk.h $(PINC)\icm.rc
  19. !if "$(NTDEBUG)" == ""
  20. DEF =
  21. CDEBUG =
  22. ADEBUG =
  23. DEBUG =RETAIL
  24. LOBJ =retail
  25. !else
  26. DEF =-DDEBUG
  27. CDEBUG =-Zid $(DEF)
  28. ADEBUG =-Zi $(DEF)
  29. DEBUG =DEBUG
  30. LOBJ =debug
  31. !endif
  32. !if "$(STRICT)" == "YES"
  33. TYPES =-DSTRICT
  34. !else
  35. TYPES =
  36. !endif
  37. CFLAGS =-DWIN16 -DWIN31 -Asnw -Oxwt $(TYPES) $(CDEBUG) -I. -Fd$* -Fo$@
  38. AFLAGS =-D?MEDIUM -D?QUIET $(ADEBUG)
  39. IS_16 =TRUE
  40. IS_SDK =TRUE
  41. WANT_286 =TRUE
  42. IS_PRIVATE =FALSE # Temporary until shlobj.h is added to sdk
  43. !include $(ROOT)\bin.16\project.mk
  44. $(LOBJ)\compman.obj: $$(@B).c compman.h compddk.h ..\inc.16\icm.rc ..\inc.16\vfw.h ..\inc.16\avifmt.h ..\inc.16\avifile.h
  45. @$(CL) @<<
  46. $(CFLAGS) -NT COMPMAN $(@B).c
  47. <<
  48. $(LOBJ)\icm.obj: icm.c compman.h compddk.h ..\inc.16\icm.rc ..\inc.16\vfw.h ..\inc.16\avifmt.h ..\inc.16\avifile.h ..\inc.16\aviiface.h ..\inc.16\msvideo.h ..\inc.16\avicap.h
  49. @$(CL) @<<
  50. $(CFLAGS) -NT ICMDLG $(@B).c
  51. <<
  52. #Weird kludge, copy the dialog to the inc directory for MSVIDEO inclusion
  53. ..\inc.16\icm.rc: res\$(LANG)\$$(@F)
  54. @copy res\$(LANG)\$(@F) $@
  55. @copy res\$(LANG)\$(@F) $(PINC)
  56. $(PINC)\vfw.h $(PINC)\avifmt.h: ..\inc.16\$$(@F)
  57. @copy ..\inc.16\$(@F) $@
  58. $(PINC)\avifile.h $(PINC)\aviiface.h: ..\avifile.16\$$(@F)
  59. @copy ..\avifile.16\$(@F) $@
  60. $(PINC)\msvideo.h: ..\msvideo.16\$$(@F)
  61. @copy ..\msvideo.16\$(@F) $@
  62. $(PINC)\avicap.h: ..\avicap.16\$$(@F)
  63. @copy ..\avicap.16\$(@F) $@
  64. $(PINC)\$(NAME).h: $(NAME).h
  65. @copy $(@F) $@
  66. $(PINC)\compddk.h: compddk.h
  67. @copy $(@F) $@