1 ###############################################################################
2 # Building the Activex plugin
3 ###############################################################################
5 noinst_LIBRARIES = $(noinst_LIBRARIES_activex)
7 MOSTLYCLEANFILES = $(LIBRARIES_activex)
8 EXTRA_DIST = $(SOURCES_activex) $(DIST_rsrc) $(DIST_misc)
9 BUILT_SOURCES = $(BUILT_SOURCES_activex)
17 oleinplaceactiveobject.cpp \
18 oleinplaceactiveobject.h \
19 oleinplaceobject.cpp \
27 persiststreaminit.cpp \
29 provideclassinfo.cpp \
31 connectioncontainer.cpp \
32 connectioncontainer.h \
39 supporterrorinfo.cpp \
67 LIBRARIES_libvlc = $(top_builddir)/src/libvlc.dll.a
71 noinst_LIBRARIES_activex = libaxvlc.a
72 axvlc_DATA = axvlc$(LIBEXT)
75 LDFLAGS_activex = `$(VLC_CONFIG) --libs activex libvlc`
77 libaxvlc_a_SOURCES = $(SOURCES_activex) $(SOURCE_dll)
78 libaxvlc_a_CFLAGS = `$(VLC_CONFIG) --cflags activex`
79 libaxvlc_a_CXXFLAGS = `$(VLC_CONFIG) --cxxflags activex`
80 libaxvlc_a_DEPENDENCIES = axvlc.def $(DATA_axvlc_rc) $(LIBRARIES_libvlc)
82 axvlc$(LIBEXT): $(libaxvlc_a_OBJECTS) \
83 $(libaxvlc_a_DEPENDENCIES)
84 $(CXXLINK) $(libaxvlc_a_OBJECTS) $(DATA_axvlc_rc) \
86 $(LIBRARIES_libvlc) -shared $(LIBRARIES_libvlc) $(LDFLAGS_activex) \
89 @if test -f "$@.exe"; then mv -f "$@.exe" "$@"; fi
92 DATA_axvlc_tlb = $(axvlc_tlb_DATA)
93 noinst_axvlc_tlb_DATA = axvlc.tlb
94 noinst_axvlc_tlbdir = $(libdir)
98 axvlc.tlb axvlc_idl.c axvlc_idl.h: axvlc.idl
99 $(MIDL) -Oicf -error all -env win32 -tlb axvlc.tlb -iid axvlc_idl.c -h axvlc_idl.h axvlc.idl
102 rm -f axvlc.tlb axvlc_idl.c axvlc_idl.h
107 axvlc.tlb axvlc_idl.c axvlc_idl.h: axvlc.idl
108 $(WIDL) -I$(WINE_SDK_PATH)/include -tuh -T axvlc.tlb -U axvlc_idl.c -H axvlc_idl.h axvlc.idl
111 rm -f axvlc.tlb axvlc_idl.c axvlc_idl.h
120 DATA_axvlc_rc = $(noinst_axvlc_rc_DATA)
121 noinst_axvlc_rc_DATA = axvlc_rc.$(OBJEXT)
122 noinst_axvlc_rcdir = $(libdir)
123 axvlc_rc.$(OBJEXT): axvlc_rc.rc inplace.bmp axvlc.tlb
124 $(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 $@
132 ###############################################################################
134 ###############################################################################
136 clean-local: clean-tlb
139 ###############################################################################
141 ###############################################################################