Page 1 of 1

How to change makefile to build a vlc.dll?

Posted: 30 Jan 2007 08:37
by ballofking
hi,
These are part of makefile in vlc 0.8.6-a.I would like to convert vlc.exe to a vlc.dll,so i can call funtions from vlc media player when i use my java ap.Does somebody knows how to do it.Please gives me a hint.Thanks

vlc$(EXEEXT): $(vlc_OBJECTS) $(DEPENDENCIES_vlc)
@rm -f vlc$(EXEEXT)
@case `$(VLC_CONFIG) --linkage vlc builtin` in \
c++) cmd="$(CXXLINK)" ;; \
objc) cmd="$(OBJCLINK)" ;; \
c|*) cmd="$(LINK)" ;; \
esac ; \
cmd="$$cmd $(vlc_OBJECTS) $(vlc_LDADD) $(vlc_LDFLAGS)" ; \
echo $$cmd ; \
eval $$cmd