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.

44 lines
1.6 KiB

  1. IDL_NAME = lsarpc
  2. CLIENT_ACF = lsacli.acf
  3. SERVER_ACF = $(PROJECT_ROOT)\published\lsa\lsasrv.acf
  4. CLIENT_INC_FILE = $(IDL_NAME)_c.h
  5. SERVER_INC_FILE = $(IDL_NAME).h
  6. CLIENT_TARGETS = \
  7. $(O)\$(IDL_NAME)_c.c \
  8. $(O)\$(CLIENT_INC_FILE)
  9. SERVER_TARGETS = \
  10. $(O)\$(IDL_NAME)_s.c \
  11. $(O)\$(SERVER_INC_FILE)
  12. EFS_TARGETS = \
  13. $(O)\efsrpc.h
  14. MIDL_INCS= -I$(SDK_INC_PATH) -I$(CRT_INC_PATH) -I$(DS_INC_PATH) -I$(PROJECT_ROOT)\published\lsa
  15. MIDL_OPTIMIZATION_NT5=-Oicf -robust -error all -no_format_opt -protocol all
  16. MIDL_OPTIMIZATION_EFS=-Oicf -robust -error stub_data -protocol all
  17. CLIENT_FLAGS = $(MIDL_OPTIMIZATION_NT5) -oldnames $(MIDL_FLAGS) -out .\$(O) -acf $(CLIENT_ACF) -server none -header $(CLIENT_INC_FILE)
  18. SERVER_FLAGS = $(MIDL_OPTIMIZATION_NT5) -oldnames $(MIDL_FLAGS) -out .\$(O) -acf $(SERVER_ACF) -client none -header $(SERVER_INC_FILE)
  19. EFS_FLAGS = $(MIDL_OPTIMIZATION_EFS) -oldnames $(MIDL_FLAGS) -out .\$(O) -char unsigned -header efsrpc.h
  20. EFS_DEFINES = -DMIDL_PASS $(FLAGS) -DSECURITY_WIN32
  21. CPP = -cpp_cmd "$(MIDL_CPP)"
  22. TARGETS: \
  23. $(CLIENT_TARGETS) \
  24. $(SERVER_TARGETS) \
  25. $(EFS_TARGETS)
  26. $(CLIENT_TARGETS): $(PROJECT_ROOT)\published\lsa\$(IDL_NAME).idl $(CLIENT_ACF)
  27. $(MIDL) $(CPP) $(CLIENT_FLAGS) $(MIDL_INCS) $(PROJECT_ROOT)\published\lsa\$(IDL_NAME).idl
  28. $(SERVER_TARGETS): $(PROJECT_ROOT)\published\lsa\$(IDL_NAME).idl $(SERVER_ACF)
  29. $(MIDL) $(CPP) $(SERVER_FLAGS) $(MIDL_INCS) $(PROJECT_ROOT)\published\lsa\$(IDL_NAME).idl
  30. $(EFS_TARGETS): efsrpc.idl
  31. $(MIDL) $(CPP) $(EFS_FLAGS) $(MIDL_INCS) $(ERRORS) $(EFS_DEFINES) efsrpc.idl