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.

43 lines
1.1 KiB

  1. #
  2. # makefile.inc
  3. # Makefile for generating files from the .idl file
  4. #
  5. # Specify the following in the file for use
  6. #
  7. # IDL_FILE_NAME ( without the .idl suffix)
  8. # IDL_FLAGS if any thing specific required
  9. #
  10. !INCLUDE $(NTMAKEENV)\makefile.plt
  11. IDL_FILE_NAME2 = mddefw
  12. INCS = -I. -I$(SDK_INC_PATH)
  13. HEADER_FILE2 = $(PROJECT_ROOT)\iis\inc\$(O)\$(IDL_FILE_NAME2).h
  14. TARGETS = $(HEADER_FILE) $(HEADER_FILE2) $(HEADER_FILE3)
  15. CPP = -cpp_cmd "$(MIDL_CPP)" $(MIDL_FLAGS) \
  16. $(C_DEFINES) $(NET_C_DEFINES)
  17. MSC_WARNING_LEVEL= /W4 /WX
  18. #
  19. # Define output and dependencies
  20. #
  21. $(PROJECT_ROOT)\iis\inc\$(O)\mdmsg.h ..\inc\$(O)\mdmsg.rc ..\inc\$(O)\msg00001.bin: mdmsg.mc
  22. -mkdir $(PROJECT_ROOT)\iis\inc\$(O)
  23. -mkdir ..\inc\$(O)
  24. mc -o -h $(PROJECT_ROOT)\iis\inc\$(O) -r ..\inc\$(O) -v mdmsg.mc
  25. !IF "$(BUILDMSG)" != ""
  26. @ech ; $(BUILDMSG) ;
  27. !ENDIF
  28. #
  29. # MIDL Compile stuff
  30. #
  31. $(HEADER_FILE2): .\$(IDL_FILE_NAME2).idl
  32. midl -no_stamp $(MIDL_OPTIMIZATION_NT5) -h $(HEADER_FILE2) $(INCS) .\$(IDL_FILE_NAME2).idl