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
69 LIBRARIES_libvlc = $(top_builddir)/src/libvlc.a
74 noinst_LIBRARIES_activex = libaxvlc.a
75 axvlc_DATA = axvlc$(LIBEXT)
78 LDFLAGS_activex = `$(VLC_CONFIG) --libs activex vlc builtin`
80 libaxvlc_a_SOURCES = $(SOURCES_activex) $(SOURCE_dll)
81 libaxvlc_a_CFLAGS = `$(VLC_CONFIG) --cflags activex`
82 libaxvlc_a_CXXFLAGS = `$(VLC_CONFIG) --cxxflags activex`
83 libaxvlc_a_DEPENDENCIES = axvlc.def $(DATA_axvlc_rc) $(LIBRARIES_libvlc)
85 axvlc$(LIBEXT): $(libaxvlc_a_OBJECTS) \
86 $(libaxvlc_a_DEPENDENCIES) stamp-builtin
87 $(CXXLINK) $(libaxvlc_a_OBJECTS) $(DATA_axvlc_rc) \
89 $(LIBRARIES_libvlc) -shared $(LIBRARIES_libvlc) $(LDFLAGS_activex) \
92 @if test -f "$@.exe"; then mv -f "$@.exe" "$@"; fi
95 DATA_axvlc_tlb = $(axvlc_tlb_DATA)
96 noinst_axvlc_tlb_DATA = axvlc.tlb
97 noinst_axvlc_tlbdir = $(libdir)
101 axvlc.tlb axvlc_idl.c axvlc_idl.h: axvlc.idl
102 $(MIDL) -Oicf -error all -env win32 -tlb axvlc.tlb -iid axvlc_idl.c -h axvlc_idl.h axvlc.idl
105 rm -f axvlc.tlb axvlc_idl.c axvlc_idl.h
110 axvlc.tlb axvlc_idl.c axvlc_idl.h: axvlc.idl
111 $(WIDL) -I$(WINE_SDK_PATH)/include -tuh -T axvlc.tlb -U axvlc_idl.c -H axvlc_idl.h axvlc.idl
114 rm -f axvlc.tlb axvlc_idl.c axvlc_idl.h
123 DATA_axvlc_rc = $(noinst_axvlc_rc_DATA)
124 noinst_axvlc_rc_DATA = axvlc_rc.$(OBJEXT)
125 noinst_axvlc_rcdir = $(libdir)
126 axvlc_rc.$(OBJEXT): axvlc_rc.rc inplace.bmp axvlc.tlb
127 $(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 $@
135 ###############################################################################
137 ###############################################################################
145 stamp-builtin: $(shell ${VLC_CONFIG} --target builtin)
150 ###############################################################################
152 ###############################################################################
154 clean-local: clean-stamp clean-tlb
157 ###############################################################################
159 ###############################################################################