diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-04-08 17:36:40 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-04-08 17:36:40 +0000 |
commit | 124da02af7a348eed58d7e3580d5176421171070 (patch) | |
tree | 8f2b8978157de21be5434e9ec5b4b5f87c46ef21 /libtecla-1.6.1/Makefile.in | |
parent | 2011-04-08 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-addon-packages-124da02af7a348eed58d7e3580d5176421171070.tar.bz2 |
2011-04-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* bit: Update to libtecl-1.6.1
* libtecla-1.6.1/CHANGES, libtecla-1.6.1/INSTALL,
libtecla-1.6.1/LICENSE.TERMS, libtecla-1.6.1/Makefile,
libtecla-1.6.1/Makefile.in, libtecla-1.6.1/Makefile.rules,
libtecla-1.6.1/Makefile.stub, libtecla-1.6.1/PORTING,
libtecla-1.6.1/README, libtecla-1.6.1/RELEASE.NOTES,
libtecla-1.6.1/chrqueue.c, libtecla-1.6.1/chrqueue.h,
libtecla-1.6.1/config.guess, libtecla-1.6.1/config.sub,
libtecla-1.6.1/configure, libtecla-1.6.1/configure.in,
libtecla-1.6.1/cplfile.c, libtecla-1.6.1/cplfile.h,
libtecla-1.6.1/cplmatch.c, libtecla-1.6.1/cplmatch.h,
libtecla-1.6.1/demo.c, libtecla-1.6.1/demo2.c,
libtecla-1.6.1/demo3.c, libtecla-1.6.1/direader.c,
libtecla-1.6.1/direader.h, libtecla-1.6.1/enhance.c,
libtecla-1.6.1/errmsg.c, libtecla-1.6.1/errmsg.h,
libtecla-1.6.1/expand.c, libtecla-1.6.1/expand.h,
libtecla-1.6.1/freelist.c, libtecla-1.6.1/freelist.h,
libtecla-1.6.1/getline.c, libtecla-1.6.1/getline.h,
libtecla-1.6.1/hash.c, libtecla-1.6.1/hash.h,
libtecla-1.6.1/history.c, libtecla-1.6.1/history.h,
libtecla-1.6.1/homedir.c, libtecla-1.6.1/homedir.h,
libtecla-1.6.1/install-sh, libtecla-1.6.1/ioutil.c,
libtecla-1.6.1/ioutil.h, libtecla-1.6.1/keytab.c,
libtecla-1.6.1/keytab.h, libtecla-1.6.1/libtecla.h,
libtecla-1.6.1/libtecla.map, libtecla-1.6.1/pathutil.c,
libtecla-1.6.1/pathutil.h, libtecla-1.6.1/pcache.c,
libtecla-1.6.1/stringrp.c, libtecla-1.6.1/stringrp.h,
libtecla-1.6.1/strngmem.c, libtecla-1.6.1/strngmem.h,
libtecla-1.6.1/update_html, libtecla-1.6.1/update_version,
libtecla-1.6.1/version.c, libtecla-1.6.1/html/changes.html,
libtecla-1.6.1/html/cpl_complete_word.html,
libtecla-1.6.1/html/ef_expand_file.html,
libtecla-1.6.1/html/enhance.html,
libtecla-1.6.1/html/gl_get_line.html,
libtecla-1.6.1/html/gl_io_mode.html, libtecla-1.6.1/html/index.html,
libtecla-1.6.1/html/libtecla.html,
libtecla-1.6.1/html/pca_lookup_file.html,
libtecla-1.6.1/html/release.html, libtecla-1.6.1/html/tecla.html,
libtecla-1.6.1/man/file/teclarc.in,
libtecla-1.6.1/man/func/cfc_file_start.in,
libtecla-1.6.1/man/func/cfc_literal_escapes.in,
libtecla-1.6.1/man/func/cfc_set_check_fn.in,
libtecla-1.6.1/man/func/cpl_add_completion.in,
libtecla-1.6.1/man/func/cpl_complete_word.in,
libtecla-1.6.1/man/func/cpl_file_completions.in,
libtecla-1.6.1/man/func/cpl_last_error.in,
libtecla-1.6.1/man/func/cpl_list_completions.in,
libtecla-1.6.1/man/func/cpl_recall_matches.in,
libtecla-1.6.1/man/func/cpl_record_error.in,
libtecla-1.6.1/man/func/del_CplFileConf.in,
libtecla-1.6.1/man/func/del_ExpandFile.in,
libtecla-1.6.1/man/func/del_GetLine.in,
libtecla-1.6.1/man/func/del_PathCache.in,
libtecla-1.6.1/man/func/del_PcaPathConf.in,
libtecla-1.6.1/man/func/del_WordCompletion.in,
libtecla-1.6.1/man/func/ef_expand_file.in,
libtecla-1.6.1/man/func/ef_last_error.in,
libtecla-1.6.1/man/func/ef_list_expansions.in,
libtecla-1.6.1/man/func/gl_abandon_line.in,
libtecla-1.6.1/man/func/gl_bind_keyseq.in,
libtecla-1.6.1/man/func/gl_catch_blocked.in,
libtecla-1.6.1/man/func/gl_change_terminal.in,
libtecla-1.6.1/man/func/gl_clear_history.in,
libtecla-1.6.1/man/func/gl_completion_action.in,
libtecla-1.6.1/man/func/gl_configure_getline.in,
libtecla-1.6.1/man/func/gl_customize_completion.in,
libtecla-1.6.1/man/func/gl_display_text.in,
libtecla-1.6.1/man/func/gl_echo_mode.in,
libtecla-1.6.1/man/func/gl_erase_terminal.in,
libtecla-1.6.1/man/func/gl_error_message.in,
libtecla-1.6.1/man/func/gl_get_line.in,
libtecla-1.6.1/man/func/gl_group_history.in,
libtecla-1.6.1/man/func/gl_handle_signal.in,
libtecla-1.6.1/man/func/gl_ignore_signal.in,
libtecla-1.6.1/man/func/gl_inactivity_timeout.in,
libtecla-1.6.1/man/func/gl_io_mode.in,
libtecla-1.6.1/man/func/gl_last_signal.in,
libtecla-1.6.1/man/func/gl_limit_history.in,
libtecla-1.6.1/man/func/gl_list_signals.in,
libtecla-1.6.1/man/func/gl_load_history.in,
libtecla-1.6.1/man/func/gl_lookup_history.in,
libtecla-1.6.1/man/func/gl_normal_io.in,
libtecla-1.6.1/man/func/gl_pending_io.in,
libtecla-1.6.1/man/func/gl_prompt_style.in,
libtecla-1.6.1/man/func/gl_query_char.in,
libtecla-1.6.1/man/func/gl_range_of_history.in,
libtecla-1.6.1/man/func/gl_raw_io.in,
libtecla-1.6.1/man/func/gl_read_char.in,
libtecla-1.6.1/man/func/gl_register_action.in,
libtecla-1.6.1/man/func/gl_resize_history.in,
libtecla-1.6.1/man/func/gl_return_status.in,
libtecla-1.6.1/man/func/gl_save_history.in,
libtecla-1.6.1/man/func/gl_set_term_size.in,
libtecla-1.6.1/man/func/gl_show_history.in,
libtecla-1.6.1/man/func/gl_size_of_history.in,
libtecla-1.6.1/man/func/gl_state_of_history.in,
libtecla-1.6.1/man/func/gl_terminal_size.in,
libtecla-1.6.1/man/func/gl_toggle_history.in,
libtecla-1.6.1/man/func/gl_trap_signal.in,
libtecla-1.6.1/man/func/gl_tty_signals.in,
libtecla-1.6.1/man/func/gl_watch_fd.in,
libtecla-1.6.1/man/func/libtecla_version.in,
libtecla-1.6.1/man/func/new_CplFileConf.in,
libtecla-1.6.1/man/func/new_ExpandFile.in,
libtecla-1.6.1/man/func/new_GetLine.in,
libtecla-1.6.1/man/func/new_PathCache.in,
libtecla-1.6.1/man/func/new_PcaPathConf.in,
libtecla-1.6.1/man/func/new_WordCompletion.in,
libtecla-1.6.1/man/func/pca_last_error.in,
libtecla-1.6.1/man/func/pca_lookup_file.in,
libtecla-1.6.1/man/func/pca_path_completions.in,
libtecla-1.6.1/man/func/pca_scan_path.in,
libtecla-1.6.1/man/func/pca_set_check_fn.in,
libtecla-1.6.1/man/func/ppc_file_start.in,
libtecla-1.6.1/man/func/ppc_literal_escapes.in,
libtecla-1.6.1/man/libr/libtecla.in,
libtecla-1.6.1/man/misc/tecla.in, libtecla-1.6.1/man/prog/enhance.in:
New files.
* libtecla-1.4.1/CHANGES, libtecla-1.4.1/INSTALL,
libtecla-1.4.1/LICENSE.TERMS, libtecla-1.4.1/Makefile,
libtecla-1.4.1/Makefile.in, libtecla-1.4.1/Makefile.rules,
libtecla-1.4.1/Makefile.stub, libtecla-1.4.1/PORTING,
libtecla-1.4.1/README, libtecla-1.4.1/RELEASE.NOTES,
libtecla-1.4.1/config.guess, libtecla-1.4.1/config.sub,
libtecla-1.4.1/configure, libtecla-1.4.1/configure.in,
libtecla-1.4.1/cplfile.c, libtecla-1.4.1/cplfile.h,
libtecla-1.4.1/cplmatch.c, libtecla-1.4.1/demo.c,
libtecla-1.4.1/demo2.c, libtecla-1.4.1/direader.c,
libtecla-1.4.1/direader.h, libtecla-1.4.1/enhance.c,
libtecla-1.4.1/expand.c, libtecla-1.4.1/freelist.c,
libtecla-1.4.1/freelist.h, libtecla-1.4.1/getline.c,
libtecla-1.4.1/getline.h, libtecla-1.4.1/hash.c,
libtecla-1.4.1/hash.h, libtecla-1.4.1/history.c,
libtecla-1.4.1/history.h, libtecla-1.4.1/homedir.c,
libtecla-1.4.1/homedir.h, libtecla-1.4.1/install-sh,
libtecla-1.4.1/keytab.c, libtecla-1.4.1/keytab.h,
libtecla-1.4.1/libtecla.h, libtecla-1.4.1/libtecla.map,
libtecla-1.4.1/pathutil.c, libtecla-1.4.1/pathutil.h,
libtecla-1.4.1/pcache.c, libtecla-1.4.1/stringrp.c,
libtecla-1.4.1/stringrp.h, libtecla-1.4.1/strngmem.c,
libtecla-1.4.1/strngmem.h, libtecla-1.4.1/update_html,
libtecla-1.4.1/update_version, libtecla-1.4.1/version.c,
libtecla-1.4.1/html/changes.html,
libtecla-1.4.1/html/cpl_complete_word.html,
libtecla-1.4.1/html/ef_expand_file.html,
libtecla-1.4.1/html/enhance.html,
libtecla-1.4.1/html/gl_get_line.html, libtecla-1.4.1/html/index.html,
libtecla-1.4.1/html/libtecla.html,
libtecla-1.4.1/html/pca_lookup_file.html,
libtecla-1.4.1/html/release.html,
libtecla-1.4.1/man3/cfc_file_start.3,
libtecla-1.4.1/man3/cfc_literal_escapes.3,
libtecla-1.4.1/man3/cfc_set_check_fn.3,
libtecla-1.4.1/man3/cpl_add_completion.3,
libtecla-1.4.1/man3/cpl_complete_word.3,
libtecla-1.4.1/man3/cpl_file_completions.3,
libtecla-1.4.1/man3/cpl_last_error.3,
libtecla-1.4.1/man3/cpl_list_completions.3,
libtecla-1.4.1/man3/cpl_record_error.3,
libtecla-1.4.1/man3/del_CplFileConf.3,
libtecla-1.4.1/man3/del_ExpandFile.3,
libtecla-1.4.1/man3/del_GetLine.3,
libtecla-1.4.1/man3/del_PathCache.3,
libtecla-1.4.1/man3/del_PcaPathConf.3,
libtecla-1.4.1/man3/del_WordCompletion.3,
libtecla-1.4.1/man3/ef_expand_file.3,
libtecla-1.4.1/man3/ef_last_error.3,
libtecla-1.4.1/man3/ef_list_expansions.3,
libtecla-1.4.1/man3/enhance.3,
libtecla-1.4.1/man3/gl_change_terminal.3,
libtecla-1.4.1/man3/gl_clear_history.3,
libtecla-1.4.1/man3/gl_configure_getline.3,
libtecla-1.4.1/man3/gl_customize_completion.3,
libtecla-1.4.1/man3/gl_echo_mode.3,
libtecla-1.4.1/man3/gl_get_line.3,
libtecla-1.4.1/man3/gl_group_history.3,
libtecla-1.4.1/man3/gl_ignore_signal.3,
libtecla-1.4.1/man3/gl_last_signal.3,
libtecla-1.4.1/man3/gl_limit_history.3,
libtecla-1.4.1/man3/gl_load_history.3,
libtecla-1.4.1/man3/gl_lookup_history.3,
libtecla-1.4.1/man3/gl_prompt_style.3,
libtecla-1.4.1/man3/gl_range_of_history.3,
libtecla-1.4.1/man3/gl_resize_history.3,
libtecla-1.4.1/man3/gl_save_history.3,
libtecla-1.4.1/man3/gl_show_history.3,
libtecla-1.4.1/man3/gl_size_of_history.3,
libtecla-1.4.1/man3/gl_state_of_history.3,
libtecla-1.4.1/man3/gl_terminal_size.3,
libtecla-1.4.1/man3/gl_toggle_history.3,
libtecla-1.4.1/man3/gl_trap_signal.3,
libtecla-1.4.1/man3/gl_watch_fd.3, libtecla-1.4.1/man3/libtecla.3,
libtecla-1.4.1/man3/libtecla_version.3,
libtecla-1.4.1/man3/new_CplFileConf.3,
libtecla-1.4.1/man3/new_ExpandFile.3,
libtecla-1.4.1/man3/new_GetLine.3,
libtecla-1.4.1/man3/new_PathCache.3,
libtecla-1.4.1/man3/new_PcaPathConf.3,
libtecla-1.4.1/man3/new_WordCompletion.3,
libtecla-1.4.1/man3/pca_last_error.3,
libtecla-1.4.1/man3/pca_lookup_file.3,
libtecla-1.4.1/man3/pca_path_completions.3,
libtecla-1.4.1/man3/pca_scan_path.3,
libtecla-1.4.1/man3/pca_set_check_fn.3,
libtecla-1.4.1/man3/ppc_file_start.3,
libtecla-1.4.1/man3/ppc_literal_escapes.3: Removed.
Diffstat (limited to 'libtecla-1.6.1/Makefile.in')
-rw-r--r-- | libtecla-1.6.1/Makefile.in | 272 |
1 files changed, 272 insertions, 0 deletions
diff --git a/libtecla-1.6.1/Makefile.in b/libtecla-1.6.1/Makefile.in new file mode 100644 index 0000000..4b7c9c3 --- /dev/null +++ b/libtecla-1.6.1/Makefile.in @@ -0,0 +1,272 @@ +#----------------------------------------------------------------------- +# 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@ + +# To use RANLIB set the RANLIB variable to ranlib. Otherwise set it to +# :, which is the bourne shell do-nothing command. + +RANLIB = @RANLIB@ + +# Optional flags to pass to the linker. + +LDFLAGS = @LDFLAGS@ + +# Optional C pre-processor flags. + +CPPFLAGS = @CPPFLAGS@ + +# 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 +# + +DEFINES_R = @DEFS_R@ + +# +# 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) + +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)' RANLIB='$(RANLIB)' LDFLAGS=$(LDFLAGS) CPPFLAGS=$(CPPFLAGS) + +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)' RANLIB='$(RANLIB)' LDFLAGS=$(LDFLAGS) CPPFLAGS=$(CPPFLAGS) + +demos: normal + +demos_r: reentrant + +clean: + rm -rf *.o normal_obj reentrant_obj libtecla*.a demo demo[0-9] demo_r demo[0-9]_r enhance *~ man/*~ man/*/*~ html/*~ compile_reentrant compile_normal `/bin/ls -1 man/*/*.in | sed 's/\.in$$//'` + @endings="@SHARED_EXT@ @SHARED_ALT@" ; \ + for alt in $$endings ; do \ + lib="libtecla*$$alt" ; \ + rm -f $$lib; echo rm -f $$lib ; \ + done + +distclean: clean + rm -rf config.cache config.status config.log Makefile libtecla.map.opt \ + autom*.cache + cp $(srcdir)/Makefile.stub Makefile + +install_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 ; \ + done + +install_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"; \ + fi + +install_man: $(MANDIR) libr_man func_man prog_man misc_man file_man + +libr_man: + if test "@MAKE_MAN_PAGES@"_ = "yes"_; then \ + for template in man/libr/*.in; do \ + page=`basename "$$template" .in`; \ + $(srcdir)/install-sh -c -m 644 man/libr/$$page ${MANDIR}/@LIBR_MANDIR@/$$page.@LIBR_MANEXT@; \ + done ; \ + fi + +func_man: + if test "@MAKE_MAN_PAGES@"_ = "yes"_; then \ + for template in man/func/*.in; do \ + page=`basename "$$template" .in`; \ + $(srcdir)/install-sh -c -m 644 man/func/$$page ${MANDIR}/@FUNC_MANDIR@/$$page.@FUNC_MANEXT@; \ + done ; \ + fi + +prog_man: + if test "@MAKE_MAN_PAGES@"_ = "yes"_; then \ + for template in man/prog/*.in; do \ + page=`basename "$$template" .in`; \ + $(srcdir)/install-sh -c -m 644 man/prog/$$page ${MANDIR}/@PROG_MANDIR@/$$page.@PROG_MANEXT@; \ + done ; \ + fi + +misc_man: + if test "@MAKE_MAN_PAGES@"_ = "yes"_; then \ + for template in man/misc/*.in; do \ + page=`basename "$$template" .in`; \ + $(srcdir)/install-sh -c -m 644 man/misc/$$page ${MANDIR}/@MISC_MANDIR@/$$page.@MISC_MANEXT@; \ + done ; \ + fi + +file_man: + if test "@MAKE_MAN_PAGES@"_ = "yes"_; then \ + for template in man/file/*.in; do \ + page=`basename "$$template" .in`; \ + $(srcdir)/install-sh -c -m 644 man/file/$$page ${MANDIR}/@FILE_MANDIR@/$$page.@FILE_MANEXT@; \ + done ; \ + fi + +install_bin: $(BINDIR) $(PROGRAMS) $(PROGRAMS_R) + progs="$(PROGRAMS) $(PROGRAMS_R)"; \ + for prog in $$progs; do \ + $(srcdir)/install-sh -c -m 755 -s $$prog $(BINDIR)/; \ + done + +install: install_lib install_inc install_man install_bin + +# Make any missing installation directories. + +$(MANDIR) $(LIBDIR) $(INCDIR) $(BINDIR): + $(srcdir)/install-sh -d $@ + chmod ugo+rx $@ |