Source code of Windows XP (NT5)
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.

61 lines
1.4 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. IDL_FILE_NAME = iislb
  11. IDL_FLAGS = /I $(SDK_INC_PATH) -DREGISTER_PROXY_DLL
  12. SDKINC = $(BASEDIR)\public\sdk\inc
  13. INCS = -I.
  14. CLIENT_STUB =$(IDL_FILE_NAME)_i.c
  15. SERVER_STUB =$(IDL_FILE_NAME)_p.c
  16. DLL_STUB =dlldata.c
  17. HEADER_FILE =..\..\..\inc\$(IDL_FILE_NAME).h
  18. CLIENT_TARGETS = $(CLIENT_STUB) \
  19. SERVER_TARGETS = $(SERVER_STUB) \
  20. DLL_TARGETS = $(DLL_STUB) \
  21. TARGETS = $(CLIENT_TARGETS) $(SERVER_TARGETS) \
  22. $(HEADER_FILE) $(DLL_TARGETS)
  23. # $(HEADER_FILE) dlldata.c
  24. CPP = -cpp_cmd "$(MIDL_CPP)" $(MIDL_FLAGS) \
  25. $(C_DEFINES) $(NET_C_DEFINES) -DMIDL_PASS
  26. MSC_WARNING_LEVEL= /W3 /WX
  27. #
  28. # Define output and dependencies
  29. #
  30. all: $(TARGETS) $(EXTRN_DEPENDS)
  31. !IF "$(BUILDMSG)" != ""
  32. @ech ; $(BUILDMSG) ;
  33. !ENDIF
  34. clean: delsrc all
  35. delsrc:
  36. -erase $(TARGETS)
  37. $(O)\iislbxp.obj: iislb_p.c
  38. #
  39. # MIDL Compile stuff
  40. #
  41. #$(HEADER_FILE) $(CLIENT_TARGETS) $(SERVER_TARGETS): .\$(IDL_FILE_NAME).idl
  42. $(HEADER_FILE) $(CLIENT_TARGETS) $(SERVER_TARGETS) $(DLL_TARGETS) : .\$(IDL_FILE_NAME).idl
  43. midl -Oi -error allocation -error ref -h $(HEADER_FILE) $(IDL_FLAGS) $(CPP) .\$(IDL_FILE_NAME).idl $(INCS)