43 lines
780 B
Plaintext
43 lines
780 B
Plaintext
#
|
|
# 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
|
|
|