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.

70 lines
1.6 KiB

  1. NAME =compman
  2. EXT =lib
  3. ROOT =..\..\..
  4. OBJS =compman.obj icm.obj thunk.obj
  5. LIBS =
  6. GOALS =$(PLIB)\$(NAME).$(EXT) $(PINC)\$(NAME).h $(PINC)\compddk.h $(PINC)\icm.rc
  7. !if "$(DEBUG)" == "retail"
  8. DEF =
  9. CDEBUG =$(DEF)
  10. !else
  11. !if "$(DEBUG)" == "debug"
  12. DEF =-DDEBUG_RETAIL
  13. CDEBUG =$(DEF)
  14. !else
  15. DEF =-DDEBUG
  16. CDEBUG =$(DEF)
  17. !endif
  18. !endif
  19. !if "$(WIN32)" == "TRUE"
  20. CFLAGS =-DNT_THUNK32 -Oxt -D_X86_ -DWIN32 $(CDEBUG) -Fo$@
  21. IS_32 =TRUE
  22. WANT_C932=TRUE
  23. OS =i386
  24. LB =lib # Don't want c816 lib
  25. !else
  26. CFLAGS =-DNT_THUNK16 -GD -Oxwti -Asnw -DWIN16 $(CDEBUG) -Fo$@
  27. IS_16 =TRUE
  28. !endif
  29. IS_OEM =TRUE
  30. !include $(ROOT)\build\project.mk
  31. compman.obj: ..\..\$$(@B).c ..\..\compman.h ..\..\compmani.h ..\..\compddk.h ..\..\debug.h $(PINC)\icm.rc $(PINC)\vfw.h $(PINC)\avifmt.h $(PINC)\avifile.h $(PINC)\profile.h
  32. !if "$(WIN32)" != "TRUE"
  33. @$(CL) @<<
  34. $(CFLAGS) -NT $(NAME)
  35. ..\..\$(@B).c
  36. <<
  37. !endif
  38. icm.obj: ..\..\icm.c ..\..\compman.h ..\..\compddk.h $(PINC)\icm.rc $(PINC)\vfw.h $(PINC)\avifmt.h $(PINC)\avifile.h $(PINC)\aviiface.h $(PINC)\msvideo.h
  39. !if "$(WIN32)" != "TRUE"
  40. @$(CL) @<<
  41. $(CFLAGS) -NT $(NAME)
  42. ..\..\$(@B).c
  43. <<
  44. !endif
  45. thunk.obj: ..\..\thunk.c ..\..\compman.h ..\..\compmn16.h ..\..\compmani.h ..\..\thunk.h ..\..\debug.h
  46. !if "$(WIN32)" != "TRUE"
  47. @$(CL) @<<
  48. $(CFLAGS) -NT $(NAME)
  49. ..\..\$(@B).c
  50. <<
  51. !endif
  52. $(PINC)\icm.rc: ..\..\$$(@F)
  53. @copy %s $@
  54. $(PINC)\vfw.h $(PINC)\avifmt.h: $(ROOT)\vfw.32\$$(@F)
  55. @copy %s $@
  56. $(PINC)\avifile.h $(PINC)\aviiface.h: $(ROOT)\avifile.32\$$(@F)
  57. @copy %s $@
  58. $(PINC)\msvideo.h $(PINC)\profile.h: $(ROOT)\msvideo.32\$$(@F)
  59. @copy %s $@