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

📄 makefile.am

📁 机器人仿真软件
💻 AM
字号:
if INCLUDE_LIBPLAYERC_PYnoinst_DATA = pythonbuildPYTHONINSTALL = pythoninstall# files that must be built firstBUILT_SOURCES = playerc_oo.i srcbuilddirs.pyendif# files that go in distributionEXTRA_DIST = playerc.i setup.py parse.py libplayerc_py.html playercpy_example.py# Generate a OO interface file for libplayerc.  This is tweaked to# enable VPAPTH (distcheck) builds; the header files needed by swig# are copied into the build tree.playerc_oo.i: ../../playerc.h $(top_srcdir)/libplayercore/player.h	if test ! -s ../../playerc.h; then cp $(srcdir)/../../playerc.h ../../; fi	if test ! -s $(top_builddir)/libplayercore/player.h; then cp $(top_srcdir)/libplayercore/player.h $(top_builddir)/libplayercore/; fi	if test ! -s playerc.i; then cp $(srcdir)/playerc.i .; fi	python $(srcdir)/parse.py ../../playerc.h playerc_oo.i# Dump src and build paths into a Python file so that we can get them in# setup.py (distutils doesn't seem to allow extra command-line options to# the setup.py script)srcbuilddirs.py:	echo "srcdir = '$(srcdir)'" > $(top_builddir)/client_libs/libplayerc/bindings/python/srcbuilddirs.py	echo "top_srcdir = '$(top_srcdir)'" >> $(top_builddir)/client_libs/libplayerc/bindings/python/srcbuilddirs.py	echo "builddir = '$(builddir)'" >> $(top_builddir)/client_libs/libplayerc/bindings/python/srcbuilddirs.py	echo "top_builddir = '$(top_builddir)'" >> $(top_builddir)/client_libs/libplayerc/bindings/python/srcbuilddirs.py# Use distutils to build modulepythonbuild: playerc_oo.i ../../playerc.h srcbuilddirs.py	if test ! -s $(top_builddir)/client_libs/libplayerc/bindings/python/setup.py; then cp $(srcdir)/setup.py $(top_builddir)/client_libs/libplayerc/bindings/python/setup.py; fi	python $(top_builddir)/client_libs/libplayerc/bindings/python/setup.py build# For distcheck builds, clean up the files we created in the build tree# This generates warnings, so I'm relying on the top-level Makefile.am override.#distclean:#	rm -f ../../playerc.h#	rm -f $(top_builddir)/server/player.h#	rm -f playerc_oo.i playerc.i playerc_wrap.c Makefile# Normal cleanupclean-local:	rm -f playerc.py *.pyc playerc_oo.i $(top_builddir)/client_libs/libplayerc/bindings/python/srcbuilddirs.py	rm -rf buildinstall-data-hook: $(PYTHONINSTALL)# use distutils to installpythoninstall:	python $(srcdir)/setup.py install --prefix=$(DESTDIR)/$(prefix)# seems that distutils doesn't support 'uninstall', oh welluninstall-local:	echo 'Uninstall not implemented (sorry)'

⌨️ 快捷键说明

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