📄 makefile.in
字号:
## Copyright (c) 1999# GMRS Software GmbH, Innsbrucker Ring 159, 81669 Munich, Germany.# http://www.gmrs.de# All rights reserved.# Author: Arno Unkrig (arno.unkrig@gmrs.de)## Redistribution and use in source and binary forms, with or without# modification, are permitted provided that the following conditions# are met:# 1. Redistributions of source code must retain the above copyright# notice, this list of conditions and the following disclaimer.# 2. Redistributions in binary form must reproduce the above copyright# notice, this list of conditions and the following disclaimer in the# documentation and/or other materials provided with the distribution.# 3. All advertising materials mentioning features or use of this software# must display the following acknowledgement:# This product includes software developed by GMRS Software GmbH.# 4. The name of GMRS Software GmbH may not be used to endorse or promote# products derived from this software without specific prior written# permission.## THIS SOFTWARE IS PROVIDED BY GMRS SOFTWARE GMBH ``AS IS'' AND ANY# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GMRS SOFTWARE GMBH BE LIABLE# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF# THE POSSIBILITY OF SUCH DAMAGE.##ident "$Id: Makefile.in,v 1.24 1999/12/20 19:40:35 arno Exp $" VERSION=1.2.1BISONXX = bison++CXX = @CXX@BOOL_DEFINITION = @BOOL_DEFINITION@EXPLICIT = @EXPLICIT@SYS_POLL_MISSING = @SYS_POLL_MISSING@SOCKET_LIBRARIES = @SOCKET_LIBRARIES@LIBSTDCXX_INCLUDES = @LIBSTDCXX_INCLUDES@LIBSTDCXX_LIBS = @LIBSTDCXX_LIBS@AUTO_PTR_BROKEN = @AUTO_PTR_BROKEN@MAKEDEPEND_INCLUDES = @MAKEDEPEND_INCLUDES@DEBUG=-OINCLUDES = $(LIBSTDCXX_INCLUDES)DEFINES = -DVERSION=$(VERSION) $(SYS_POLL_MISSING) $(BOOL_DEFINITION) $(EXPLICIT) $(AUTO_PTR_BROKEN)CPPFLAGS = $(INCLUDES) $(DEFINES)CXXFLAGS = $(CPPFLAGS) $(DEBUG)LDFLAGS = $(DEBUG)LOADLIBES = $(LIBSTDCXX_LIBS) $(SOCKET_LIBRARIES).SUFFIXES : .y .C .o.C.o : $(CXX) -c $(CXXFLAGS) $*.C# -----------------------------------------------------------------------------default : allall : html2text @echo 'Compilation completed -- you can now copy "html2text", "html2text.1" and'; @echo '"html2textrc.4" to their installation directories (e.g. "/usr/local/bin",'; @echo '"/usr/local/man/man1" and "/usr/local/man/man4").'OBJS = html2text.o html.o HTMLControl.o HTMLParser.o Area.o format.o sgml.o table.o urlistream.o Properties.o cmp_nocase.ohtml2text : $(OBJS) $(LIBSTDCXX_LIBS) $(CXX) $(LDFLAGS) $(OBJS) $(LOADLIBES) $(LDLIBS) -o $@libstd/libstd.a : cd libstd && $(MAKE)# -----------------------------------------------------------------------------# Some trickery: Store the header file generated by BISON++ in ".k" instead of# ".h", and copy it over to ".h", but only if necessary. This saves us from# unnecesary recompilations when we modify the ".y" file.HTMLParser.h : HTMLParser.k cmp -s HTMLParser.h HTMLParser.k || cp HTMLParser.k HTMLParser.hHTMLParser.k : HTMLParser.y $(BISONXX) $(YFLAGS) -o HTMLParser.C -d -h HTMLParser.k HTMLParser.yHTMLParser.C : HTMLParser.hHTMLParser.o : HTMLParser.C# -----------------------------------------------------------------------------SUBDIRS = libstd# "./configure" creates "Makefile"s only in the subdirectories that need to# be built, so we check for the existance of these "Makefile".clean clobber depend : @for i in $(SUBDIRS); do \ if test -r $$i/Makefile; then \ ( \ cd $$i && echo "*** make $@ in `pwd`" && $(MAKE) $@ || \ { echo "*** make $@ error in `pwd`" && false; } \ ) || exit 1; \ echo "*** Back in `pwd`"; \ fi; \ done;clean : local-cleanlocal-clean : rm -f *.o HTMLParser.[Chk]clobber : local-clobberlocal-clobber : local-clean rm -f html2textdepend : local-dependlocal-depend : HTMLParser.h @>Dependencies makedepend -f Dependencies $(CPPFLAGS) $(MAKEDEPEND_INCLUDES) *.C @rm -f Dependencies.bak# -----------------------------------------------------------------------------include Dependencies
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -