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

📄 makefile.in

📁 xorp源码hg
💻 IN
字号:
#-----------------------------------------------------------------------# This is the template that the libtecla configure script uses to create# the libtecla Makefile. It does this by replacing all instances of# @name@ with the value of the correspondingly named configuration# variable. You should find another file in the same directory as this# one, called "configure.in". The latter file contains extensive comments# explaining how this all works.#-----------------------------------------------------------------------# Where is the source code?srcdir = @srcdir@# Where do you want to install the library, its header file, and the man pages?prefix=@prefix@exec_prefix=@exec_prefix@LIBDIR=@libdir@INCDIR=@includedir@MANDIR=@mandir@BINDIR=@bindir@# Which C compiler do you want to use?CC = @CC@# If 'make' doesn't define the MAKE variable, define it here.@SET_MAKE@# The following optional defines change the characteristics of the library.## USE_TERMINFO#   Use the terminfo terminal information database when looking up#   terminal characteristics. Most modern UNIX and UNIX-like operating#   systems support terminfo, so this define should normally be included.#   If in doubt leave it in, and see if the library compiles.# USE_TERMCAP#   If you don't have terminfo but do have the termcap database, replace#   the -DUSE_TERMINFO with -DUSE_TERMCAP. If there is a termcap.h in#   /usr/include/, also add -DHAVE_TERMCAP_H.## If neither USE_TERMINFO nor USE_TERMCAP are included, ANSI VT100 control# sequences will be used to control all terminal types.## For Solaris and Linux, use:##  DEFINES = -DUSE_TERMINFO#DEFINES = @DEFS@## The following defines are used in addition to the above when compiling# the reentrant version of the library. Note that the definition of# _POSIX_C_SOURCE to request reentrant functions, has the unfortunate# side-effect on some systems of stopping the TIOCGWINSZ ioctl macro from# getting defined. This in turn stops the library from being# able to respond to terminal size changes. Under Solaris this can be# remedied by adding -D__EXTENSIONS__. On linux this isn't necessary.# If you don't get this right, the library will still work, but# it will get confused if the terminal size gets changed and you try to# edit a line that exceeds the terminal width.## Thus on Solaris you should use:##   DEFINES_R = -D_POSIX_C_SOURCE=199506L -D__EXTENSIONS__## and on linux you should use:##   DEFINES_R = -D_POSIX_C_SOURCE=199506L## If _POSIX_C_SOURCE is defined, then on NetBSD-3.0 (and later?) its# value should be at least 200112L (to fix a compilation error):##   DEFINES_R = -D_POSIX_C_SOURCE=200112L#DEFINES_R = -D_POSIX_C_SOURCE=200112L## The compiler optimization flags. I like to keep this separate so# that I can set it to -g from the 'make' command line without having# to edit this file when debugging the library. If you aren't working# on modifying the library, leave this set to -O.#OPT = -O## These are paranoid gcc warning flags to use when compiling new code.# Simply invoke make with WARNING_FLAGS='$(PEDANTIC_FLAGS)'.#PEDANTIC_FLAGS=-Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls## Specify any extra compiler warning options that you want to use.# Leave this blank unless you are porting the library to a new system,# or modifying the library.#WARNING_FLAGS=## If you want to compile the demo program, specify any system# libraries that are needed for the terminal I/O functions.## If you are using terminfo, you will probably only need -lcurses.# For termcap you may need -ltermcap or -ltermlib.## For Solaris, use:##  LIBS = -lcurses## For linux, use:##  LIBS = -lncurses#LIBS = @LIBS@## List the default target libraries. This should be one or# both of the words "normal" and "reentrant".#TARGETS = @TARGETS@## List which types of the above libraries are required.# This should be one or both of the words "static" and "shared".#TARGET_LIBS = @TARGET_LIBS@## If you want the demo programs to be built, the following variable# should be assigned the single word: demos. If it isn't assigned# anything, the demo programs won't be built.#DEMOS = #demos## List the programs that are to be made by default.#PROGRAMS = #enhance## List programs for which reentrant versions are to be built by default.#PROGRAMS_R =#-----------------------------------------------------------------------# You shouldn't need to change anything below this line.#-----------------------------------------------------------------------CFLAGS = $(OPT) $(WARNING_FLAGS) $(DEFINES) @CFLAGS@ @SHARED_CFLAGS@default: $(TARGETS)all: $(TARGETS)normal:	@$(MAKE) -f $(srcdir)/Makefile.rules TARGETS="$(TARGET_LIBS)" SUFFIX="" CFLAGS="$(CFLAGS)" CC="$(CC)" OBJDIR=normal_obj LINK_SHARED='@LINK_SHARED@' SHARED_EXT='@SHARED_EXT@' SHARED_ALT='@SHARED_ALT@' LIBS='$(LIBS)' srcdir='$(srcdir)' LIBDIR='$(LIBDIR)' LN_S='@LN_S@' DEMOS="$(DEMOS)" PROGRAMS='$(PROGRAMS)'reentrant:	@$(MAKE) -f $(srcdir)/Makefile.rules TARGETS="$(TARGET_LIBS)" SUFFIX="_r" CFLAGS="$(CFLAGS) $(DEFINES_R)" CC="$(CC)" OBJDIR=reentrant_obj LINK_SHARED='@LINK_SHARED@' SHARED_EXT='@SHARED_EXT@' SHARED_ALT='@SHARED_ALT@' LIBS='$(LIBS)' srcdir='$(srcdir)' LIBDIR='$(LIBDIR)' LN_S='@LN_S@' DEMOS="$(DEMOS)" PROGRAMS='$(PROGRAMS_R)'demos: normaldemos_r: reentrantclean:	rm -rf *.o normal_obj reentrant_obj libtecla*.a demo demo2 demo_r demo2_r enhance *~ man3/*~ html/*~ compile_reentrant compile_normal	@endings="@SHARED_EXT@ @SHARED_ALT@" ; \	for alt in $$endings ; do \	  lib="libtecla*$$alt" ; \	  rm -f $$lib; echo rm -f $$lib ; \	donedistclean: clean	rm -f config.cache config.status config.log Makefile libtecla.map.opt	cp $(srcdir)/Makefile.stub Makefileinstall_lib: $(TARGETS) $(LIBDIR)	@for lib in libtecla.a libtecla_r.a ; do \	   if [ -f $$lib ] ; then \	     cp $$lib $(LIBDIR)/ ; chmod ugo+r $(LIBDIR)/$$lib; \	     echo "cp $$lib $(LIBDIR)/ ; chmod ugo+r $(LIBDIR)/$$lib"; \	   fi ; \	done	@for lib in libtecla libtecla_r ; do \	   src="$$lib@SHARED_EXT@"; \	   if [ -f $$src ] ; then \	     dst="$(LIBDIR)/$$src"; \	     cp -f $$src $$dst; chmod a=rX $$dst; \	     echo "cp -f $$src $$dst ; chmod a=rX $$dst"; \	     endings="@SHARED_ALT@" ; \	     for alt in $$endings ; do \	       lnk="$$lib$$alt"; \	       (cd $(LIBDIR); rm -f $$lnk; @LN_S@ $$src $$lnk); \	       echo "(cd $(LIBDIR); rm -f $$lnk; @LN_S@ $$src $$lnk)"; \	     done ; \	   fi ; \	doneinstall_inc: $(INCDIR)	@if [ -f $(srcdir)/libtecla.h ]; then \	  cp $(srcdir)/libtecla.h $(INCDIR)/ ; chmod ugo+r $(INCDIR)/libtecla.h; \	  echo "cp $(srcdir)/libtecla.h $(INCDIR)/ ; chmod ugo+r $(INCDIR)/libtecla.h"; \	fiinstall_man: $(MANDIR) $(MANDIR)/man3	cd $(srcdir)/man3 && for page in *.3; do cp $$page $(MANDIR)/man3; chmod ugo+r $(MANDIR)/man3/$$page; doneinstall_bin: $(BINDIR) $(PROGRAMS) $(PROGRAMS_R)	progs="$(PROGRAMS) $(PROGRAMS_R)"; \	for prog in $$progs; do \	  cp $$prog $(BINDIR)/; \	  chmod ugo+rx $(BINDIR)/$$prog; \	done## XXX: we don't need to install libtecla, hence we disable the "install:"# target#.really_install: install_lib install_inc install_man install_bininstall: 	@echo "libtecla installation disabled. Use target 'really_install' instead."uninstall: 	@echo "libtecla un-installation not needed"# Make any missing installation directories.$(MANDIR) $(MANDIR)/man3 $(LIBDIR) $(INCDIR) $(BINDIR):	mkdir $@	chmod ugo+rx $@# Build 'all' for check since higher level check may cause binaries to be# built that need to link against libtecla.  This Makefile will typically have# been invoked with 'check' as an argument.check: all

⌨️ 快捷键说明

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