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.
63 lines
1.1 KiB
63 lines
1.1 KiB
#
|
|
# This is the MKTYBLIB compile phase of the build process.
|
|
#
|
|
# Builds Type Library for the NWCOMPAT provider
|
|
#
|
|
#
|
|
|
|
!INCLUDE $(NTMAKEENV)\makefile.plt
|
|
|
|
#
|
|
# TARGET specific defines (do not use extensions!)
|
|
#
|
|
|
|
TARGET_TLB = adsnw3
|
|
TARGET_H = inwcompat
|
|
SOURCE_ODL = nwcompat
|
|
|
|
!IF "$(ADSI_NT40_BUILD)" == "1"
|
|
DEPENDENCIES = \
|
|
..\types\$(TARGET_DIRECTORY)\activeds.tlb \
|
|
nw312_2.h
|
|
!ELSE
|
|
DEPENDENCIES = \
|
|
..\types\$(TARGET_DIRECTORY)\activeds.tlb \
|
|
$(SDK_LIB_DEST)\$(TARGET_DIRECTORY)\stdole2.tlb \
|
|
nw312_2.h
|
|
!ENDIF
|
|
|
|
#
|
|
# Common defines
|
|
#
|
|
|
|
TARGETS = $(TARGET_TLB).tlb $(TARGET_H).h
|
|
IMPORT =
|
|
UNICODE = 1
|
|
|
|
INCLUDE = $(SDK_INC_PATH)
|
|
|
|
MIDLODL = midl /I $(INCLUDE) /ms_ext /client none /server none
|
|
|
|
|
|
CPP = -cpp_cmd "$(MIDL_CPP)" -cpp_opt "-E -nologo -DNO_STRICT $(MIDL_FLAGS) -I. -I$(SDK_INC_PATH) -I$(SDK_INC_PATH) -I$(OAK_INC_PATH)"
|
|
|
|
#
|
|
# 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
|
|
$(MIDLODL) /tlb $(TARGET_TLB).tlb /h $(TARGET_H).h $(SOURCE_ODL).odl
|