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.
66 lines
1.5 KiB
66 lines
1.5 KiB
# --------------------------------------------------------------------
|
|
#
|
|
# Microsoft RPC
|
|
# Copyright(c) Microsoft Corp., 1990
|
|
#
|
|
# --------------------------------------------------------------------
|
|
# --------------------------------------------------------------------
|
|
#
|
|
# File : makefile.
|
|
#
|
|
# Title : Makefile for the RPC endpoint mapper Win16 client.
|
|
#
|
|
# Description :
|
|
# This makefile invokes make on subdirectories to actually get some
|
|
# real work done.
|
|
#
|
|
# History :
|
|
#
|
|
# --------------------------------------------------------------------
|
|
|
|
!ifndef RPC
|
|
!error - You forgot to set your build environment
|
|
!endif
|
|
|
|
WIN=1
|
|
|
|
!include ..\rules.mk
|
|
|
|
CFLAGS =$(CFLAGS) -ALw -NTRPCEPMPR_TEXT
|
|
|
|
IDLNAME = epmp
|
|
IDLIMP = nbase
|
|
|
|
MIDL_TARGETS = $(IDLNAME)_c.c $(IDLNAME).h
|
|
|
|
OBJS = epmp_c.obj
|
|
|
|
#----------------------------------------------------------------------
|
|
|
|
all : $(TARGETDIR)\epmp.lib
|
|
|
|
clean ::
|
|
-del epmp_c.c epmp.h 2> nul
|
|
|
|
tree :
|
|
copy $(TARGETDIR)\epmp.lib $(RPCDIST)\dos\lib
|
|
|
|
depend :
|
|
$(INCLUDES) $(INCLUDESFLAGS) *.c > depend.mk
|
|
|
|
#----------------------------------------------------------------------
|
|
|
|
MIDLFLAGS =$(MIDLFLAGS) -c_ext -ms_ext -DWIN
|
|
|
|
midl : $(MIDL_TARGETS)
|
|
|
|
$(IDLNAME)_c.c : ..\$(IDLNAME).idl ..\$(IDLNAME).acf ..\$(IDLIMP).idl
|
|
$(MIDL) $(MIDLFLAGS) $(IDLNAME).idl \
|
|
-cstub $(IDLNAME)_c.c
|
|
|
|
$(TARGETDIR)\epmp.lib: $(OBJS)
|
|
-del $(TARGETDIR)\epmp.lib
|
|
!$(LIBRARIAN) $(LIBFLAGS) $(TARGETDIR)\epmp.lib $(OBJS);
|
|
|
|
!include "depend.mk"
|
|
|