mirror of https://github.com/lianthony/NT4.0
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.
57 lines
1.3 KiB
57 lines
1.3 KiB
# --------------------------------------------------------------------
|
|
#
|
|
# Microsoft RPC
|
|
# Copyright(c) Microsoft Corp., 1990-94
|
|
#
|
|
# --------------------------------------------------------------------
|
|
# --------------------------------------------------------------------
|
|
#
|
|
# File : makefile.
|
|
#
|
|
# Title : Makefile for the DOS converstation interface.
|
|
#
|
|
# Description :
|
|
# This just compiles the .idl file and puts the stubs in
|
|
# ..\..\mtrt\dos
|
|
#
|
|
# History :
|
|
#
|
|
# --------------------------------------------------------------------
|
|
|
|
!ifndef RPC
|
|
!error - You forgot to set your build environment
|
|
!endif
|
|
|
|
DOS=1
|
|
|
|
!include ..\rules.mk
|
|
|
|
TARGETDIR =$(RPC)\runtime\mtrt\dos
|
|
|
|
MIDL_TARGETS = $(TARGETDIR)\conv_c.c $(TARGETDIR)\conv.h
|
|
|
|
all : $(MIDL_TARGETS)
|
|
|
|
clean ::
|
|
-del $(MIDL_TARGETS) 2>nul
|
|
|
|
depend :
|
|
|
|
tree :
|
|
@echo NO FILES RELEASED FROM HERE
|
|
|
|
# -------------------------------------------------------------
|
|
# Local targets
|
|
#
|
|
|
|
MIDLFLAGS =$(MIDLFLAGS) -c_ext -ms_ext -oldnames
|
|
CPP_CLIENT_OPT = -cpp_opt "-E -nologo -Dconv_who_are_you=Client_conv_who_are_you -DCONV_FAR=__far"
|
|
|
|
midl : $(MIDL_TARGETS)
|
|
|
|
$(MIDL_TARGETS) : ..\conv.idl
|
|
$(MIDL) $(MIDLFLAGS) $(CPP_CLIENT_OPT) \
|
|
-header $(TARGETDIR)\conv.h -cstub $(TARGETDIR)\conv_c.c \
|
|
-sstub nul \
|
|
..\conv.idl
|
|
|