⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile.am

📁 彩信浏览器
💻 AM
字号:
## This automake file is quite a bit of a hack, mainly because (a) automake# and Python distutils aren't very friendly to each other and (b) distutils# does not like to be run outside of the source directory.## (a) is solved by pretty much ignoring automake and using the all-am and related# targets to depend on targets that build and install through distutils.# (b) is solved by running setup.py in the source directory. This should also# work for building for multiple platforms, because distutils has its own# platform structure under its build directory (but it will not work for building# with multiple pythons, etc).#ambulantlibdir=$(top_builddir)/src/libambulant/.libsEXTRA_DIST=setup.py \    bgenCxxSupport.py bgenBackSupport.py \    ambulantscan.py ambulantsupport.py genobjects.py \    ambulantutilities.h ambulantutilities.cpp \    ambulantmodule.h ambulantmodule.cpp \    ambulantinterface.h ambulantinterface.cpp    # Various flags for optional featuresif WITH_QTextra_qt_cflags=-DWITH_QTextra_qt_ldflags=-lambulant_qt -L$(QT_PREFIX)/lib -lqt-mtelseextra_qt_cflags=extra_qt_ldflags=endifif WITH_FFMPEGextra_ffmpeg_ldflags=-lambulant_ffmpeg $(FFMPEG_LIBS)elseextra_ffmpeg_ldflags=endifif WITH_SDLsdl_config=`sdl-config --libs`extra_sdl_ldflags=-lambulant_sdl $(sdl_config)elseextra_sdl_ldflags=endif# Get all the extra bits together# XXXX Why does this not work??? EXTRA_LDFLAGS=$(extra_qt_ldflags)EXTRA_CFLAGS=$(extra_qt_cflags)# These targets are magic for automakeall-am: build-pyambulantcheck-am: check-pyambulantinstall-exec-hook: install-pyambulantuninstall-local: clean-pyambulant# This target re-creates the cpp files. Use only when you know what you# are doing.regen: regenerate-pyambulant   BGENADDITIONS=$(srcdir)/bgenCxxSupport.py $(srcdir)/bgenBackSupport.pyBGENOUTPUT=$(srcdir)/ambulantmodule.cpp $(srcdir)/ambulantinterface.cppBGENTEMP=$(srcdir)/ambulantgen.pyBGENINPUT=$(srcdir)/ambulantscan.py $(srcdir)/ambulantsupport.pyGENOBJOUTPUT=$(srcdir)/ambulantobjgen.py $(srcdir)/ambulantincludegen.py $(srcdir)/ambulantmodule.h# Set these variables to change the way the tests are runDEBUGGER=#DEBUGGER=gdb --argsPYTHONARGS=#PYTHONARGS=-iPYTHONENV=#PYTHONENV=DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylibBUILDLIBDIR=`echo ./build/lib.*`	build-pyambulant: $(srcdir)/setup.py $(BGENOUTPUT) $(srcdir)/ambulantutilities.cpp $(srcdir)/ambulantutilities.h $(srcdir)/ambulantmodule.h	( a=`cd $(ambulantlibdir); pwd` ; \	  cd $(srcdir) ; \	  LDFLAGS="-L$$a $(extra_qt_ldflags) $(extra_ffmpeg_ldflags) $(extra_sdl_ldflags)" CFLAGS="$(EXTRA_CFLAGS)" $(PYTHON) setup.py build ; \	)check-pyambulant:	( a=`cd $(ambulantlibdir); pwd` ; \	  cd $(srcdir) ; \	  LD_LIBRARY_PATH="$$a" DYLD_LIBRARY_PATH="$$a" $(PYTHONENV) PYTHONPATH=$(BUILDLIBDIR) $(DEBUGGER) $(PYTHON) $(PYTHONARGS) test/test_pyambulant.py ; \	)install-pyambulant:	cd $(srcdir) ; $(PYTHON) setup.py install	mostlyclean-am:	-cd $(srcdir) ; $(PYTHON) setup.py clean	-rm -r $(srcdir)/build# Targets to regenerate ambulantmodule.cpp and ambulantinterface.cppregenerate-pyambulant:	cd $(srcdir) ; $(PYTHON) genobjects.py	cd $(srcdir) ; $(PYTHON) ambulantscan.py	# Debug targettestplay:	cd $(srcdir) ; $(PYTHONENV) PYTHONPATH=$(BUILDLIBDIR) $(DEBUGGER) $(PYTHON) $(PYTHONARGS) test/nogui_player.py ../../Extras/DemoPresentation/NYC-SMIL2.smil	

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -