############################################################################### # Building the Activex plugin ############################################################################### AUTOMAKE_OPTIONS = subdir-objects MOSTLYCLEANFILES = axvlc.inf axvlc_rc.rc EXTRA_DIST = $(DIST_rsrc) $(DIST_misc) DIST_rsrc = \ axvlc_rc.rc.in \ $(NULL) DIST_misc = \ axvlc.inf.in \ axvlc.dll.manifest \ axvlc.idl \ axvlc.tlb \ inplace.bmp \ vlc16x16.bmp \ README.TXT \ $(NULL) lib_LTLIBRARIES = axvlc.la AM_CPPFLAGS = $(LIBVLC_CFLAGS) -DUNICODE -D_UNICODE -D_MIDL_USE_GUIDDEF_ -I$(top_srcdir)/vlcpp AM_CXXFLAGS = ${CXXFLAGS} BUILT_SOURCES = axvlc_idl.h axvlc_idl.c axvlc_la_SOURCES = \ main.cpp \ utils.cpp \ utils.h \ olecontrol.cpp \ olecontrol.h \ oleinplaceactiveobject.cpp \ oleinplaceactiveobject.h \ oleinplaceobject.cpp \ oleinplaceobject.h \ oleobject.cpp \ oleobject.h \ persistpropbag.cpp \ persistpropbag.h \ persiststorage.cpp \ persiststorage.h \ persiststreaminit.cpp \ persiststreaminit.h \ provideclassinfo.cpp \ provideclassinfo.h \ connectioncontainer.cpp \ connectioncontainer.h \ objectsafety.cpp \ objectsafety.h \ dataobject.cpp \ dataobject.h \ viewobject.cpp \ viewobject.h \ supporterrorinfo.cpp \ supporterrorinfo.h \ vlccontrol2.cpp \ vlccontrol2.h \ plugin.cpp \ plugin.h \ axvlc_idl.c \ axvlc_idl.h axvlc_la_DEPENDENCIES = $(DATA_axvlc_rc) axvlc_la_LDFLAGS = -Wl,--kill-at -Wl,$(DATA_axvlc_rc) \ -no-undefined -avoid-version -module \ -Wc,--static -Wc,-static-libgcc axvlc_la_LIBADD = ../common/libvlcplugin_common.la \ $(LIBVLC_LIBS) $(ACTIVEX_LIBS) DATA_axvlc_rc = $(noinst_axvlc_rc_DATA) noinst_axvlc_rc_DATA = axvlc_rc.$(OBJEXT) noinst_axvlc_rcdir = axvlc_rc.$(OBJEXT): axvlc_rc.rc inplace.bmp axvlc.tlb axvlc.dll.manifest $(WINDRES) --include-dir $(srcdir) -i $< -o $@ DATA_axvlc_tlb = $(noinst_axvlc_tlb_DATA) noinst_axvlc_tlb_DATA = axvlc.tlb noinst_axvlc_tlbdir = if HAS_MIDL_COMPILER axvlc.tlb axvlc_idl.c axvlc_idl.h: axvlc.idl $(MIDL) -Oicf -error all -env win32 -tlb axvlc.tlb -iid axvlc_idl.c -h axvlc_idl.h axvlc.idl clean-tlb: rm -f axvlc.tlb axvlc_idl.c axvlc_idl.h else if HAS_WIDL_COMPILER WINE_SDK_PATH ?= /usr/include/wine/windows stdole2.tlb stdole2_idl.c stdole2_idl.h: $(WINE_SDK_PATH)/stdole2.idl $(WIDL) $(WIDLFLAGS) -I$(WINE_SDK_PATH) -t -u -h -T stdole2.tlb -U stdole2_idl.c -H stdole2_idl.h $< axvlc.tlb axvlc_idl.c axvlc_idl.h: axvlc.idl stdole2.tlb $(WIDL) $(WIDLFLAGS) -I$(WINE_SDK_PATH) -I. -t -u -h -T axvlc.tlb -U axvlc_idl.c -H axvlc_idl.h $< clean-tlb: rm -f axvlc.tlb axvlc_idl.c axvlc_idl.h stdole2.tlb stdole2_idl.c stdole2_idl.h else clean-tlb: endif endif ############################################################################### # Clean rules ############################################################################### clean-local: clean-tlb