windows-nt/Source/XPSP1/NT/base/screg/winreg/makefil0

47 lines
1.1 KiB
Plaintext
Raw Normal View History

2020-09-26 03:20:57 -05:00
#
# 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 = regrpc
INCS =-I$(SDK_INC_PATH) -I$(CRT_INC_PATH) -I$(WINDOWS_INC_PATH)
TARGETS = client\$(IDL_NAME)_c.c \
server\$(IDL_NAME)_s.c \
.\$(IDL_NAME).h
EXTRN_DEPENDS = $(SDK_INC_PATH)\windef.h \
$(IDL_NAME).acf \
imports.idl \
imports.h
CPP = -cpp_cmd "$(MIDL_CPP)" $(MIDL_FLAGS) $(C_DEFINES)
#
# 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 $(MIDL_OPTIMIZATION) -oldnames -ms_ext -c_ext $(CPP) $(INCS) .\$(IDL_NAME).idl
IF EXIST $(IDL_NAME)_c.c copy $(IDL_NAME)_c.c .\client & del $(IDL_NAME)_c.c
IF EXIST $(IDL_NAME)_s.c copy $(IDL_NAME)_s.c .\server & del $(IDL_NAME)_s.c