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.
|
|
# # This is the MIDL compile phase of the build process. # # The following is where you put the name of your .idl file without # the .idl extension:
!INCLUDE $(NTMAKEENV)\makefile.plt
IDL_NAME = kerbtest CLIENT_ACF = SERVER_ACF =
CLIENT_INC_FILE = $(IDL_NAME).h SERVER_INC_FILE = $(IDL_NAME).h
INCS = -I$(SDK_INC_PATH) -I$(CRT_INC_PATH)
EXTRN_DEPENDS = $(SDK_INC_PATH)\ntlsa.h
CLIENT_FLAGS = -Oi -oldnames -error allocation -error ref -c_ext -ms_ext $(MIDL_FLAGS) $(CLIENT_ACF) -header $(CLIENT_INC_FILE) SERVER_FLAGS = -oldnames -error allocation -error ref -c_ext -ms_ext $(MIDL_FLAGS) $(SERVER_ACF) -header $(SERVER_INC_FILE) -prefix server srv_
CPP = -cpp_cmd "$(MIDL_CPP)"
# # Separate client and server targets. Note that the .h file produced # when MIDL is run with the client .acf file attached differs from the # .h file produced when MIDL is run with the server .acf file attached. #
CLIENT_TARGETS = client\$(IDL_NAME)_c.c \ client\$(CLIENT_INC_FILE) \ server\$(IDL_NAME)_c.c
SERVER_TARGETS = server\$(IDL_NAME)_s.c \ server\$(SERVER_INC_FILE)
TARGETS = $(CLIENT_TARGETS) \ $(SERVER_TARGETS)
EXTRN_DEPENDS = $(CLIENT_EXTRN_DEPENDS) makefil0
# # Define Products and Dependencies #
all: $(CLIENT_TARGETS) $(SERVER_TARGETS) $(EXTRN_DEPENDS) !IF "$(BUILDMSG)" != "" @ech ; $(BUILDMSG) ; !ENDIF
clean: delete_source all
delete_source: -erase $(TARGETS)
# # MIDL COMPILE #
$(CLIENT_TARGETS) : $(IDL_NAME).idl $(CLIENT_EXTRN_DEPENDS) IF EXIST $(IDL_NAME).h del i$(IDL_NAME).h midl $(CPP) $(CLIENT_FLAGS) $(IDL_NAME).idl $(INCS) IF EXIST $(IDL_NAME)_c.c copy $(IDL_NAME)_c.c .\client & copy $(IDL_NAME)_c.c .\server & del $(IDL_NAME)_c.c IF EXIST $(IDL_NAME)_s.c del $(IDL_NAME)_s.c IF EXIST $(CLIENT_INC_FILE) copy $(CLIENT_INC_FILE) .\client & del $(CLIENT_INC_FILE)
$(SERVER_TARGETS) : $(IDL_NAME).idl IF EXIST inc\$(IDL_NAME).h del inc\$(IDL_NAME).h midl $(CPP) $(SERVER_FLAGS) $(IDL_NAME).idl $(INCS) IF EXIST $(IDL_NAME)_c.c del $(IDL_NAME)_c.c IF EXIST $(IDL_NAME)_s.c copy $(IDL_NAME)_s.c .\server & del $(IDL_NAME)_s.c IF EXIST $(SERVER_INC_FILE) copy $(SERVER_INC_FILE) .\server & del $(SERVER_INC_FILE)
|