📄 makefile.am
字号:
## Process this file with automake to produce Makefile.in# Make sure that when we re-make ./configure, we get the macros we needACLOCAL_AMFLAGS = -I `pwd`/../autoconf# This is so we can #include <google/foo>AM_CPPFLAGS = -I$(top_srcdir)/srcgoogleincludedir = $(includedir)/google## The .h files you want to install (that is, .h files that people## who install this package can include in their own applications.)googleinclude_HEADERS =docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION)## This is for HTML and other documentation you want to install.## Add your documentation files (in doc/) in addition to these## top-level boilerplate files. Also add a TODO file if you have one.dist_doc_DATA = AUTHORS COPYING ChangeLog INSTALL NEWS README TODO## The libraries (.so's) you want to installlib_LTLIBRARIES =## unittests you want to run when people type 'make check'.## TESTS is for binary unittests, check_SCRIPTS for script-based unittests.## TESTS_ENVIRONMENT sets environment variables for when you run unittest,## but it only seems to take effect for *binary* unittests (argh!)TESTS =check_SCRIPTS =TESTS_ENVIRONMENT =# Every time you add a unittest to check_SCRIPTS, add it here toonoinst_SCRIPTS =# The manual pages that should be installedman3_MANS = man/GetCoreDump.man man/WriteCoreDump.maninstall-data-hook: ln -sf GetCoreDump.3 $(DESTDIR)$(man3dir)/GetCompressedCoreDump.3 ln -sf WriteCoreDump.3 $(DESTDIR)$(man3dir)/WriteCompressedCoreDump.3 ln -sf WriteCoreDump.3 $(DESTDIR)$(man3dir)/WriteCoreDumpLimited.3uninstall-hook: rm -f $(DESTDIR)$(man3dir)/GetCompressedCoreDump.3 rm -f WriteCoreDump.3 $(DESTDIR)$(man3dir)/WriteCompressedCoreDump.3 rm -f WriteCoreDump.3 $(DESTDIR)$(man3dir)/WriteCoreDumpLimited.3## vvvv RULES TO MAKE THE LIBRARIES, BINARIES, AND UNITTESTSlib_LTLIBRARIES += libcoredumper.laLIBCOREDUMPER_INCLUDES = src/google/coredumper.h src/elfcore.h \ src/linux_syscall_support.h src/linuxthreads.h \ src/thread_lister.hgoogleinclude_HEADERS += src/google/coredumper.hlibcoredumper_la_SOURCES = src/coredumper.c \ src/thread_lister.c \ src/elfcore.c \ src/linuxthreads.c \ $(LIBCOREDUMPER_INCLUDES)libcoredumper_la_LDFLAGS = -export-symbols $(top_srcdir)/src/libcoredumper.symTESTS += coredumper_unittestCOREDUMP_UNITTEST_INCLUDES = src/google/coredumper.hcoredumper_unittest_SOURCES = src/coredumper_unittest.ccoredumper_unittest_LDADD = libcoredumper.la -lpthread## ^^^^ END OF RULES TO MAKE THE LIBRARIES, BINARIES, AND UNITTESTS## This should always include $(TESTS), but may also include other## binaries that you compile but don't want automatically installed.noinst_PROGRAMS = $(TESTS)rpm: dist-gzip packages/rpm.sh packages/rpm/rpm.spec @cd packages && ./rpm.sh ${PACKAGE} ${VERSION}deb: dist-gzip packages/deb.sh packages/deb/* @cd packages && ./deb.sh ${PACKAGE} ${VERSION}libtool: $(LIBTOOL_DEPS) $(SHELL) ./config.status --recheckEXTRA_DIST = ${man3_MANS} man/GetCoreDump.man man/WriteCoreDump.man \ packages/rpm.sh packages/rpm/rpm.spec packages/deb.sh \ packages/deb libtool src/libcoredumper.sym examples/Makefile \ examples/tftpd.cDISTCLEANFILES = core-test
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -