mirror of https://github.com/tongzx/nt5src
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
780 B
42 lines
780 B
#
|
|
# 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 = DataTran
|
|
|
|
TARGETS = client\$(IDL_NAME)_c.c \
|
|
server\$(IDL_NAME)_s.c \
|
|
.\$(IDL_NAME).h
|
|
|
|
EXTRN_DEPENDS =
|
|
|
|
CPP = -cpp_cmd "$(MIDL_CPP)" $(MIDL_FLAGS) -error ref
|
|
|
|
#
|
|
# Define Products and Dependencies
|
|
#
|
|
|
|
all: $(TARGETS) $(EXTRN_DEPENDS)
|
|
!IF "$(BUILDMSG)" != ""
|
|
@ech ; $(BUILDMSG) ;
|
|
!ENDIF
|
|
|
|
clean: delsrc all
|
|
|
|
delsrc:
|
|
erase $(TARGETS)
|
|
|
|
#
|
|
# MIDL COMPILE
|
|
#
|
|
|
|
$(TARGETS) : .\$(IDL_NAME).idl $(EXTRN_DEPENDS)
|
|
midl -ms_ext -c_ext $(CPP) $(INCS)\
|
|
-cstub client\$(IDL_NAME)_c.c -sstub server\$(IDL_NAME)_s.c\
|
|
.\$(IDL_NAME).idl
|
|
|