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.
76 lines
1.4 KiB
76 lines
1.4 KiB
#
|
|
# This is the MKTYBLIB compile phase of the build process.
|
|
#
|
|
# Builds Type Library for the IIS provider
|
|
#
|
|
#
|
|
|
|
!INCLUDE $(NTMAKEENV)\makefile.plt
|
|
|
|
!INCLUDE ..\..\..\place.inc
|
|
|
|
O = $(_OBJ_DIR)\$(TARGET_DIRECTORY)
|
|
|
|
#
|
|
# TARGET specific defines (do not use extensions!)
|
|
#
|
|
|
|
TARGET_TLB = iisext
|
|
TARGET_H = iiisext
|
|
SOURCE_ODL = iisext
|
|
|
|
DEPENDENCIES = \
|
|
\
|
|
..\oleds2.0\types\activeds.tlb \
|
|
\
|
|
..\adsiis\$(O)\adsiis.tlb \
|
|
\
|
|
iisext.h
|
|
|
|
#
|
|
# Common defines
|
|
#
|
|
|
|
!if !exist($(O))
|
|
!if [mkdir $(O)]
|
|
!endif
|
|
!endif
|
|
|
|
TARGETS = $(TARGET_TLB).tlb $(TARGET_H).h
|
|
IMPORT =
|
|
UNICODE = 1
|
|
|
|
SDKBIN = $(BASEDIR)\public\sdk\bin
|
|
SDKINC = $(BASEDIR)\public\sdk\inc
|
|
OAKINC = $(BASEDIR)\public\oak\inc
|
|
SDKCRTINC = $(BASEDIR)\public\sdk\inc\crt
|
|
|
|
|
|
INCLUDE = $(SDKINC)
|
|
|
|
MIDLODL = midl /I $(INCLUDE) /no_stamp /ms_ext /client none /server none /newtlb /out .\$(O)
|
|
|
|
CPP = -cpp_cmd "$(MIDL_CPP)" -cpp_opt "-E -nologo -DNO_STRICT $(MIDL_FLAGS) -I. -I$(SDKINC) -I$(SDKCRTINC) -I$(OAKINC)"
|
|
|
|
#
|
|
# Define Products and Dependencies
|
|
#
|
|
|
|
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) /tlb $(TARGET_TLB).tlb /h $(TARGET_H).h $(SOURCE_ODL).odl
|
|
|