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.

53 lines
1.7 KiB

  1. #
  2. # makefil0
  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_FLAGS = /I $(SDK_INC_PATH)
  12. INCS = -I.. -I$(SDK_INC_PATH)
  13. CPP = -cpp_cmd "$(MIDL_CPP)" $(MIDL_FLAGS) \
  14. $(C_DEFINES) $(NET_C_DEFINES)
  15. #------------------------------------------------------------
  16. # WAMREG DCOM Interface specification and compilation directives
  17. #------------------------------------------------------------
  18. WAMREG_IDL_FILE_NAME = wamreg
  19. WAMREG_HEADER_FILE = ..\..\..\..\inc\$(O)\i$(WAMREG_IDL_FILE_NAME).h
  20. WAMREG_IID_STUB = $(O)\$(WAMREG_IDL_FILE_NAME)_i.c
  21. WAMREG_PROXY_STUB = $(O)\$(WAMREG_IDL_FILE_NAME)_p.c
  22. WAMREG_DLL_DATA = $(O)\dlldata.c
  23. WAMREG_TLB = $(O)\$(WAMREG_IDL_FILE_NAME).tlb
  24. WAMREG_TARGETS = $(WAMREG_IID_STUB) $(WAMREG_PROXY_STUB) \
  25. $(WAMREG_HEADER_FILE) $(WAMREG_DLL_DATA)
  26. #------------------------------------------------------------
  27. # Define output and dependencies
  28. #------------------------------------------------------------
  29. all: $(WAMREG_TARGETS) $(EXTRN_DEPENDS)
  30. !IF "$(BUILDMSG)" != ""
  31. @ech ; $(BUILDMSG) ;
  32. !ENDIF clean: delsrc all
  33. delsrc:
  34. -erase $(WAM_TARGETS) $(WR_TARGETS)
  35. #
  36. # MIDL Compile stuff
  37. #
  38. $(WAMREG_TARGETS): ..\$(WAMREG_IDL_FILE_NAME).idl
  39. midl -no_stamp $(MIDL_OPTIMIZATION_NT5) $(IDL_FLAGS) $(CPP) $(INCS) /header $(WAMREG_HEADER_FILE) /iid $(WAMREG_IID_STUB) /dlldata $(WAMREG_DLL_DATA) /proxy $(WAMREG_PROXY_STUB) /tlb $(WAMREG_TLB) ..\$(WAMREG_IDL_FILE_NAME).idl