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

📄 rules.mk.in

📁 Apache HTTP Server 是一个功能强大的灵活的与HTTP/1.1相兼容的web服务器.这里给出的是Apache HTTP服务器的源码。
💻 IN
字号:
# Copyright 2001-2005 The Apache Software Foundation or its licensors, as# applicable.## Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at##     http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.### The build environment was originally provided by Sascha Schumann.@ap_make_include@ @ap_make_delimiter@$(top_builddir)/build/config_vars.mk@ap_make_delimiter@# Combine all of the flags together in the proper order so that# the user-defined flags can always override the configure ones, if needed.# Note that includes are listed after the flags because -I options have# left-to-right precedence and CPPFLAGS may include user-defined overrides.#ALL_CFLAGS   = $(EXTRA_CFLAGS) $(NOTEST_CFLAGS) $(CFLAGS)ALL_CPPFLAGS = $(DEFS) $(EXTRA_CPPFLAGS) $(NOTEST_CPPFLAGS) $(CPPFLAGS)ALL_CXXFLAGS = $(EXTRA_CXXFLAGS) $(NOTEST_CXXFLAGS) $(CXXFLAGS)ALL_LDFLAGS  = $(EXTRA_LDFLAGS) $(NOTEST_LDFLAGS) $(LDFLAGS)ALL_LIBS     = $(EXTRA_LIBS) $(NOTEST_LIBS) $(LIBS)ALL_INCLUDES = $(INCLUDES) $(EXTRA_INCLUDES)# Compile commandsCOMPILE      = $(CC)  $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(ALL_INCLUDES)CXX_COMPILE  = $(CXX) $(ALL_CXXFLAGS) $(ALL_CPPFLAGS) $(ALL_INCLUDES)SH_COMPILE     = $(LIBTOOL) --mode=compile $(COMPILE) @SHLTCFLAGS@ -c $< && touch $@SH_CXX_COMPILE = $(LIBTOOL) --mode=compile $(CXX_COMPILE) @SHLTCFLAGS@ -c $< && touch $@LT_COMPILE     = $(LIBTOOL) --mode=compile $(COMPILE) @LTCFLAGS@ -c $< && touch $@LT_CXX_COMPILE = $(LIBTOOL) --mode=compile $(CXX_COMPILE) @LTCFLAGS@ -c $< && touch $@# Link-related commandsLINK     = $(LIBTOOL) --mode=link $(COMPILE) $(LT_LDFLAGS) $(ALL_LDFLAGS) -o $@SH_LINK  = $(SH_LIBTOOL) --mode=link $(COMPILE) $(LT_LDFLAGS) $(ALL_LDFLAGS) $(SH_LDFLAGS) $(CORE_IMPLIB) $(SH_LIBS) -o $@MOD_LINK = $(LIBTOOL) --mode=link $(COMPILE) -module $(LT_LDFLAGS) $(ALL_LDFLAGS) -o $@# Cross compile commands# Helper programsMKINSTALLDIRS = $(abs_srcdir)/build/mkdir.shINSTALL = $(LIBTOOL) --mode=install $(abs_srcdir)/build/install.sh -cINSTALL_DATA = $(INSTALL) -m 644INSTALL_PROGRAM = $(INSTALL) -m 755 $(INSTALL_PROG_FLAGS)## Standard build rules#all: all-recursivedepend: depend-recursiveclean: clean-recursivedistclean: distclean-recursiveextraclean: extraclean-recursiveinstall: install-recursiveshared-build: shared-build-recursiveall-recursive install-recursive depend-recursive:	@otarget=`echo $@|sed s/-recursive//`; \	list=' $(BUILD_SUBDIRS) $(SUBDIRS)'; \	for i in $$list; do \	    if test -d "$$i"; then \		target="$$otarget"; \		echo "Making $$target in $$i"; \		if test "$$i" = "."; then \			made_local=yes; \			target="local-$$target"; \		fi; \		(cd $$i && $(MAKE) $$target) || exit 1; \	    fi; \	done; \	if test "$$otarget" = "all" && test -z '$(TARGETS)'; then \	    made_local=yes; \	fi; \	if test "$$made_local" != "yes"; then \	    $(MAKE) "local-$$otarget" || exit 1; \	ficlean-recursive distclean-recursive extraclean-recursive:	@otarget=`echo $@|sed s/-recursive//`; \	list='$(CLEAN_SUBDIRS) $(SUBDIRS)'; \	for i in $$list; do \	    if test -d "$$i"; then \		target="$$otarget"; \		echo "Making $$target in $$i"; \		if test "$$i" = "."; then \			made_local=yes; \			target="local-$$target"; \		fi; \		(cd $$i && $(MAKE) $$target); \	    fi; \	done; \	if test "$$otarget" = "all" && test -z '$(TARGETS)'; then \	    made_local=yes; \	fi; \	if test "$$made_local" != "yes"; then \	    $(MAKE) "local-$$otarget"; \	fishared-build-recursive:	@if test `pwd` = "$(top_builddir)"; then \	    $(PRE_SHARED_CMDS) ; \	fi; \	list='$(SUBDIRS)'; for i in $$list; do \	    target="shared-build"; \	    if test "$$i" = "."; then \		made_local=yes; \		target="local-shared-build"; \	    fi; \	    if test "$$i" != "srclib"; then \		(cd $$i && $(MAKE) $$target) || exit 1; \	    fi; \	done; \	if test -f 'modules.mk'; then \	    if test -n '$(SHARED_TARGETS)'; then \		echo "Building shared: $(SHARED_TARGETS)"; \		if test "$$made_local" != "yes"; then \			$(MAKE) "local-shared-build" || exit 1; \		fi; \	    fi; \	fi; \	if test `pwd` = "$(top_builddir)"; then \		$(POST_SHARED_CMDS) ; \	filocal-all: $(TARGETS)local-shared-build: $(SHARED_TARGETS)local-depend: x-local-depend	if test -n "`ls $(srcdir)/*.c 2> /dev/null`"; then \		$(CC) -MM $(ALL_CPPFLAGS) $(ALL_INCLUDES) $(srcdir)/*.c | sed 's/\.o:/.lo:/' > $(builddir)/.deps || true;           \	filocal-clean: x-local-clean	rm -f *.o *.lo *.slo *.obj *.a *.la $(CLEAN_TARGETS) $(TARGETS)	rm -rf .libslocal-distclean: local-clean x-local-distclean	rm -f .deps Makefile $(DISTCLEAN_TARGETS)local-extraclean: local-distclean x-local-extraclean	@if test -n "$(EXTRACLEAN_TARGETS)"; then \	    echo "rm -f $(EXTRACLEAN_TARGETS)"; \	    rm -f $(EXTRACLEAN_TARGETS) ; \	filocal-install: $(TARGETS) $(SHARED_TARGETS) $(INSTALL_TARGETS)	@if test -n '$(PROGRAMS)'; then \	    test -d $(DESTDIR)$(sbindir) || $(MKINSTALLDIRS) $(DESTDIR)$(sbindir); \	    list='$(PROGRAMS)'; for i in $$list; do \	        $(INSTALL_PROGRAM) $$i $(DESTDIR)$(sbindir); \	    done; \	fi# to be filled in by the actual Makefile if extra commands are neededx-local-depend x-local-clean x-local-distclean x-local-extraclean:## Implicit rules for creating outputs from input files#CXX_SUFFIX = cppSHLIB_SUFFIX = so.SUFFIXES:.SUFFIXES: .S .c .$(CXX_SUFFIX) .lo .o .s .y .l .slo .def .la.c.o:	$(COMPILE) -c $<.s.o:	$(COMPILE) -c $<.c.lo:	$(LT_COMPILE).s.lo:	$(LT_COMPILE).c.slo:	$(SH_COMPILE).$(CXX_SUFFIX).lo:	$(LT_CXX_COMPILE).$(CXX_SUFFIX).slo:	$(SH_CXX_COMPILE).y.c:	$(YACC) $(YFLAGS) $< && mv y.tab.c $*.c	if test -f y.tab.h; then \	if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \	else :; fi.l.c:	$(LEX) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@# Makes an import library from a def file.def.la:	$(LIBTOOL) --mode=compile $(MK_IMPLIB) -o $@ $<## Dependencies#@ap_make_include@ @ap_make_delimiter@$(builddir)/.deps@ap_make_delimiter@.PHONY: all all-recursive install-recursive local-all $(PHONY_TARGETS) \	shared-build shared-build-recursive local-shared-build \	depend depend-recursive local-depend x-local-depend \	clean clean-recursive local-clean x-local-clean \	distclean distclean-recursive local-distclean x-local-distclean \	extraclean extraclean-recursive local-extraclean x-local-extraclean \	install local-install $(INSTALL_TARGETS)

⌨️ 快捷键说明

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