71 lines
1.2 KiB
Plaintext
71 lines
1.2 KiB
Plaintext
#
|
|
# This is the MKTYBLIB compile phase of the build process.
|
|
#
|
|
# Builds Type Library for the IIS provider
|
|
#
|
|
#
|
|
|
|
!INCLUDE $(NTMAKEENV)\makefile.plt
|
|
|
|
!INCLUDE ..\..\..\place.inc
|
|
|
|
#
|
|
# TARGET specific defines (do not use extensions!)
|
|
#
|
|
|
|
TARGET_TLB = adsiis
|
|
TARGET_H = iiis
|
|
SOURCE_ODL = iis
|
|
|
|
DEPENDENCIES = \
|
|
\
|
|
..\oleds2.0\types\activeds.tlb \
|
|
\
|
|
iis2.h
|
|
|
|
#
|
|
# Common defines
|
|
#
|
|
|
|
TARGETS = $(TARGET_TLB).tlb $(TARGET_H).h
|
|
IMPORT =
|
|
UNICODE = 1
|
|
|
|
SDKINC = $(BASEDIR)\public\sdk\inc
|
|
OAKINC = $(BASEDIR)\public\oak\inc
|
|
SDKCRTINC = $(BASEDIR)\public\sdk\inc\crt
|
|
|
|
|
|
O = $(_OBJ_DIR)\$(TARGET_DIRECTORY)
|
|
|
|
INCLUDE = $(SDKINC)
|
|
|
|
MIDLODL = midl /I $(INCLUDE) /ms_ext /client none /server none /newtlb
|
|
|
|
CPP = -cpp_cmd "$(MIDL_CPP)" -cpp_opt "-E -nologo -DNO_STRICT $(MIDL_FLAGS) -I. -I$(SDKINC) -I$(SDKCRTINC) -I$(OAKINC)"
|
|
|
|
#
|
|
# Define Products and Dependencies
|
|
#
|
|
|
|
!if [mkdir $(O)]
|
|
!endif
|
|
|
|
all: $(TARGETS)
|
|
!IF "$(BUILDMSG)" != ""
|
|
@ech ; $(BUILDMSG) ;
|
|
!ENDIF
|
|
|
|
clean: clean_source all
|
|
|
|
clean_source:
|
|
erase $(TARGETS)
|
|
|
|
#
|
|
# MIDL COMPILE
|
|
#
|
|
|
|
$(TARGETS): $(DEPENDENCIES) $(SOURCE_ODL).odl
|
|
# mktyplib $(CPP) /tlb $(TARGET_TLB).tlb /h $(TARGET_H).h $(SOURCE_ODL).odl
|
|
$(MIDLODL) /out .\$(O) /tlb $(TARGET_TLB).tlb /h $(TARGET_H).h $(SOURCE_ODL).odl
|