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.

42 lines
766 B

  1. #
  2. # This is the MIDL compile phase of the build process.
  3. #
  4. # The following is where you put the name of your .idl file without
  5. # the .idl extension:
  6. #
  7. !INCLUDE $(NTMAKEENV)\makefile.plt
  8. IDL_NAME = rpcws
  9. TARGETS = client\$(IDL_NAME)_c.c \
  10. server\$(IDL_NAME)_s.c \
  11. .\$(IDL_NAME).h
  12. EXTRN_DEPENDS =
  13. CPP = -cpp_cmd "$(MIDL_CPP)" $(MIDL_FLAGS)
  14. #
  15. # Define Products and Dependencies
  16. #
  17. all: $(TARGETS) $(EXTRN_DEPENDS)
  18. !IF "$(BUILDMSG)" != ""
  19. @ech ; $(BUILDMSG) ;
  20. !ENDIF
  21. clean: delsrc all
  22. delsrc:
  23. erase $(TARGETS)
  24. #
  25. # MIDL COMPILE
  26. #
  27. $(TARGETS) : .\$(IDL_NAME).idl $(EXTRN_DEPENDS)
  28. midl -ms_ext -c_ext $(CPP) $(INCS)\
  29. -cstub client\$(IDL_NAME)_c.c -sstub server\$(IDL_NAME)_s.c\
  30. .\$(IDL_NAME).idl