📄 makefile.am
字号:
# Makefile for Amanda file recovery programs.include $(top_srcdir)/config/automake/installperms.aminclude $(top_srcdir)/config/automake/precompile.amINCLUDES = -I$(top_builddir)/common-src \ -I$(top_srcdir)/common-src \ -I$(top_srcdir)/client-src \ -I$(top_srcdir)/gnulibAM_CFLAGS = $(AMANDA_WARNING_CFLAGS)AM_LDFLAGS = $(AMANDA_STATIC_LDFLAGS)LINT=@AMLINT@LINTFLAGS=@AMLINTFLAGS@LIB_EXTENSION = lasbin_PROGRAMS = amrecover#### Because libamanda includes routines (e.g. regex) provided by some system# libraries, and because of the way libtool sets up the command line, we# need to list libamanda twice here, first to override the system library# routines, and second to pick up any references in the other libraries.###LDADD = ../common-src/libamanda.$(LIB_EXTENSION) \ @LEXLIB@ \ $(READLINE_LIBS) \ ../client-src/libamclient.$(LIB_EXTENSION) \ ../common-src/libamanda.$(LIB_EXTENSION) \ ../gnulib/libgnu.$(LIB_EXTENSION) amrecover_CSRC = amrecover.c \ display_commands.c extract_list.c \ help.c set_commands.camrecover_SOURCES = $(amrecover_CSRC) uparse.y uscan.lnoinst_HEADERS = amrecover.h uparse.hAM_YFLAGS = -d# so that uscan.c is never generated before uparse.h# otherwise we might have makedepend problemsuscan.c: uparse.h# these two commands are specially defined to omit $(AMANDA_WARNING_CFLAGS)# since we don't want warnings for generated codeuscan.$(OBJEXT): uscan.c $(CC) $(CFLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CPPFLAGS) -c $<uparse.$(OBJEXT): uparse.c $(CC) $(CFLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CPPFLAGS) -c $<INSTALLPERMS_exec = \ dest=$(sbindir) chown=amanda chmod=o-rwx $(sbin_PROGRAMS)lint: @f="$(amrecover_CSRC)"; \ (cd ../common-src; make listlibsrc); \ f="$$f "`cat ../common-src/listlibsrc.output`; \ (cd ../server-src; make listlibsrc); \ f="$$f "`cat ../server-src/listlibsrc.output`; \ echo $(LINT) $$f; \ $(LINT) $(LINTFLAGS) $(CPPFLAGS) $(DEFS) -I. -I$(top_builddir)/config $(INCLUDES) $$f;\ if [ $$? -ne 0 ]; then \ exit 1; \ fi; \ exit 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -