Changeset 8bbbcc31b7479f7ba33db7889b730cbb892e2744
- Timestamp:
- 07/17/03 14:06:10 (5 years ago)
- git-parent:
- Files:
-
- Makefile.am (modified) (2 diffs)
- configure.ac (modified) (3 diffs)
- mozilla/.cvsignore (modified) (1 diff)
- mozilla/Makefile.am (added)
- vlc-config.in.in (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
Makefile.am
re952609 r8bbbcc3 8 8 # something. DIST_SUBDIRS stores the directories where nothing is built but 9 9 # which have makefiles with distribution information. 10 SUBDIRS = intl modules . share po m410 SUBDIRS = intl modules mozilla . share po m4 11 11 DIST_SUBDIRS = $(SUBDIRS) src debian doc ipkg lib autotools 12 12 … … 567 567 568 568 ############################################################################### 569 # Building the Mozilla plugin570 ###############################################################################571 572 noinst_LIBRARIES = $(noinst_LIBRARIES_mozilla)573 574 MOSTLYCLEANFILES = $(LIBRARIES_mozilla)575 576 EXTRA_DIST += $(SOURCES_mozilla) mozilla/vlcintf.idl577 578 BUILT_SOURCES += $(BUILT_SOURCES_mozilla)579 580 SOURCES_mozilla = \581 mozilla/vlcshell.cpp \582 mozilla/vlcplugin.cpp \583 mozilla/vlcplugin.h \584 mozilla/vlcpeer.cpp \585 mozilla/vlcpeer.h \586 mozilla/support/classinfo.h \587 $(SOURCES_mozilla_win32) \588 $(SOURCES_mozilla_macosx) \589 $(SOURCES_mozilla_unix) \590 $(NULL)591 592 # Under Win32, Mozilla plugins need to be named NP******.DLL, but under Unix593 # the common naming scheme is lib******plugin.so. Also, we need npwin.cpp594 # under Win32 and npunix.c under Unix.595 if HAVE_WIN32596 LIBRARIES_mozilla = mozilla/npvlc$(LIBEXT)597 SOURCES_mozilla_win32 = mozilla/support/npwin.cpp598 CPPFLAGS_mozilla_EXTRA = -DXP_WIN -DXP_WIN32599 else600 if HAVE_DARWIN601 # We don't define LIBRARIES_mozilla because we'll be using project builder602 SOURCES_mozilla_macosx = mozilla/support/npmac.cpp603 else604 LIBRARIES_mozilla = mozilla/libvlcplugin$(LIBEXT)605 SOURCES_mozilla_unix = mozilla/support/npunix.c606 endif607 endif608 609 if BUILD_MOZILLA610 if UNTRUE611 noinst_LIBRARIES_mozilla = mozilla/libplugin.a612 endif613 614 mozilla_libplugin_a_SOURCES = $(SOURCES_mozilla)615 mozilla_libplugin_a_CFLAGS = `$(VLC_CONFIG) --cflags mozilla pic` \616 $(CPPFLAGS_mozilla_EXTRA) -Imozilla617 mozilla_libplugin_a_CXXFLAGS = `$(VLC_CONFIG) --cxxflags mozilla pic` \618 $(CPPFLAGS_mozilla_EXTRA) -Imozilla619 mozilla_libplugin_a_DEPENDENCIES = lib/libvlc_pic.a $(DATA_npvlc_rc)620 621 BUILT_SOURCES_mozilla = mozilla/vlcintf.h622 $(SOURCES_mozilla): mozilla/vlcintf.h623 624 mozilla_plugin_DATA = $(LIBRARIES_mozilla)625 mozilla_plugindir = $(libdir)/mozilla/plugins626 $(LIBRARIES_mozilla): $(mozilla_libplugin_a_OBJECTS) \627 $(mozilla_libplugin_a_DEPENDENCIES) stamp-pic628 $(CXXLINK) $(mozilla_libplugin_a_OBJECTS) $(DATA_npvlc_rc) \629 lib/libvlc_pic.a -shared \630 `$(VLC_CONFIG) --libs vlc mozilla builtin pic`631 632 mozilla_vlcintf_xpt_DATA = mozilla/vlcintf.xpt633 mozilla_vlcintf_xptdir = $(libdir)/mozilla/components634 mozilla/vlcintf.xpt: mozilla/vlcintf.idl635 $(XPIDL) -I/usr/share/idl/mozilla -I/usr/lib/mozilla/include/idl \636 -m typelib -o mozilla/vlcintf $(srcdir)/mozilla/vlcintf.idl637 638 mozilla/vlcintf.h: mozilla/vlcintf.idl639 $(XPIDL) -I/usr/share/idl/mozilla -I/usr/lib/mozilla/include/idl \640 -m header -o mozilla/vlcintf $(srcdir)/mozilla/vlcintf.idl641 642 if HAVE_WIN32643 DATA_npvlc_rc = $(noinst_mozilla_npvlc_rc_DATA)644 noinst_mozilla_npvlc_rc_DATA = mozilla/npvlc_rc.$(OBJEXT)645 noinst_mozilla_npvlc_rcdir = $(libdir)646 mozilla/npvlc_rc.$(OBJEXT): mozilla/npvlc_rc.rc647 $(WINDRES) --include-dir $(srcdir)/mozilla -i $< -o $@648 endif649 endif650 651 ###############################################################################652 569 # Stamp rules 653 570 ############################################################################### configure.ac
re5d0b8e r8bbbcc3 1 1 dnl Autoconf settings for vlc 2 dnl $Id: configure.ac,v 1.3 1 2003/07/16 16:06:56sam Exp $2 dnl $Id: configure.ac,v 1.32 2003/07/17 12:06:10 sam Exp $ 3 3 4 4 AC_INIT(vlc,0.6.0) … … 3194 3194 dnl Handle substvars that use $(top_srcdir) 3195 3195 dnl 3196 VLC_CONFIG=" \$(top_builddir)/vlc-config"3196 VLC_CONFIG="top_srcdir=\"\$(top_srcdir)\" \$(top_builddir)/vlc-config" 3197 3197 AC_SUBST(VLC_CONFIG) 3198 3198 CPPFLAGS_save="${CPPFLAGS_save} -I\$(top_srcdir)/include" … … 3240 3240 lib/Makefile 3241 3241 modules/Makefile 3242 mozilla/Makefile 3242 3243 m4/Makefile 3243 3244 po/Makefile.in mozilla/.cvsignore
rc01dd5d r8bbbcc3 1 .deps 2 .dirstamp 3 *.lo 4 *.la 1 5 *.dll 6 *.dylib 7 *.sl 8 *.so 9 Makefile.in 10 Makefile 2 11 vlcintf.h 3 12 vlcintf.xpt 4 .deps5 .dirstampvlc-config.in.in
rf53fe26 r8bbbcc3 78 78 # automatically added when using $(COMPILE), $(CXXCOMPILE) or $(OBJCCOMPILE) 79 79 # 80 if test "@includedir@" != /usr/include; then80 if test "@includedir@" != "/usr/include"; then 81 81 includes="-I@includedir@" 82 fi 83 if test "${top_srcdir}" != ""; then 84 top_srcdir="${top_srcdir}/" 82 85 fi 83 86 cppflags="${includes}" … … 244 247 register_targets "${module}" 245 248 done 246 for target in `echo "${list}"`; do printf " modules/${target}_plugin "; done249 for target in `echo "${list}"`; do printf "${top_srcdir}modules/${target}_plugin "; done 247 250 printf '\n' 248 251 fi … … 252 255 done 253 256 if test "${echo_pic}" = yes; then 254 for target in `echo "${list}"`; do printf " modules/${target}_pic.a "; done257 for target in `echo "${list}"`; do printf "${top_srcdir}modules/${target}_pic.a "; done 255 258 else 256 for target in `echo "${list}"`; do printf " modules/${target}.a "; done259 for target in `echo "${list}"`; do printf "${top_srcdir}modules/${target}.a "; done 257 260 fi 258 261 printf '\n' … … 286 289 done 287 290 if test "${echo_pic}" = yes; then 288 for target in `echo "${list}"`; do printf " modules/${target}_pic.a "; done291 for target in `echo "${list}"`; do printf "${top_srcdir}modules/${target}_pic.a "; done 289 292 else 290 for target in `echo "${list}"`; do printf " modules/${target}.a "; done293 for target in `echo "${list}"`; do printf "${top_srcdir}modules/${target}.a "; done 291 294 fi 292 295 fi
