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 \
63 LIBRARIES_libvlc = $(top_builddir)/src/libvlc.dll.a
65 LIBRARIES_libvlc = $(top_builddir)/src/libvlc.a
70 noinst_LIBRARIES_activex = libaxvlc.a
71 axvlc_DATA = axvlc$(LIBEXT)
74 LDFLAGS_activex = `$(VLC_CONFIG) --libs activex vlc builtin`
76 libaxvlc_a_SOURCES = $(SOURCES_activex) $(SOURCE_dll)
77 libaxvlc_a_CFLAGS = `$(VLC_CONFIG) --cflags activex`
78 libaxvlc_a_CXXFLAGS = `$(VLC_CONFIG) --cxxflags activex`
79 libaxvlc_a_DEPENDENCIES = axvlc.def $(DATA_axvlc_rc)
81 axvlc$(LIBEXT): $(libaxvlc_a_OBJECTS) \
82 $(libaxvlc_a_DEPENDENCIES) stamp-pic
83 $(CXXLINK) $(libaxvlc_a_OBJECTS) $(DATA_axvlc_rc) \
85 $(LIBRARIES_libvlc) -shared $(LIBRARIES_libvlc) $(LDFLAGS_activex) \
88 @if test -f "$@.exe"; then mv -f "$@.exe" "$@"; fi
91 DATA_axvlc_tlb = $(axvlc_tlb_DATA)
92 noinst_axvlc_tlb_DATA = axvlc.tlb
93 noinst_axvlc_tlbdir = $(libdir)
97 axvlc.tlb axvlc_idl.c axvlc_idl.h: axvlc.idl
98 $(MIDL) -Oicf -error all -env win32 -tlb axvlc.tlb -iid axvlc_idl.c -h axvlc_idl.h axvlc.idl
101 rm -f axvlc.tlb axvlc_idl.c axvlc_idl.h
109 DATA_axvlc_rc = $(noinst_axvlc_rc_DATA)
110 noinst_axvlc_rc_DATA = axvlc_rc.$(OBJEXT)
111 noinst_axvlc_rcdir = $(libdir)
112 axvlc_rc.$(OBJEXT): axvlc_rc.rc inplace.bmp axvlc.tlb
113 $(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 $@
121 ###############################################################################
123 ###############################################################################
129 @for dep in "" `$(VLC_CONFIG) --target builtin`; do \
130 if test "$${dep}" -nt "$(LIBRARIES_activex)"; then \
135 @if test ! -f $@; then printf "" > $@; fi
137 ###############################################################################
139 ###############################################################################
141 clean-local: clean-stamp clean-tlb
144 ###############################################################################
146 ###############################################################################