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 \
62 LIBRARIES_libvlc = $(top_builddir)/lib/libvlc.a
66 noinst_LIBRARIES_activex = libaxvlc.a
67 axvlc_DATA = axvlc$(LIBEXT)
70 LDFLAGS_activex = `$(VLC_CONFIG) --libs activex vlc builtin`
72 libaxvlc_a_SOURCES = $(SOURCES_activex) $(SOURCE_dll)
73 libaxvlc_a_CFLAGS = `$(VLC_CONFIG) --cflags activex`
74 libaxvlc_a_CXXFLAGS = `$(VLC_CONFIG) --cxxflags activex`
75 libaxvlc_a_DEPENDENCIES = axvlc.def $(DATA_axvlc_rc)
77 axvlc$(LIBEXT): $(libaxvlc_a_OBJECTS) \
78 $(libaxvlc_a_DEPENDENCIES) stamp-pic
79 $(CXXLINK) $(libaxvlc_a_OBJECTS) $(DATA_axvlc_rc) \
80 -Wl,--enable-stdcall-fixup $(srcdir)/axvlc.def \
81 $(LIBRARIES_libvlc) -shared $(LDFLAGS_activex) $(LIBRARIES_libvlc)
84 DATA_axvlc_tlb = $(axvlc_tlb_DATA)
85 noinst_axvlc_tlb_DATA = axvlc.tlb
86 noinst_axvlc_tlbdir = $(libdir)
90 axvlc.tlb axvlc_idl.c axvlc_idl.h: axvlc.idl
91 $(MIDL) -Oicf -error all -env win32 -tlb axvlc.tlb -iid axvlc_idl.c -h axvlc_idl.h axvlc.idl
94 rm -f axvlc.tlb axvlc_idl.c axvlc_idl.h
102 DATA_axvlc_rc = $(noinst_axvlc_rc_DATA)
103 noinst_axvlc_rc_DATA = axvlc_rc.$(OBJEXT)
104 noinst_axvlc_rcdir = $(libdir)
105 axvlc_rc.$(OBJEXT): axvlc_rc.rc inplace.bmp axvlc.tlb
106 $(WINDRES) -DVERSION=$(VERSION) -DVERSION_NUMBER=`echo $(VERSION).0.0.0 | sed 's/\([0-9]*\)[^.]*\.*\([0-9]*\)[^.]*\.*\([0-9]*\)[^.]*\.*\([0-9]*\).*/\1,\2,\3,\4/'` --include-dir $(srcdir) -i $< -o $@
114 ###############################################################################
116 ###############################################################################
122 @for dep in "" `$(VLC_CONFIG) --target builtin`; do \
123 if test "$${dep}" -nt "$(LIBRARIES_activex)"; then \
128 @if test ! -f $@; then printf "" > $@; fi
130 ###############################################################################
132 ###############################################################################
134 clean-local: clean-stamp clean-tlb
137 ###############################################################################
139 ###############################################################################