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 \
68 lib_LTLIBRARIES = axvlc.la
70 LIBRARIES_libvlc = $(top_builddir)/src/libvlc.la \
71 $(top_builddir)/src/libvlccore.la
73 axvlc_la_SOURCES = $(SOURCES_activex)
74 axvlc_la_CFLAGS = `$(VLC_CONFIG) --cflags activex`
75 axvlc_la_CXXFLAGS = `$(VLC_CONFIG) --cxxflags activex`
76 axvlc_la_DEPENDENCIES = axvlc.def $(DATA_axvlc_rc) $(LIBRARIES_libvlc)
77 axvlc_la_LDFLAGS = -Wl,$(srcdir)/axvlc.def -Wl,$(DATA_axvlc_rc) \
78 -no-undefined -avoid-version -module \
79 `$(VLC_CONFIG) --ldflags activex libvlc`
80 axvlc_la_LIBADD = $(LIBRARIES_libvlc) \
81 `$(VLC_CONFIG) -libs activex`
83 DATA_axvlc_rc = $(noinst_axvlc_rc_DATA)
84 noinst_axvlc_rc_DATA = axvlc_rc.$(OBJEXT)
86 axvlc_rc.$(OBJEXT): axvlc_rc.rc inplace.bmp axvlc.tlb
87 $(WINDRES) --include-dir $(srcdir) -i $< -o $@
89 DATA_axvlc_tlb = $(axvlc_tlb_DATA)
90 noinst_axvlc_tlb_DATA = axvlc.tlb
91 noinst_axvlc_tlbdir = $(libdir)
95 axvlc.tlb axvlc_idl.c axvlc_idl.h: axvlc.idl
96 $(MIDL) -Oicf -error all -env win32 -tlb axvlc.tlb -iid axvlc_idl.c -h axvlc_idl.h axvlc.idl
99 rm -f axvlc.tlb axvlc_idl.c axvlc_idl.h
104 axvlc.tlb axvlc_idl.c axvlc_idl.h: axvlc.idl
105 $(WIDL) -I$(WINE_SDK_PATH)/include -tuh -T axvlc.tlb -U axvlc_idl.c -H axvlc_idl.h axvlc.idl
108 rm -f axvlc.tlb axvlc_idl.c axvlc_idl.h
123 ###############################################################################
125 ###############################################################################
127 clean-local: clean-tlb
129 ###############################################################################
131 ###############################################################################