mirror of https://github.com/tongzx/nt5src
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.
71 lines
1.3 KiB
71 lines
1.3 KiB
#
|
|
# This is the MKTYBLIB compile phase of the build process.
|
|
#
|
|
# Builds Type Library for XML persistence.
|
|
#
|
|
#
|
|
|
|
!INCLUDE $(NTMAKEENV)\makefile.plt
|
|
|
|
#
|
|
# TARGET specific defines (do not use extensions!)
|
|
#
|
|
|
|
TARGET_TLB = adsxml
|
|
TARGET_H = iadsxml
|
|
SOURCE_ODL = adsxml
|
|
|
|
O = $(_OBJ_DIR)\$(TARGET_DIRECTORY)
|
|
|
|
DEPENDENCIES = \
|
|
$(SDK_LIB_DEST)\$(TARGET_DIRECTORY)\stdole2.tlb \
|
|
|
|
#
|
|
# Common defines
|
|
#
|
|
|
|
!if !exist($(O))
|
|
!if [mkdir $(O)]
|
|
!endif
|
|
!endif
|
|
|
|
TARGETS = $(O)\$(TARGET_TLB).tlb $(O)\$(TARGET_H).h
|
|
IMPORT =
|
|
UNICODE = 1
|
|
|
|
SDKINC = $(SDK_INC_PATH)
|
|
OAKINC = $(OAK_INC_PATH)
|
|
SDKCRTINC = $(CRT_INC_PATH)
|
|
|
|
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
|
|
#
|
|
|
|
# PUBLISHED_FILES = $(SDK_INC_PATH)\iadsxml.h
|
|
|
|
# all: $(TARGETS) $(PUBLISHED_FILES)
|
|
all: $(TARGETS)
|
|
!IF "$(BUILDMSG)" != ""
|
|
@ech ; $(BUILDMSG) ;
|
|
!ENDIF
|
|
|
|
clean: clean_source all
|
|
|
|
clean_source:
|
|
erase $(TARGETS)
|
|
|
|
#
|
|
# MIDL COMPILE
|
|
#
|
|
|
|
$(TARGETS): $(DEPENDENCIES) $(SOURCE_ODL).odl
|
|
$(MIDLODL) $(TLB_SWITCHES) $(TARGET_TLB).tlb /h $(TARGET_H).h $(SOURCE_ODL).odl
|
|
|
|
# $(SDK_INC_PATH)\iadsxml.h: $(O)\iadsxml.h
|
|
# $(PUBLISH_CMD) {$**=$@}
|