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 \
58 LIBRARIES_libvlc = $(top_builddir)/lib/libvlc.a
62 noinst_LIBRARIES_activex = libaxvlc.a
63 axvlc_DATA = axvlc$(LIBEXT)
66 LDFLAGS_activex = `$(VLC_CONFIG) --libs vlc activex builtin`
68 libaxvlc_a_SOURCES = $(SOURCES_activex) $(SOURCE_dll)
69 libaxvlc_a_CFLAGS = `$(VLC_CONFIG) --cflags activex`
70 libaxvlc_a_CXXFLAGS = `$(VLC_CONFIG) --cxxflags activex`
71 libaxvlc_a_DEPENDENCIES = axvlc.def $(DATA_axvlc_rc)
73 axvlc$(LIBEXT): $(libaxvlc_a_OBJECTS) \
74 $(libaxvlc_a_DEPENDENCIES) stamp-pic
75 $(CXXLINK) $(libaxvlc_a_OBJECTS) $(DATA_axvlc_rc) \
76 -Wl,--enable-stdcall-fixup $(srcdir)/axvlc.def \
77 $(LIBRARIES_libvlc) -shared $(LDFLAGS_activex)
80 DATA_axvlc_tlb = $(axvlc_tlb_DATA)
81 noinst_axvlc_tlb_DATA = axvlc.tlb
82 noinst_axvlc_tlbdir = $(libdir)
86 axvlc.tlb axvlc_idl.c axvlc_idl.h: axvlc.idl
87 $(MIDL) -Oicf -error all -env win32 -tlb axvlc.tlb -iid axvlc_idl.c -h axvlc_idl.h axvlc.idl
90 rm -f axvlc.tlb axvlc_idl.c axvlc_idl.h
98 DATA_axvlc_rc = $(noinst_axvlc_rc_DATA)
99 noinst_axvlc_rc_DATA = axvlc_rc.$(OBJEXT)
100 noinst_axvlc_rcdir = $(libdir)
101 axvlc_rc.$(OBJEXT): axvlc_rc.rc inplace.bmp axvlc.tlb
102 $(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 $@
110 ###############################################################################
112 ###############################################################################
118 @for dep in "" `$(VLC_CONFIG) --target builtin`; do \
119 if test "$${dep}" -nt "$(LIBRARIES_activex)"; then \
124 @if test ! -f $@; then printf "" > $@; fi
126 ###############################################################################
128 ###############################################################################
130 clean-local: clean-stamp clean-tlb
133 ###############################################################################
135 ###############################################################################