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

📄 makefile.am

📁 开源备份软件源码 AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a backup system that a
💻 AM
字号:
# Makefile for Amanda server programs.include $(top_srcdir)/config/automake/vars.aminclude $(top_srcdir)/config/automake/scripts.aminclude $(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)/restore-src  \		-I$(top_srcdir)/amandad-src  \		-I$(top_srcdir)/device-src   \		-I$(top_srcdir)/gnulibAM_CFLAGS = $(AMANDA_WARNING_CFLAGS)AM_LDFLAGS = $(AMANDA_STATIC_LDFLAGS)LINT=$(AMLINT)LINTFLAGS=$(AMLINTFLAGS)amlib_LTLIBRARIES = 	libamserver.lasbin_PROGRAMS =		amadmin		amcheck		\			amflush		amgetconf	amlabel		\			amtape		amreportnoinst_PROGRAMS = taper_source_testamlibexec_PROGRAMS =	amindexd	amlogroll	amtrmidx	\			amtrmlog	driver		dumper		\			planner		taper		amcleanupdisk	\			chunker# Exclude scripts which depend on perl extension modules from the syntax checksCHECK_PERL = \	    amaddclient \	    amoverview \	    amserverconfig \	    amstatus \	    amtocSCRIPTS_PERL =  \	    $(CHECK_PERL) \	    amdevcheck \	    amcheckdumpSCRIPTS_SHELL = \	    amcheckdb \	    amcleanup \	    amdump \	    amrmtape \	    amverify \	    amverifyrunsbin_SCRIPTS = $(SCRIPTS_PERL) $(SCRIPTS_SHELL)INSTALLPERMS_exec = \	dest=$(sbindir) chown=amanda chmod= \		$(sbin_PROGRAMS) \	chown=root chmod=u+s,o-rwx \		amcheck \	dest=$(amlibexecdir) chown=amanda chmod= \		$(amlibexec_PROGRAMS) \	chown=root chmod=u+s,o-rwx \		dumper plannerINSTALLPERMS_data = \	dest=$(sbindir) chown=amanda chmod= \		$(sbin_SCRIPTS) \	dest=$(amlibexecdir) chown=amanda chmod= \		$(amlibexec_SCRIPTS)#### 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.la   \	libamserver.la               \	../device-src/libamdevice.la     \	../common-src/libamanda.la   \	../gnulib/libgnu.la          \        $(READLINE_LIBS)libamserver_la_SOURCES=	amindex.c	changer.c			\			diskfile.c	driverio.c	cmdline.c  \			holding.c	infofile.c	logfile.c	\			tapefile.c	find.c		server_util.c   \                        taperscan.clibamserver_la_LDFLAGS= -release $(VERSION)libamserver_la_LIBADD= ../device-src/libamdevice.la \		       ../common-src/libamanda.lataper_source_test_SOURCES = taper-source-test.c \			taper-source.c \			taper-file-source.c \			taper-port-source.c \			taper-disk-port-source.c \			taper-mem-port-source.ctaper_SOURCES = 	taper.c \			taper-source.c \			taper-file-source.c \			taper-port-source.c \			taper-disk-port-source.c \			taper-mem-port-source.ctaper_LDADD = $(LDADD) \	../amandad-src/libamandad.lataper_source_test_LDADD = $(LDADD) \	../amandad-src/libamandad.laamindexd_LDADD = $(LDADD) \	../amandad-src/libamandad.la# there are used for testing only:TEST_PROGS = diskfile infofileEXTRA_PROGRAMS =	$(TEST_PROGS)CLEANFILES += *.test.camindexd_CSRC =		amindexd.c	disk_history.c	list_dir.camindexd_SOURCES =	disk_history.h	list_dir.h	$(amindexd_CSRC)amreport_SOURCES =	reporter.camgetconf_SOURCES =	getconf.cnoinst_HEADERS = 	amindex.h	changer.h	cmdline.h	\			diskfile.h	driverio.h	\			holding.h	infofile.h	logfile.h	\			tapefile.h	find.h		server_util.h	\			taperscan.h taper-disk-port-source.h \			taper-mem-port-source.h  taper-file-source.h \			taper-port-source.h taper-source.hlint:	@ for p in $(amlibexec_PROGRAMS) $(sbin_PROGRAMS); do			\		if [ $$p = "amindexd" ]; then					\			s="$(amindexd_CSRC)";					\		elif [ $$p = "amreport" ]; then					\			s="$(amreport_SOURCES)";				\		elif [ $$p = "amgetconf" ]; then				\			s="$(getconf_SOURCES)";					\		else								\			s=$$p.c;						\		fi; 								\		f="$$s $(libamserver_la_SOURCES)";				\		(cd ../common-src; make listlibsrc);				\		f="$$f "`cat ../common-src/listlibsrc.output`;			\		(cd ../tape-src; make listlibsrc);				\		f="$$f "`cat ../tape-src/listlibsrc.output`;			\		echo $(LINT) $$f;						\		$(LINT) $(LINTFLAGS) $(CPPFLAGS) $(DEFS) -I. -I$(top_builddir)/config	\		    $(INCLUDES) $$f;						\		if [ $$? -ne 0 ]; then						\		    exit 1;							\		fi;								\	done;									\        exit 0listlibsrc:	@ for p in $(libamserver_la_SOURCES); do		\		listlibsrcs="$$listlibsrcs `pwd`/$$p";		\	done;							\	echo $$listlibsrcs >listlibsrc.outputdiskfile_SOURCES = diskfile.test.cinfofile_SOURCES = infofile.test.c%.test.c: $(srcdir)/%.c	echo '#define TEST' >$@	echo '#include "$<"' >>$@

⌨️ 快捷键说明

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