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-control.la \
70 $(top_builddir)/src/libvlc.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 = $(srcdir)/axvlc.def -Wl,$(DATA_axvlc_rc) \
77 -no-undefined -avoid-version -module \
78 `$(VLC_CONFIG) --libs activex libvlc`
79 axvlc_la_LIBADD = $(LIBRARIES_libvlc)
81 DATA_axvlc_rc = $(noinst_axvlc_rc_DATA)
82 noinst_axvlc_rc_DATA = axvlc_rc.$(OBJEXT)
84 axvlc_rc.$(OBJEXT): axvlc_rc.rc inplace.bmp axvlc.tlb
85 $(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 $@
87 DATA_axvlc_tlb = $(axvlc_tlb_DATA)
88 noinst_axvlc_tlb_DATA = axvlc.tlb
89 noinst_axvlc_tlbdir = $(libdir)
93 axvlc.tlb axvlc_idl.c axvlc_idl.h: axvlc.idl
94 $(MIDL) -Oicf -error all -env win32 -tlb axvlc.tlb -iid axvlc_idl.c -h axvlc_idl.h axvlc.idl
97 rm -f axvlc.tlb axvlc_idl.c axvlc_idl.h
102 axvlc.tlb axvlc_idl.c axvlc_idl.h: axvlc.idl
103 $(WIDL) -I$(WINE_SDK_PATH)/include -tuh -T axvlc.tlb -U axvlc_idl.c -H axvlc_idl.h axvlc.idl
106 rm -f axvlc.tlb axvlc_idl.c axvlc_idl.h
121 ###############################################################################
123 ###############################################################################
125 clean-local: clean-tlb
127 ###############################################################################
129 ###############################################################################