Windows2000/private/inet/urlmon/idl/gnumakefile
2020-09-30 17:12:32 +02:00

59 lines
1.6 KiB
Plaintext

CUSTOM_RULES = /vobs/ie4/urlmon.template
include ${MWHOME}/make.rules.simple
# Disable clearcase parallele makefiles.
.NOTPARALLEL:
.NO_WINK_IN: %.h
ifndef BUILDMSG
BUILDMSG=
endif
ifndef NO_STRICT
STRICT=1
endif
WIN_INC_PATH=/vobs/build/userx/private/windows/inc
SDK_INC_PATH=/vobs/build/userx/public/sdk/inc
SDK_LIB_PATH=/vobs/build/userx/public/sdk/lib/${MWARCH}
MIDL = midl
MIDL_OPTIMIZATION=$(MIDL_OPTIMIZATION) -Oic
C_DEFINES = -DWIN32=300 -D_CAIRO_=300 -DREGISTER_PROXY_DLL
TARGETSRCS := \
${SDK_INC_PATH}/urlmki.h
.NO_CMP_SCRIPT: ${TARGETSRCS}
.NO_CMP_NON_MF_DEPS: ${TARGETSRCS}
all: ${URLMON_UUID_DIR} ${URLMON_PROXY_DIR} ${TARGETSRCS}
$(O)/%.idl: %.idl
${ECHONOISE} "[ $(notdir $<) --> $(O)/$(notdir $@) ]"
${COPY}
ALLSRCS := \
${TARGETSRCS} \
${URLMON_PROXY_DIR}\dlldata.c \
${URLMON_PROXY_DIR}\urlmki_p.c \
${URLMON_UUID_DIR}\urlmki_i.c
${TARGETSRCS} : $(O)/urlmki.idl
${ECHOSOURCE}
-${RM} ${ALLSRCS}
cd ${O}; ${MIDL} -DUNIX -I${SDK_INC_PATH} $(notdir $<) -h ${SDK_INC_PATH}/urlmki.h \
-dlldata ${URLMON_PROXY_DIR}/dlldata.c \
-iid ${URLMON_UUID_DIR}/urlmki_i.c \
-server none \
-proxy ${URLMON_PROXY_DIR}/urlmki_p.c
chmod g+rw ${URLMON_PROXY_DIR}/dlldata.c ${URLMON_UUID_DIR}/urlmki_i.c ${URLMON_PROXY_DIR}/urlmki_p.c
${URLMON_UUID_DIR} ${URLMON_PROXY_DIR}:
${ECHONOISE} "[ $@ ]"
mkdir -p $@