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 \
65 LIBRARIES_libvlc = $(top_builddir)/src/libvlc.dll
67 LIBRARIES_libvlc = $(top_builddir)/src/libvlc.a
72 noinst_LIBRARIES_activex = libaxvlc.a
73 axvlc_DATA = axvlc$(LIBEXT)
76 LDFLAGS_activex = `$(VLC_CONFIG) --libs activex vlc builtin`
78 libaxvlc_a_SOURCES = $(SOURCES_activex) $(SOURCE_dll)
79 libaxvlc_a_CFLAGS = `$(VLC_CONFIG) --cflags activex`
80 libaxvlc_a_CXXFLAGS = `$(VLC_CONFIG) --cxxflags activex`
81 libaxvlc_a_DEPENDENCIES = axvlc.def $(DATA_axvlc_rc) $(LIBRARIES_libvlc)
83 axvlc$(LIBEXT): $(libaxvlc_a_OBJECTS) \
84 $(libaxvlc_a_DEPENDENCIES) stamp-builtin
85 $(CXXLINK) $(libaxvlc_a_OBJECTS) $(DATA_axvlc_rc) \
87 $(LIBRARIES_libvlc) -shared $(LIBRARIES_libvlc) $(LDFLAGS_activex) \
90 @if test -f "$@.exe"; then mv -f "$@.exe" "$@"; fi
93 DATA_axvlc_tlb = $(axvlc_tlb_DATA)
94 noinst_axvlc_tlb_DATA = axvlc.tlb
95 noinst_axvlc_tlbdir = $(libdir)
99 axvlc.tlb axvlc_idl.c axvlc_idl.h: axvlc.idl
100 $(MIDL) -Oicf -error all -env win32 -tlb axvlc.tlb -iid axvlc_idl.c -h axvlc_idl.h axvlc.idl
103 rm -f axvlc.tlb axvlc_idl.c axvlc_idl.h
108 axvlc.tlb axvlc_idl.c axvlc_idl.h: axvlc.idl
109 $(WIDL) -I$(WINE_SDK_PATH)/include -tuh -T axvlc.tlb -U axvlc_idl.c -H axvlc_idl.h axvlc.idl
112 rm -f axvlc.tlb axvlc_idl.c axvlc_idl.h
121 DATA_axvlc_rc = $(noinst_axvlc_rc_DATA)
122 noinst_axvlc_rc_DATA = axvlc_rc.$(OBJEXT)
123 noinst_axvlc_rcdir = $(libdir)
124 axvlc_rc.$(OBJEXT): axvlc_rc.rc inplace.bmp axvlc.tlb
125 $(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 $@
133 ###############################################################################
135 ###############################################################################
143 stamp-builtin: $(shell ${VLC_CONFIG} --target builtin)
148 ###############################################################################
150 ###############################################################################
152 clean-local: clean-stamp clean-tlb
155 ###############################################################################
157 ###############################################################################