77 lines
1.3 KiB
Plaintext
77 lines
1.3 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
|
||
|
|
||
|
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) /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
|
||
|
|