1 ###############################################################################
2 # Building the Activex plugin
3 ###############################################################################
6 EXTRA_DIST = $(SOURCES_activex) $(DIST_rsrc) $(DIST_misc)
7 BUILT_SOURCES = $(BUILT_SOURCES_activex)
15 oleinplaceactiveobject.cpp \
16 oleinplaceactiveobject.h \
17 oleinplaceobject.cpp \
25 persiststreaminit.cpp \
27 provideclassinfo.cpp \
29 connectioncontainer.cpp \
30 connectioncontainer.h \
37 supporterrorinfo.cpp \
67 lib_LTLIBRARIES = axvlc.la
69 LIBRARIES_libvlc = $(top_builddir)/src/libvlc.la \
70 $(top_builddir)/src/libvlccore.la
72 axvlc_la_SOURCES = $(SOURCES_activex)
73 axvlc_la_CFLAGS = `$(VLC_CONFIG) --cflags activex`
74 axvlc_la_CXXFLAGS = `$(VLC_CONFIG) --cxxflags activex`
75 axvlc_la_DEPENDENCIES = axvlc.def $(DATA_axvlc_rc) $(LIBRARIES_libvlc)
76 axvlc_la_LDFLAGS = -Wl,$(srcdir)/axvlc.def -Wl,$(DATA_axvlc_rc) \
77 -no-undefined -avoid-version -module \
78 `$(VLC_CONFIG) --ldflags activex libvlc`
79 axvlc_la_LIBADD = $(LIBRARIES_libvlc) \
80 `$(VLC_CONFIG) -libs activex`
82 DATA_axvlc_rc = $(noinst_axvlc_rc_DATA)
83 noinst_axvlc_rc_DATA = axvlc_rc.$(OBJEXT)
85 axvlc_rc.$(OBJEXT): axvlc_rc.rc inplace.bmp axvlc.tlb
86 $(WINDRES) -DVERSION=$(VERSION) -DVERSION_NUMBER=`echo $(VERSION).0.0.0 | sed 's/[^0-9]*\([0-9]*\)[^.]*\.*\([0-9]*\)[^.]*\.*\([0-9]*\)[^.]*\.*\([0-9]*\).*/\1,\2,\3,\4/'` --include-dir $(srcdir) -i $< -o $@
88 DATA_axvlc_tlb = $(axvlc_tlb_DATA)
89 noinst_axvlc_tlb_DATA = axvlc.tlb
90 noinst_axvlc_tlbdir = $(libdir)
94 axvlc.tlb axvlc_idl.c axvlc_idl.h: axvlc.idl
95 $(MIDL) -Oicf -error all -env win32 -tlb axvlc.tlb -iid axvlc_idl.c -h axvlc_idl.h axvlc.idl
98 rm -f axvlc.tlb axvlc_idl.c axvlc_idl.h
103 axvlc.tlb axvlc_idl.c axvlc_idl.h: axvlc.idl
104 $(WIDL) -I$(WINE_SDK_PATH)/include -tuh -T axvlc.tlb -U axvlc_idl.c -H axvlc_idl.h axvlc.idl
107 rm -f axvlc.tlb axvlc_idl.c axvlc_idl.h
122 ###############################################################################
124 ###############################################################################
126 clean-local: clean-tlb
128 ###############################################################################
130 ###############################################################################