First Add

This commit is contained in:
root
2024-03-06 15:21:38 +01:00
commit e4d888ce1d
570 changed files with 229039 additions and 0 deletions
+846
View File
@@ -0,0 +1,846 @@
# Makefile.in generated by automake 1.13.4 from Makefile.am.
# man/Makefile. Generated from Makefile.in by configure.
# Copyright (C) 1994-2013 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
am__make_running_with_option = \
case $${target_option-} in \
?) ;; \
*) echo "am__make_running_with_option: internal error: invalid" \
"target option '$${target_option-}' specified" >&2; \
exit 1;; \
esac; \
has_opt=no; \
sane_makeflags=$$MAKEFLAGS; \
if $(am__is_gnu_make); then \
sane_makeflags=$$MFLAGS; \
else \
case $$MAKEFLAGS in \
*\\[\ \ ]*) \
bs=\\; \
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
esac; \
fi; \
skip_next=no; \
strip_trailopt () \
{ \
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
}; \
for flg in $$sane_makeflags; do \
test $$skip_next = yes && { skip_next=no; continue; }; \
case $$flg in \
*=*|--*) continue;; \
-*I) strip_trailopt 'I'; skip_next=yes;; \
-*I?*) strip_trailopt 'I';; \
-*O) strip_trailopt 'O'; skip_next=yes;; \
-*O?*) strip_trailopt 'O';; \
-*l) strip_trailopt 'l'; skip_next=yes;; \
-*l?*) strip_trailopt 'l';; \
-[dEDm]) skip_next=yes;; \
-[JT]) skip_next=yes;; \
esac; \
case $$flg in \
*$$target_option*) has_opt=yes; break;; \
esac; \
done; \
test $$has_opt = yes
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
pkgdatadir = $(datadir)/genders
pkgincludedir = $(includedir)/genders
pkglibdir = $(libdir)/genders
pkglibexecdir = $(libexecdir)/genders
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = x86_64-unknown-linux-gnu
host_triplet = x86_64-unknown-linux-gnu
target_triplet = x86_64-unknown-linux-gnu
subdir = man
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/config/ac_cplusplus_extensions.m4 \
$(top_srcdir)/config/ac_debug.m4 \
$(top_srcdir)/config/ac_extension_destdir.m4 \
$(top_srcdir)/config/ac_genders_file.m4 \
$(top_srcdir)/config/ac_java_extenions.m4 \
$(top_srcdir)/config/ac_meta.m4 \
$(top_srcdir)/config/ac_perl_extensions.m4 \
$(top_srcdir)/config/ac_perl_site_arch.m4 \
$(top_srcdir)/config/ac_perl_vendor_arch.m4 \
$(top_srcdir)/config/ac_python_extensions.m4 \
$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/config/config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
AM_V_P = $(am__v_P_$(V))
am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
am__v_P_0 = false
am__v_P_1 = :
AM_V_GEN = $(am__v_GEN_$(V))
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
am__v_GEN_0 = @echo " GEN " $@;
am__v_GEN_1 =
AM_V_at = $(am__v_at_$(V))
am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
am__v_at_0 = @
am__v_at_1 =
SOURCES =
DIST_SOURCES =
RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
ctags-recursive dvi-recursive html-recursive info-recursive \
install-data-recursive install-dvi-recursive \
install-exec-recursive install-html-recursive \
install-info-recursive install-pdf-recursive \
install-ps-recursive install-recursive installcheck-recursive \
installdirs-recursive pdf-recursive ps-recursive \
tags-recursive uninstall-recursive
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
*) f=$$p;; \
esac;
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
am__install_max = 40
am__nobase_strip_setup = \
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
am__nobase_strip = \
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
am__nobase_list = $(am__nobase_strip_setup); \
for p in $$list; do echo "$$p $$p"; done | \
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
if (++n[$$2] == $(am__install_max)) \
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
END { for (dir in files) print dir, files[dir] }'
am__base_list = \
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__uninstall_files_from_dir = { \
test -z "$$files" \
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
$(am__cd) "$$dir" && rm -f $$files; }; \
}
man1dir = $(mandir)/man1
am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)"
man3dir = $(mandir)/man3
NROFF = nroff
MANS = $(man1_MANS) $(man3_MANS)
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
am__recursive_targets = \
$(RECURSIVE_TARGETS) \
$(RECURSIVE_CLEAN_TARGETS) \
$(am__extra_recursive_targets)
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
distdir
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
# Read a list of newline-separated strings from the standard input,
# and print each of them once, without duplicates. Input order is
# *not* preserved.
am__uniquify_input = $(AWK) '\
BEGIN { nonempty = 0; } \
{ items[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in items) print i; }; } \
'
# Make sure the list of sources is unique. This is necessary because,
# e.g., the same source file might be shared among _SOURCES variables
# for different programs/libraries.
am__define_uniq_tagged_files = \
list='$(am__tagged_files)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
DIST_SUBDIRS = $(SUBDIRS)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
am__relativize = \
dir0=`pwd`; \
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
sed_rest='s,^[^/]*/*,,'; \
sed_last='s,^.*/\([^/]*\)$$,\1,'; \
sed_butlast='s,/*[^/]*$$,,'; \
while test -n "$$dir1"; do \
first=`echo "$$dir1" | sed -e "$$sed_first"`; \
if test "$$first" != "."; then \
if test "$$first" = ".."; then \
dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
else \
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
if test "$$first2" = "$$first"; then \
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
else \
dir2="../$$dir2"; \
fi; \
dir0="$$dir0"/"$$first"; \
fi; \
fi; \
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
done; \
reldir="$$dir2"
ACLOCAL = aclocal-1.13
AMTAR = $${TAR-tar}
AM_DEFAULT_VERBOSITY = 1
AR = ar
AUTOCONF = autoconf
AUTOHEADER = autoheader
AUTOMAKE = automake-1.13
AWK = mawk
CC = gcc
CCDEPMODE = depmode=gcc3
CFLAGS = -O3 -Wall -fno-strict-aliasing
CPP = gcc -E
CPPFLAGS =
CXX = g++
CXXCPP = g++ -E
CXXDEPMODE = depmode=gcc3
CXXFLAGS = -g -O2
CYGPATH_W = echo
DEFS = -DHAVE_CONFIG_H
DEPDIR = .deps
DLLTOOL = false
DSYMUTIL =
DUMPBIN =
ECHO_C =
ECHO_N = -n
ECHO_T =
EGREP = /usr/bin/grep -E
EXEEXT =
EXTENSION_DESTDIR =
FGREP = /usr/bin/grep -F
FORCE_YACC =
GENDERS_DEFAULT_FILE = "/etc/genders"
GREP = /usr/bin/grep
INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
JAR = /usr/bin/jar
JAVA = /usr/bin/java
JAVAC = /usr/bin/javac
JAVADOC = /usr/bin/javadoc
JAVAH =
LD = /usr/bin/ld -m elf_x86_64
LDFLAGS =
LEX = flex
LEXLIB = -lfl
LEX_OUTPUT_ROOT = lex.yy
LIBGENDERSJNI_VERSION_INFO = 0:0:0
LIBGENDERSPLUSPLUS_VERSION_INFO = 2:0:0
LIBGENDERS_VERSION_INFO = 3:3:3
LIBOBJS =
LIBS =
LIBTOOL = $(SHELL) $(top_builddir)/libtool
LIPO =
LN_S = ln -s
LTLIBOBJS =
MAINT = #
MAKEINFO = makeinfo
MANIFEST_TOOL = :
MANPAGE_DEBUG = 0
MKDIR_P = /usr/bin/mkdir -p
NM = /usr/bin/nm -B
NMEDIT =
OBJDUMP = objdump
OBJEXT = o
OTOOL =
OTOOL64 =
PACKAGE = genders
PACKAGE_BUGREPORT =
PACKAGE_NAME = genders
PACKAGE_STRING = genders 1.28
PACKAGE_TARNAME = genders
PACKAGE_URL =
PACKAGE_VERSION = 1.28
PATH_SEPARATOR = :
PERL = /usr/bin/perl
PERLGENDERS_VERSION = 0.03
PERLMAN3EXT = 3pm
PERL_ARCH_INSTALL = vendor
POD2MAN = /usr/bin/pod2man
PROJECT = genders
PYTHON =
PYTHONGENDERS_VERSION = 1.2
RANLIB = ranlib
RELEASE = 1
SED = /usr/bin/sed
SET_MAKE =
SHELL = /bin/bash
STRIP = strip
VERSION = 1.28
YACC = byacc
YFLAGS =
abs_builddir = /home/local/DEVEL/genders-master/man
abs_srcdir = /home/local/DEVEL/genders-master/man
abs_top_builddir = /home/local/DEVEL/genders-master
abs_top_srcdir = /home/local/DEVEL/genders-master
ac_ct_AR = ar
ac_ct_CC = gcc
ac_ct_CXX = g++
ac_ct_DUMPBIN =
am__include = include
am__leading_dot = .
am__quote =
am__tar = tar --format=ustar -chf - "$$tardir"
am__untar = tar -xf -
bindir = ${exec_prefix}/bin
build = x86_64-unknown-linux-gnu
build_alias =
build_cpu = x86_64
build_os = linux-gnu
build_vendor = unknown
builddir = .
datadir = ${datarootdir}
datarootdir = ${prefix}/share
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
dvidir = ${docdir}
exec_prefix = ${prefix}
host = x86_64-unknown-linux-gnu
host_alias =
host_cpu = x86_64
host_os = linux-gnu
host_vendor = unknown
htmldir = ${docdir}
includedir = ${prefix}/include
infodir = ${datarootdir}/info
install_sh = ${SHELL} /home/local/DEVEL/genders-master/config/install-sh
libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
localedir = ${datarootdir}/locale
localstatedir = ${prefix}/var
mandir = ${datarootdir}/man
mkdir_p = $(MKDIR_P)
oldincludedir = /usr/include
pdfdir = ${docdir}
prefix = /home/local/PREFIX
program_transform_name = s,x,x,
psdir = ${docdir}
sbindir = ${exec_prefix}/sbin
sharedstatedir = ${prefix}/com
srcdir = .
sysconfdir = ${prefix}/etc
target = x86_64-unknown-linux-gnu
target_alias =
target_cpu = x86_64
target_os = linux-gnu
target_vendor = unknown
top_build_prefix = ../
top_builddir = ..
top_srcdir = ..
SUBDIRS = compat
man1_MANS = nodeattr.1
man3_MANS = \
libgenders.3 \
genders.3 \
genders_handle_create.3 \
genders_handle_destroy.3 \
genders_load_data.3 \
genders_errnum.3 \
genders_strerror.3 \
genders_errormsg.3 \
genders_perror.3 \
genders_getnumnodes.3 \
genders_getnumattrs.3 \
genders_getmaxattrs.3 \
genders_getmaxnodelen.3 \
genders_getmaxattrlen.3 \
genders_getmaxvallen.3 \
genders_nodelist_clear.3 \
genders_nodelist_create.3 \
genders_nodelist_destroy.3 \
genders_attrlist_clear.3 \
genders_attrlist_create.3 \
genders_attrlist_destroy.3 \
genders_vallist_clear.3 \
genders_vallist_create.3 \
genders_vallist_destroy.3 \
genders_getnodename.3 \
genders_getnodes.3 \
genders_getattr.3 \
genders_getattr_all.3 \
genders_testattr.3 \
genders_testattrval.3 \
genders_isnode.3 \
genders_isattr.3 \
genders_isattrval.3 \
genders_index_attrvals.3 \
genders_query.3 \
genders_testquery.3 \
genders_parse.3
EXTRA_DIST = \
nodeattr.1 \
libgenders.3 \
genders.3 \
genders_handle_create.3 \
genders_handle_destroy.3 \
genders_load_data.3 \
genders_errnum.3 \
genders_strerror.3 \
genders_errormsg.3 \
genders_perror.3 \
genders_getnumnodes.3 \
genders_getnumattrs.3 \
genders_getmaxattrs.3 \
genders_getmaxnodelen.3 \
genders_getmaxattrlen.3 \
genders_getmaxvallen.3 \
genders_nodelist_clear.3 \
genders_nodelist_create.3 \
genders_nodelist_destroy.3 \
genders_attrlist_clear.3 \
genders_attrlist_create.3 \
genders_attrlist_destroy.3 \
genders_vallist_clear.3 \
genders_vallist_create.3 \
genders_vallist_destroy.3 \
genders_getnodename.3 \
genders_getnodes.3 \
genders_getattr.3 \
genders_getattr_all.3 \
genders_testattr.3 \
genders_testattrval.3 \
genders_isnode.3 \
genders_isattr.3 \
genders_isattrval.3 \
genders_index_attrvals.3 \
genders_query.3 \
genders_testquery.3 \
genders_parse.3
all: all-recursive
.SUFFIXES:
$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
&& { if test -f $@; then exit 0; else break; fi; }; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu man/Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --gnu man/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(top_srcdir)/configure: # $(am__configure_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): # $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
mostlyclean-libtool:
-rm -f *.lo
clean-libtool:
-rm -rf .libs _libs
install-man1: $(man1_MANS)
@$(NORMAL_INSTALL)
@list1='$(man1_MANS)'; \
list2=''; \
test -n "$(man1dir)" \
&& test -n "`echo $$list1$$list2`" \
|| exit 0; \
echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
$(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
{ for i in $$list1; do echo "$$i"; done; \
if test -n "$$list2"; then \
for i in $$list2; do echo "$$i"; done \
| sed -n '/\.1[a-z]*$$/p'; \
fi; \
} | while read p; do \
if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; echo "$$p"; \
done | \
sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
sed 'N;N;s,\n, ,g' | { \
list=; while read file base inst; do \
if test "$$base" = "$$inst"; then list="$$list $$file"; else \
echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
$(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
fi; \
done; \
for i in $$list; do echo "$$i"; done | $(am__base_list) | \
while read files; do \
test -z "$$files" || { \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
done; }
uninstall-man1:
@$(NORMAL_UNINSTALL)
@list='$(man1_MANS)'; test -n "$(man1dir)" || exit 0; \
files=`{ for i in $$list; do echo "$$i"; done; \
} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
install-man3: $(man3_MANS)
@$(NORMAL_INSTALL)
@list1='$(man3_MANS)'; \
list2=''; \
test -n "$(man3dir)" \
&& test -n "`echo $$list1$$list2`" \
|| exit 0; \
echo " $(MKDIR_P) '$(DESTDIR)$(man3dir)'"; \
$(MKDIR_P) "$(DESTDIR)$(man3dir)" || exit 1; \
{ for i in $$list1; do echo "$$i"; done; \
if test -n "$$list2"; then \
for i in $$list2; do echo "$$i"; done \
| sed -n '/\.3[a-z]*$$/p'; \
fi; \
} | while read p; do \
if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; echo "$$p"; \
done | \
sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
sed 'N;N;s,\n, ,g' | { \
list=; while read file base inst; do \
if test "$$base" = "$$inst"; then list="$$list $$file"; else \
echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
$(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit $$?; \
fi; \
done; \
for i in $$list; do echo "$$i"; done | $(am__base_list) | \
while read files; do \
test -z "$$files" || { \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(man3dir)" || exit $$?; }; \
done; }
uninstall-man3:
@$(NORMAL_UNINSTALL)
@list='$(man3_MANS)'; test -n "$(man3dir)" || exit 0; \
files=`{ for i in $$list; do echo "$$i"; done; \
} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
dir='$(DESTDIR)$(man3dir)'; $(am__uninstall_files_from_dir)
# This directory's subdirectories are mostly independent; you can cd
# into them and run 'make' without going through this Makefile.
# To change the values of 'make' variables: instead of editing Makefiles,
# (1) if the variable is set in 'config.status', edit 'config.status'
# (which will cause the Makefiles to be regenerated when you run 'make');
# (2) otherwise, pass the desired values on the 'make' command line.
$(am__recursive_targets):
@fail=; \
if $(am__make_keepgoing); then \
failcom='fail=yes'; \
else \
failcom='exit 1'; \
fi; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
case "$@" in \
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
*) list='$(SUBDIRS)' ;; \
esac; \
for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| eval $$failcom; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
ID: $(am__tagged_files)
$(am__define_uniq_tagged_files); mkid -fID $$unique
tags: tags-recursive
TAGS: tags
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
include_option=--etags-include; \
empty_fix=.; \
else \
include_option=--include; \
empty_fix=; \
fi; \
list='$(SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test ! -f $$subdir/TAGS || \
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
$(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
if test $$# -gt 0; then \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
"$$@" $$unique; \
else \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$unique; \
fi; \
fi
ctags: ctags-recursive
CTAGS: ctags
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
$(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
cscopelist: cscopelist-recursive
cscopelist-am: $(am__tagged_files)
list='$(am__tagged_files)'; \
case "$(srcdir)" in \
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
*) sdir=$(subdir)/$(srcdir) ;; \
esac; \
for i in $$list; do \
if test -f "$$i"; then \
echo "$(subdir)/$$i"; \
else \
echo "$$sdir/$$i"; \
fi; \
done >> $(top_builddir)/cscope.files
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
distdir: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
else \
test -f "$(distdir)/$$file" \
|| cp -p $$d/$$file "$(distdir)/$$file" \
|| exit 1; \
fi; \
done
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
$(am__make_dryrun) \
|| test -d "$(distdir)/$$subdir" \
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|| exit 1; \
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
$(am__relativize); \
new_distdir=$$reldir; \
dir1=$$subdir; dir2="$(top_distdir)"; \
$(am__relativize); \
new_top_distdir=$$reldir; \
echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
($(am__cd) $$subdir && \
$(MAKE) $(AM_MAKEFLAGS) \
top_distdir="$$new_top_distdir" \
distdir="$$new_distdir" \
am__remove_distdir=: \
am__skip_length_check=: \
am__skip_mode_fix=: \
distdir) \
|| exit 1; \
fi; \
done
check-am: all-am
check: check-recursive
all-am: Makefile $(MANS)
installdirs: installdirs-recursive
installdirs-am:
for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-recursive
install-strip:
if test -z '$(STRIP)'; then \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
install; \
else \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
clean-generic:
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-recursive
clean-am: clean-generic clean-libtool mostlyclean-am
distclean: distclean-recursive
-rm -f Makefile
distclean-am: clean-am distclean-generic distclean-tags
dvi: dvi-recursive
dvi-am:
html: html-recursive
html-am:
info: info-recursive
info-am:
install-data-am: install-man
install-dvi: install-dvi-recursive
install-dvi-am:
install-exec-am:
install-html: install-html-recursive
install-html-am:
install-info: install-info-recursive
install-info-am:
install-man: install-man1 install-man3
install-pdf: install-pdf-recursive
install-pdf-am:
install-ps: install-ps-recursive
install-ps-am:
installcheck-am:
maintainer-clean: maintainer-clean-recursive
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-recursive
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
pdf: pdf-recursive
pdf-am:
ps: ps-recursive
ps-am:
uninstall-am: uninstall-man
uninstall-man: uninstall-man1 uninstall-man3
.MAKE: $(am__recursive_targets) install-am install-strip
.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
check-am clean clean-generic clean-libtool cscopelist-am ctags \
ctags-am distclean distclean-generic distclean-libtool \
distclean-tags distdir dvi dvi-am html html-am info info-am \
install install-am install-data install-data-am install-dvi \
install-dvi-am install-exec install-exec-am install-html \
install-html-am install-info install-info-am install-man \
install-man1 install-man3 install-pdf install-pdf-am \
install-ps install-ps-am install-strip installcheck \
installcheck-am installdirs installdirs-am maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-generic \
mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
uninstall-am uninstall-man uninstall-man1 uninstall-man3
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
+88
View File
@@ -0,0 +1,88 @@
##*****************************************************************************
## $Id: Makefile.am,v 1.15 2009-06-02 18:29:33 chu11 Exp $
##*****************************************************************************
## Process this file with automake to produce Makefile.in.
##*****************************************************************************
SUBDIRS = compat
man1_MANS = nodeattr.1
man3_MANS = \
libgenders.3 \
genders.3 \
genders_handle_create.3 \
genders_handle_destroy.3 \
genders_load_data.3 \
genders_errnum.3 \
genders_strerror.3 \
genders_errormsg.3 \
genders_perror.3 \
genders_getnumnodes.3 \
genders_getnumattrs.3 \
genders_getmaxattrs.3 \
genders_getmaxnodelen.3 \
genders_getmaxattrlen.3 \
genders_getmaxvallen.3 \
genders_nodelist_clear.3 \
genders_nodelist_create.3 \
genders_nodelist_destroy.3 \
genders_attrlist_clear.3 \
genders_attrlist_create.3 \
genders_attrlist_destroy.3 \
genders_vallist_clear.3 \
genders_vallist_create.3 \
genders_vallist_destroy.3 \
genders_getnodename.3 \
genders_getnodes.3 \
genders_getattr.3 \
genders_getattr_all.3 \
genders_testattr.3 \
genders_testattrval.3 \
genders_isnode.3 \
genders_isattr.3 \
genders_isattrval.3 \
genders_index_attrvals.3 \
genders_query.3 \
genders_testquery.3 \
genders_parse.3
EXTRA_DIST = \
nodeattr.1 \
libgenders.3 \
genders.3 \
genders_handle_create.3 \
genders_handle_destroy.3 \
genders_load_data.3 \
genders_errnum.3 \
genders_strerror.3 \
genders_errormsg.3 \
genders_perror.3 \
genders_getnumnodes.3 \
genders_getnumattrs.3 \
genders_getmaxattrs.3 \
genders_getmaxnodelen.3 \
genders_getmaxattrlen.3 \
genders_getmaxvallen.3 \
genders_nodelist_clear.3 \
genders_nodelist_create.3 \
genders_nodelist_destroy.3 \
genders_attrlist_clear.3 \
genders_attrlist_create.3 \
genders_attrlist_destroy.3 \
genders_vallist_clear.3 \
genders_vallist_create.3 \
genders_vallist_destroy.3 \
genders_getnodename.3 \
genders_getnodes.3 \
genders_getattr.3 \
genders_getattr_all.3 \
genders_testattr.3 \
genders_testattrval.3 \
genders_isnode.3 \
genders_isattr.3 \
genders_isattrval.3 \
genders_index_attrvals.3 \
genders_query.3 \
genders_testquery.3 \
genders_parse.3
+846
View File
@@ -0,0 +1,846 @@
# Makefile.in generated by automake 1.13.4 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2013 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
VPATH = @srcdir@
am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
am__make_running_with_option = \
case $${target_option-} in \
?) ;; \
*) echo "am__make_running_with_option: internal error: invalid" \
"target option '$${target_option-}' specified" >&2; \
exit 1;; \
esac; \
has_opt=no; \
sane_makeflags=$$MAKEFLAGS; \
if $(am__is_gnu_make); then \
sane_makeflags=$$MFLAGS; \
else \
case $$MAKEFLAGS in \
*\\[\ \ ]*) \
bs=\\; \
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
esac; \
fi; \
skip_next=no; \
strip_trailopt () \
{ \
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
}; \
for flg in $$sane_makeflags; do \
test $$skip_next = yes && { skip_next=no; continue; }; \
case $$flg in \
*=*|--*) continue;; \
-*I) strip_trailopt 'I'; skip_next=yes;; \
-*I?*) strip_trailopt 'I';; \
-*O) strip_trailopt 'O'; skip_next=yes;; \
-*O?*) strip_trailopt 'O';; \
-*l) strip_trailopt 'l'; skip_next=yes;; \
-*l?*) strip_trailopt 'l';; \
-[dEDm]) skip_next=yes;; \
-[JT]) skip_next=yes;; \
esac; \
case $$flg in \
*$$target_option*) has_opt=yes; break;; \
esac; \
done; \
test $$has_opt = yes
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
target_triplet = @target@
subdir = man
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/config/ac_cplusplus_extensions.m4 \
$(top_srcdir)/config/ac_debug.m4 \
$(top_srcdir)/config/ac_extension_destdir.m4 \
$(top_srcdir)/config/ac_genders_file.m4 \
$(top_srcdir)/config/ac_java_extenions.m4 \
$(top_srcdir)/config/ac_meta.m4 \
$(top_srcdir)/config/ac_perl_extensions.m4 \
$(top_srcdir)/config/ac_perl_site_arch.m4 \
$(top_srcdir)/config/ac_perl_vendor_arch.m4 \
$(top_srcdir)/config/ac_python_extensions.m4 \
$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/config/config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
AM_V_P = $(am__v_P_@AM_V@)
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
am__v_P_0 = false
am__v_P_1 = :
AM_V_GEN = $(am__v_GEN_@AM_V@)
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
am__v_GEN_0 = @echo " GEN " $@;
am__v_GEN_1 =
AM_V_at = $(am__v_at_@AM_V@)
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
am__v_at_0 = @
am__v_at_1 =
SOURCES =
DIST_SOURCES =
RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
ctags-recursive dvi-recursive html-recursive info-recursive \
install-data-recursive install-dvi-recursive \
install-exec-recursive install-html-recursive \
install-info-recursive install-pdf-recursive \
install-ps-recursive install-recursive installcheck-recursive \
installdirs-recursive pdf-recursive ps-recursive \
tags-recursive uninstall-recursive
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
*) f=$$p;; \
esac;
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
am__install_max = 40
am__nobase_strip_setup = \
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
am__nobase_strip = \
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
am__nobase_list = $(am__nobase_strip_setup); \
for p in $$list; do echo "$$p $$p"; done | \
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
if (++n[$$2] == $(am__install_max)) \
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
END { for (dir in files) print dir, files[dir] }'
am__base_list = \
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__uninstall_files_from_dir = { \
test -z "$$files" \
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
$(am__cd) "$$dir" && rm -f $$files; }; \
}
man1dir = $(mandir)/man1
am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)"
man3dir = $(mandir)/man3
NROFF = nroff
MANS = $(man1_MANS) $(man3_MANS)
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
am__recursive_targets = \
$(RECURSIVE_TARGETS) \
$(RECURSIVE_CLEAN_TARGETS) \
$(am__extra_recursive_targets)
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
distdir
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
# Read a list of newline-separated strings from the standard input,
# and print each of them once, without duplicates. Input order is
# *not* preserved.
am__uniquify_input = $(AWK) '\
BEGIN { nonempty = 0; } \
{ items[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in items) print i; }; } \
'
# Make sure the list of sources is unique. This is necessary because,
# e.g., the same source file might be shared among _SOURCES variables
# for different programs/libraries.
am__define_uniq_tagged_files = \
list='$(am__tagged_files)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
DIST_SUBDIRS = $(SUBDIRS)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
am__relativize = \
dir0=`pwd`; \
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
sed_rest='s,^[^/]*/*,,'; \
sed_last='s,^.*/\([^/]*\)$$,\1,'; \
sed_butlast='s,/*[^/]*$$,,'; \
while test -n "$$dir1"; do \
first=`echo "$$dir1" | sed -e "$$sed_first"`; \
if test "$$first" != "."; then \
if test "$$first" = ".."; then \
dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
else \
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
if test "$$first2" = "$$first"; then \
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
else \
dir2="../$$dir2"; \
fi; \
dir0="$$dir0"/"$$first"; \
fi; \
fi; \
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
done; \
reldir="$$dir2"
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
AR = @AR@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DLLTOOL = @DLLTOOL@
DSYMUTIL = @DSYMUTIL@
DUMPBIN = @DUMPBIN@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
EXTENSION_DESTDIR = @EXTENSION_DESTDIR@
FGREP = @FGREP@
FORCE_YACC = @FORCE_YACC@
GENDERS_DEFAULT_FILE = @GENDERS_DEFAULT_FILE@
GREP = @GREP@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
JAR = @JAR@
JAVA = @JAVA@
JAVAC = @JAVAC@
JAVADOC = @JAVADOC@
JAVAH = @JAVAH@
LD = @LD@
LDFLAGS = @LDFLAGS@
LEX = @LEX@
LEXLIB = @LEXLIB@
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
LIBGENDERSJNI_VERSION_INFO = @LIBGENDERSJNI_VERSION_INFO@
LIBGENDERSPLUSPLUS_VERSION_INFO = @LIBGENDERSPLUSPLUS_VERSION_INFO@
LIBGENDERS_VERSION_INFO = @LIBGENDERS_VERSION_INFO@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LIPO = @LIPO@
LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@
MAINT = @MAINT@
MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MANPAGE_DEBUG = @MANPAGE_DEBUG@
MKDIR_P = @MKDIR_P@
NM = @NM@
NMEDIT = @NMEDIT@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
OTOOL = @OTOOL@
OTOOL64 = @OTOOL64@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PERL = @PERL@
PERLGENDERS_VERSION = @PERLGENDERS_VERSION@
PERLMAN3EXT = @PERLMAN3EXT@
PERL_ARCH_INSTALL = @PERL_ARCH_INSTALL@
POD2MAN = @POD2MAN@
PROJECT = @PROJECT@
PYTHON = @PYTHON@
PYTHONGENDERS_VERSION = @PYTHONGENDERS_VERSION@
RANLIB = @RANLIB@
RELEASE = @RELEASE@
SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
VERSION = @VERSION@
YACC = @YACC@
YFLAGS = @YFLAGS@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_AR = @ac_ct_AR@
ac_ct_CC = @ac_ct_CC@
ac_ct_CXX = @ac_ct_CXX@
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target = @target@
target_alias = @target_alias@
target_cpu = @target_cpu@
target_os = @target_os@
target_vendor = @target_vendor@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
SUBDIRS = compat
man1_MANS = nodeattr.1
man3_MANS = \
libgenders.3 \
genders.3 \
genders_handle_create.3 \
genders_handle_destroy.3 \
genders_load_data.3 \
genders_errnum.3 \
genders_strerror.3 \
genders_errormsg.3 \
genders_perror.3 \
genders_getnumnodes.3 \
genders_getnumattrs.3 \
genders_getmaxattrs.3 \
genders_getmaxnodelen.3 \
genders_getmaxattrlen.3 \
genders_getmaxvallen.3 \
genders_nodelist_clear.3 \
genders_nodelist_create.3 \
genders_nodelist_destroy.3 \
genders_attrlist_clear.3 \
genders_attrlist_create.3 \
genders_attrlist_destroy.3 \
genders_vallist_clear.3 \
genders_vallist_create.3 \
genders_vallist_destroy.3 \
genders_getnodename.3 \
genders_getnodes.3 \
genders_getattr.3 \
genders_getattr_all.3 \
genders_testattr.3 \
genders_testattrval.3 \
genders_isnode.3 \
genders_isattr.3 \
genders_isattrval.3 \
genders_index_attrvals.3 \
genders_query.3 \
genders_testquery.3 \
genders_parse.3
EXTRA_DIST = \
nodeattr.1 \
libgenders.3 \
genders.3 \
genders_handle_create.3 \
genders_handle_destroy.3 \
genders_load_data.3 \
genders_errnum.3 \
genders_strerror.3 \
genders_errormsg.3 \
genders_perror.3 \
genders_getnumnodes.3 \
genders_getnumattrs.3 \
genders_getmaxattrs.3 \
genders_getmaxnodelen.3 \
genders_getmaxattrlen.3 \
genders_getmaxvallen.3 \
genders_nodelist_clear.3 \
genders_nodelist_create.3 \
genders_nodelist_destroy.3 \
genders_attrlist_clear.3 \
genders_attrlist_create.3 \
genders_attrlist_destroy.3 \
genders_vallist_clear.3 \
genders_vallist_create.3 \
genders_vallist_destroy.3 \
genders_getnodename.3 \
genders_getnodes.3 \
genders_getattr.3 \
genders_getattr_all.3 \
genders_testattr.3 \
genders_testattrval.3 \
genders_isnode.3 \
genders_isattr.3 \
genders_isattrval.3 \
genders_index_attrvals.3 \
genders_query.3 \
genders_testquery.3 \
genders_parse.3
all: all-recursive
.SUFFIXES:
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
&& { if test -f $@; then exit 0; else break; fi; }; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu man/Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --gnu man/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
mostlyclean-libtool:
-rm -f *.lo
clean-libtool:
-rm -rf .libs _libs
install-man1: $(man1_MANS)
@$(NORMAL_INSTALL)
@list1='$(man1_MANS)'; \
list2=''; \
test -n "$(man1dir)" \
&& test -n "`echo $$list1$$list2`" \
|| exit 0; \
echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
$(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
{ for i in $$list1; do echo "$$i"; done; \
if test -n "$$list2"; then \
for i in $$list2; do echo "$$i"; done \
| sed -n '/\.1[a-z]*$$/p'; \
fi; \
} | while read p; do \
if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; echo "$$p"; \
done | \
sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
sed 'N;N;s,\n, ,g' | { \
list=; while read file base inst; do \
if test "$$base" = "$$inst"; then list="$$list $$file"; else \
echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
$(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
fi; \
done; \
for i in $$list; do echo "$$i"; done | $(am__base_list) | \
while read files; do \
test -z "$$files" || { \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
done; }
uninstall-man1:
@$(NORMAL_UNINSTALL)
@list='$(man1_MANS)'; test -n "$(man1dir)" || exit 0; \
files=`{ for i in $$list; do echo "$$i"; done; \
} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
install-man3: $(man3_MANS)
@$(NORMAL_INSTALL)
@list1='$(man3_MANS)'; \
list2=''; \
test -n "$(man3dir)" \
&& test -n "`echo $$list1$$list2`" \
|| exit 0; \
echo " $(MKDIR_P) '$(DESTDIR)$(man3dir)'"; \
$(MKDIR_P) "$(DESTDIR)$(man3dir)" || exit 1; \
{ for i in $$list1; do echo "$$i"; done; \
if test -n "$$list2"; then \
for i in $$list2; do echo "$$i"; done \
| sed -n '/\.3[a-z]*$$/p'; \
fi; \
} | while read p; do \
if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; echo "$$p"; \
done | \
sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
sed 'N;N;s,\n, ,g' | { \
list=; while read file base inst; do \
if test "$$base" = "$$inst"; then list="$$list $$file"; else \
echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
$(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit $$?; \
fi; \
done; \
for i in $$list; do echo "$$i"; done | $(am__base_list) | \
while read files; do \
test -z "$$files" || { \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(man3dir)" || exit $$?; }; \
done; }
uninstall-man3:
@$(NORMAL_UNINSTALL)
@list='$(man3_MANS)'; test -n "$(man3dir)" || exit 0; \
files=`{ for i in $$list; do echo "$$i"; done; \
} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
dir='$(DESTDIR)$(man3dir)'; $(am__uninstall_files_from_dir)
# This directory's subdirectories are mostly independent; you can cd
# into them and run 'make' without going through this Makefile.
# To change the values of 'make' variables: instead of editing Makefiles,
# (1) if the variable is set in 'config.status', edit 'config.status'
# (which will cause the Makefiles to be regenerated when you run 'make');
# (2) otherwise, pass the desired values on the 'make' command line.
$(am__recursive_targets):
@fail=; \
if $(am__make_keepgoing); then \
failcom='fail=yes'; \
else \
failcom='exit 1'; \
fi; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
case "$@" in \
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
*) list='$(SUBDIRS)' ;; \
esac; \
for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| eval $$failcom; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
ID: $(am__tagged_files)
$(am__define_uniq_tagged_files); mkid -fID $$unique
tags: tags-recursive
TAGS: tags
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
include_option=--etags-include; \
empty_fix=.; \
else \
include_option=--include; \
empty_fix=; \
fi; \
list='$(SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test ! -f $$subdir/TAGS || \
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
$(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
if test $$# -gt 0; then \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
"$$@" $$unique; \
else \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$unique; \
fi; \
fi
ctags: ctags-recursive
CTAGS: ctags
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
$(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
cscopelist: cscopelist-recursive
cscopelist-am: $(am__tagged_files)
list='$(am__tagged_files)'; \
case "$(srcdir)" in \
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
*) sdir=$(subdir)/$(srcdir) ;; \
esac; \
for i in $$list; do \
if test -f "$$i"; then \
echo "$(subdir)/$$i"; \
else \
echo "$$sdir/$$i"; \
fi; \
done >> $(top_builddir)/cscope.files
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
distdir: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
else \
test -f "$(distdir)/$$file" \
|| cp -p $$d/$$file "$(distdir)/$$file" \
|| exit 1; \
fi; \
done
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
$(am__make_dryrun) \
|| test -d "$(distdir)/$$subdir" \
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|| exit 1; \
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
$(am__relativize); \
new_distdir=$$reldir; \
dir1=$$subdir; dir2="$(top_distdir)"; \
$(am__relativize); \
new_top_distdir=$$reldir; \
echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
($(am__cd) $$subdir && \
$(MAKE) $(AM_MAKEFLAGS) \
top_distdir="$$new_top_distdir" \
distdir="$$new_distdir" \
am__remove_distdir=: \
am__skip_length_check=: \
am__skip_mode_fix=: \
distdir) \
|| exit 1; \
fi; \
done
check-am: all-am
check: check-recursive
all-am: Makefile $(MANS)
installdirs: installdirs-recursive
installdirs-am:
for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-recursive
install-strip:
if test -z '$(STRIP)'; then \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
install; \
else \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
clean-generic:
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-recursive
clean-am: clean-generic clean-libtool mostlyclean-am
distclean: distclean-recursive
-rm -f Makefile
distclean-am: clean-am distclean-generic distclean-tags
dvi: dvi-recursive
dvi-am:
html: html-recursive
html-am:
info: info-recursive
info-am:
install-data-am: install-man
install-dvi: install-dvi-recursive
install-dvi-am:
install-exec-am:
install-html: install-html-recursive
install-html-am:
install-info: install-info-recursive
install-info-am:
install-man: install-man1 install-man3
install-pdf: install-pdf-recursive
install-pdf-am:
install-ps: install-ps-recursive
install-ps-am:
installcheck-am:
maintainer-clean: maintainer-clean-recursive
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-recursive
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
pdf: pdf-recursive
pdf-am:
ps: ps-recursive
ps-am:
uninstall-am: uninstall-man
uninstall-man: uninstall-man1 uninstall-man3
.MAKE: $(am__recursive_targets) install-am install-strip
.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
check-am clean clean-generic clean-libtool cscopelist-am ctags \
ctags-am distclean distclean-generic distclean-libtool \
distclean-tags distdir dvi dvi-am html html-am info info-am \
install install-am install-data install-data-am install-dvi \
install-dvi-am install-exec install-exec-am install-html \
install-html-am install-info install-info-am install-man \
install-man1 install-man3 install-pdf install-pdf-am \
install-ps install-ps-am install-strip installcheck \
installcheck-am installdirs installdirs-am maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-generic \
mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
uninstall-am uninstall-man uninstall-man1 uninstall-man3
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
+545
View File
@@ -0,0 +1,545 @@
# Makefile.in generated by automake 1.13.4 from Makefile.am.
# man/compat/Makefile. Generated from Makefile.in by configure.
# Copyright (C) 1994-2013 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
am__make_running_with_option = \
case $${target_option-} in \
?) ;; \
*) echo "am__make_running_with_option: internal error: invalid" \
"target option '$${target_option-}' specified" >&2; \
exit 1;; \
esac; \
has_opt=no; \
sane_makeflags=$$MAKEFLAGS; \
if $(am__is_gnu_make); then \
sane_makeflags=$$MFLAGS; \
else \
case $$MAKEFLAGS in \
*\\[\ \ ]*) \
bs=\\; \
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
esac; \
fi; \
skip_next=no; \
strip_trailopt () \
{ \
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
}; \
for flg in $$sane_makeflags; do \
test $$skip_next = yes && { skip_next=no; continue; }; \
case $$flg in \
*=*|--*) continue;; \
-*I) strip_trailopt 'I'; skip_next=yes;; \
-*I?*) strip_trailopt 'I';; \
-*O) strip_trailopt 'O'; skip_next=yes;; \
-*O?*) strip_trailopt 'O';; \
-*l) strip_trailopt 'l'; skip_next=yes;; \
-*l?*) strip_trailopt 'l';; \
-[dEDm]) skip_next=yes;; \
-[JT]) skip_next=yes;; \
esac; \
case $$flg in \
*$$target_option*) has_opt=yes; break;; \
esac; \
done; \
test $$has_opt = yes
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
pkgdatadir = $(datadir)/genders
pkgincludedir = $(includedir)/genders
pkglibdir = $(libdir)/genders
pkglibexecdir = $(libexecdir)/genders
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = x86_64-unknown-linux-gnu
host_triplet = x86_64-unknown-linux-gnu
target_triplet = x86_64-unknown-linux-gnu
subdir = man/compat
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/config/ac_cplusplus_extensions.m4 \
$(top_srcdir)/config/ac_debug.m4 \
$(top_srcdir)/config/ac_extension_destdir.m4 \
$(top_srcdir)/config/ac_genders_file.m4 \
$(top_srcdir)/config/ac_java_extenions.m4 \
$(top_srcdir)/config/ac_meta.m4 \
$(top_srcdir)/config/ac_perl_extensions.m4 \
$(top_srcdir)/config/ac_perl_site_arch.m4 \
$(top_srcdir)/config/ac_perl_vendor_arch.m4 \
$(top_srcdir)/config/ac_python_extensions.m4 \
$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/config/config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
AM_V_P = $(am__v_P_$(V))
am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
am__v_P_0 = false
am__v_P_1 = :
AM_V_GEN = $(am__v_GEN_$(V))
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
am__v_GEN_0 = @echo " GEN " $@;
am__v_GEN_1 =
AM_V_at = $(am__v_at_$(V))
am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
am__v_at_0 = @
am__v_at_1 =
SOURCES =
DIST_SOURCES =
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
*) f=$$p;; \
esac;
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
am__install_max = 40
am__nobase_strip_setup = \
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
am__nobase_strip = \
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
am__nobase_list = $(am__nobase_strip_setup); \
for p in $$list; do echo "$$p $$p"; done | \
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
if (++n[$$2] == $(am__install_max)) \
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
END { for (dir in files) print dir, files[dir] }'
am__base_list = \
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__uninstall_files_from_dir = { \
test -z "$$files" \
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
$(am__cd) "$$dir" && rm -f $$files; }; \
}
man3dir = $(mandir)/man3
am__installdirs = "$(DESTDIR)$(man3dir)"
NROFF = nroff
MANS = $(man3_MANS)
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = aclocal-1.13
AMTAR = $${TAR-tar}
AM_DEFAULT_VERBOSITY = 1
AR = ar
AUTOCONF = autoconf
AUTOHEADER = autoheader
AUTOMAKE = automake-1.13
AWK = mawk
CC = gcc
CCDEPMODE = depmode=gcc3
CFLAGS = -O3 -Wall -fno-strict-aliasing
CPP = gcc -E
CPPFLAGS =
CXX = g++
CXXCPP = g++ -E
CXXDEPMODE = depmode=gcc3
CXXFLAGS = -g -O2
CYGPATH_W = echo
DEFS = -DHAVE_CONFIG_H
DEPDIR = .deps
DLLTOOL = false
DSYMUTIL =
DUMPBIN =
ECHO_C =
ECHO_N = -n
ECHO_T =
EGREP = /usr/bin/grep -E
EXEEXT =
EXTENSION_DESTDIR =
FGREP = /usr/bin/grep -F
FORCE_YACC =
GENDERS_DEFAULT_FILE = "/etc/genders"
GREP = /usr/bin/grep
INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
JAR = /usr/bin/jar
JAVA = /usr/bin/java
JAVAC = /usr/bin/javac
JAVADOC = /usr/bin/javadoc
JAVAH =
LD = /usr/bin/ld -m elf_x86_64
LDFLAGS =
LEX = flex
LEXLIB = -lfl
LEX_OUTPUT_ROOT = lex.yy
LIBGENDERSJNI_VERSION_INFO = 0:0:0
LIBGENDERSPLUSPLUS_VERSION_INFO = 2:0:0
LIBGENDERS_VERSION_INFO = 3:3:3
LIBOBJS =
LIBS =
LIBTOOL = $(SHELL) $(top_builddir)/libtool
LIPO =
LN_S = ln -s
LTLIBOBJS =
MAINT = #
MAKEINFO = makeinfo
MANIFEST_TOOL = :
MANPAGE_DEBUG = 0
MKDIR_P = /usr/bin/mkdir -p
NM = /usr/bin/nm -B
NMEDIT =
OBJDUMP = objdump
OBJEXT = o
OTOOL =
OTOOL64 =
PACKAGE = genders
PACKAGE_BUGREPORT =
PACKAGE_NAME = genders
PACKAGE_STRING = genders 1.28
PACKAGE_TARNAME = genders
PACKAGE_URL =
PACKAGE_VERSION = 1.28
PATH_SEPARATOR = :
PERL = /usr/bin/perl
PERLGENDERS_VERSION = 0.03
PERLMAN3EXT = 3pm
PERL_ARCH_INSTALL = vendor
POD2MAN = /usr/bin/pod2man
PROJECT = genders
PYTHON =
PYTHONGENDERS_VERSION = 1.2
RANLIB = ranlib
RELEASE = 1
SED = /usr/bin/sed
SET_MAKE =
SHELL = /bin/bash
STRIP = strip
VERSION = 1.28
YACC = byacc
YFLAGS =
abs_builddir = /home/local/DEVEL/genders-master/man/compat
abs_srcdir = /home/local/DEVEL/genders-master/man/compat
abs_top_builddir = /home/local/DEVEL/genders-master
abs_top_srcdir = /home/local/DEVEL/genders-master
ac_ct_AR = ar
ac_ct_CC = gcc
ac_ct_CXX = g++
ac_ct_DUMPBIN =
am__include = include
am__leading_dot = .
am__quote =
am__tar = tar --format=ustar -chf - "$$tardir"
am__untar = tar -xf -
bindir = ${exec_prefix}/bin
build = x86_64-unknown-linux-gnu
build_alias =
build_cpu = x86_64
build_os = linux-gnu
build_vendor = unknown
builddir = .
datadir = ${datarootdir}
datarootdir = ${prefix}/share
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
dvidir = ${docdir}
exec_prefix = ${prefix}
host = x86_64-unknown-linux-gnu
host_alias =
host_cpu = x86_64
host_os = linux-gnu
host_vendor = unknown
htmldir = ${docdir}
includedir = ${prefix}/include
infodir = ${datarootdir}/info
install_sh = ${SHELL} /home/local/DEVEL/genders-master/config/install-sh
libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
localedir = ${datarootdir}/locale
localstatedir = ${prefix}/var
mandir = ${datarootdir}/man
mkdir_p = $(MKDIR_P)
oldincludedir = /usr/include
pdfdir = ${docdir}
prefix = /home/local/PREFIX
program_transform_name = s,x,x,
psdir = ${docdir}
sbindir = ${exec_prefix}/sbin
sharedstatedir = ${prefix}/com
srcdir = .
sysconfdir = ${prefix}/etc
target = x86_64-unknown-linux-gnu
target_alias =
target_cpu = x86_64
target_os = linux-gnu
target_vendor = unknown
top_build_prefix = ../../
top_builddir = ../..
top_srcdir = ../..
man3_MANS = gendlib.3
EXTRA_DIST = gendlib.3
all: all-am
.SUFFIXES:
$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
&& { if test -f $@; then exit 0; else break; fi; }; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu man/compat/Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --gnu man/compat/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(top_srcdir)/configure: # $(am__configure_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): # $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
mostlyclean-libtool:
-rm -f *.lo
clean-libtool:
-rm -rf .libs _libs
install-man3: $(man3_MANS)
@$(NORMAL_INSTALL)
@list1='$(man3_MANS)'; \
list2=''; \
test -n "$(man3dir)" \
&& test -n "`echo $$list1$$list2`" \
|| exit 0; \
echo " $(MKDIR_P) '$(DESTDIR)$(man3dir)'"; \
$(MKDIR_P) "$(DESTDIR)$(man3dir)" || exit 1; \
{ for i in $$list1; do echo "$$i"; done; \
if test -n "$$list2"; then \
for i in $$list2; do echo "$$i"; done \
| sed -n '/\.3[a-z]*$$/p'; \
fi; \
} | while read p; do \
if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; echo "$$p"; \
done | \
sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
sed 'N;N;s,\n, ,g' | { \
list=; while read file base inst; do \
if test "$$base" = "$$inst"; then list="$$list $$file"; else \
echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
$(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit $$?; \
fi; \
done; \
for i in $$list; do echo "$$i"; done | $(am__base_list) | \
while read files; do \
test -z "$$files" || { \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(man3dir)" || exit $$?; }; \
done; }
uninstall-man3:
@$(NORMAL_UNINSTALL)
@list='$(man3_MANS)'; test -n "$(man3dir)" || exit 0; \
files=`{ for i in $$list; do echo "$$i"; done; \
} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
dir='$(DESTDIR)$(man3dir)'; $(am__uninstall_files_from_dir)
tags TAGS:
ctags CTAGS:
cscope cscopelist:
distdir: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
else \
test -f "$(distdir)/$$file" \
|| cp -p $$d/$$file "$(distdir)/$$file" \
|| exit 1; \
fi; \
done
check-am: all-am
check: check-am
all-am: Makefile $(MANS)
installdirs:
for dir in "$(DESTDIR)$(man3dir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
if test -z '$(STRIP)'; then \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
install; \
else \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
clean-generic:
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-am
clean-am: clean-generic clean-libtool mostlyclean-am
distclean: distclean-am
-rm -f Makefile
distclean-am: clean-am distclean-generic
dvi: dvi-am
dvi-am:
html: html-am
html-am:
info: info-am
info-am:
install-data-am: install-man
install-dvi: install-dvi-am
install-dvi-am:
install-exec-am:
install-html: install-html-am
install-html-am:
install-info: install-info-am
install-info-am:
install-man: install-man3
install-pdf: install-pdf-am
install-pdf-am:
install-ps: install-ps-am
install-ps-am:
installcheck-am:
maintainer-clean: maintainer-clean-am
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
pdf: pdf-am
pdf-am:
ps: ps-am
ps-am:
uninstall-am: uninstall-man
uninstall-man: uninstall-man3
.MAKE: install-am install-strip
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
cscopelist-am ctags-am distclean distclean-generic \
distclean-libtool distdir dvi dvi-am html html-am info info-am \
install install-am install-data install-data-am install-dvi \
install-dvi-am install-exec install-exec-am install-html \
install-html-am install-info install-info-am install-man \
install-man3 install-pdf install-pdf-am install-ps \
install-ps-am install-strip installcheck installcheck-am \
installdirs maintainer-clean maintainer-clean-generic \
mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
ps ps-am tags-am uninstall uninstall-am uninstall-man \
uninstall-man3
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
+8
View File
@@ -0,0 +1,8 @@
##*****************************************************************************
## $Id: Makefile.am,v 1.2 2004-05-19 20:39:51 achu Exp $
##*****************************************************************************
## Process this file with automake to produce Makefile.in.
##*****************************************************************************
man3_MANS = gendlib.3
EXTRA_DIST = gendlib.3
+545
View File
@@ -0,0 +1,545 @@
# Makefile.in generated by automake 1.13.4 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2013 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
VPATH = @srcdir@
am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
am__make_running_with_option = \
case $${target_option-} in \
?) ;; \
*) echo "am__make_running_with_option: internal error: invalid" \
"target option '$${target_option-}' specified" >&2; \
exit 1;; \
esac; \
has_opt=no; \
sane_makeflags=$$MAKEFLAGS; \
if $(am__is_gnu_make); then \
sane_makeflags=$$MFLAGS; \
else \
case $$MAKEFLAGS in \
*\\[\ \ ]*) \
bs=\\; \
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
esac; \
fi; \
skip_next=no; \
strip_trailopt () \
{ \
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
}; \
for flg in $$sane_makeflags; do \
test $$skip_next = yes && { skip_next=no; continue; }; \
case $$flg in \
*=*|--*) continue;; \
-*I) strip_trailopt 'I'; skip_next=yes;; \
-*I?*) strip_trailopt 'I';; \
-*O) strip_trailopt 'O'; skip_next=yes;; \
-*O?*) strip_trailopt 'O';; \
-*l) strip_trailopt 'l'; skip_next=yes;; \
-*l?*) strip_trailopt 'l';; \
-[dEDm]) skip_next=yes;; \
-[JT]) skip_next=yes;; \
esac; \
case $$flg in \
*$$target_option*) has_opt=yes; break;; \
esac; \
done; \
test $$has_opt = yes
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
target_triplet = @target@
subdir = man/compat
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/config/ac_cplusplus_extensions.m4 \
$(top_srcdir)/config/ac_debug.m4 \
$(top_srcdir)/config/ac_extension_destdir.m4 \
$(top_srcdir)/config/ac_genders_file.m4 \
$(top_srcdir)/config/ac_java_extenions.m4 \
$(top_srcdir)/config/ac_meta.m4 \
$(top_srcdir)/config/ac_perl_extensions.m4 \
$(top_srcdir)/config/ac_perl_site_arch.m4 \
$(top_srcdir)/config/ac_perl_vendor_arch.m4 \
$(top_srcdir)/config/ac_python_extensions.m4 \
$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/config/config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
AM_V_P = $(am__v_P_@AM_V@)
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
am__v_P_0 = false
am__v_P_1 = :
AM_V_GEN = $(am__v_GEN_@AM_V@)
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
am__v_GEN_0 = @echo " GEN " $@;
am__v_GEN_1 =
AM_V_at = $(am__v_at_@AM_V@)
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
am__v_at_0 = @
am__v_at_1 =
SOURCES =
DIST_SOURCES =
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
*) f=$$p;; \
esac;
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
am__install_max = 40
am__nobase_strip_setup = \
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
am__nobase_strip = \
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
am__nobase_list = $(am__nobase_strip_setup); \
for p in $$list; do echo "$$p $$p"; done | \
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
if (++n[$$2] == $(am__install_max)) \
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
END { for (dir in files) print dir, files[dir] }'
am__base_list = \
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__uninstall_files_from_dir = { \
test -z "$$files" \
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
$(am__cd) "$$dir" && rm -f $$files; }; \
}
man3dir = $(mandir)/man3
am__installdirs = "$(DESTDIR)$(man3dir)"
NROFF = nroff
MANS = $(man3_MANS)
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
AR = @AR@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DLLTOOL = @DLLTOOL@
DSYMUTIL = @DSYMUTIL@
DUMPBIN = @DUMPBIN@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
EXTENSION_DESTDIR = @EXTENSION_DESTDIR@
FGREP = @FGREP@
FORCE_YACC = @FORCE_YACC@
GENDERS_DEFAULT_FILE = @GENDERS_DEFAULT_FILE@
GREP = @GREP@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
JAR = @JAR@
JAVA = @JAVA@
JAVAC = @JAVAC@
JAVADOC = @JAVADOC@
JAVAH = @JAVAH@
LD = @LD@
LDFLAGS = @LDFLAGS@
LEX = @LEX@
LEXLIB = @LEXLIB@
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
LIBGENDERSJNI_VERSION_INFO = @LIBGENDERSJNI_VERSION_INFO@
LIBGENDERSPLUSPLUS_VERSION_INFO = @LIBGENDERSPLUSPLUS_VERSION_INFO@
LIBGENDERS_VERSION_INFO = @LIBGENDERS_VERSION_INFO@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LIPO = @LIPO@
LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@
MAINT = @MAINT@
MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MANPAGE_DEBUG = @MANPAGE_DEBUG@
MKDIR_P = @MKDIR_P@
NM = @NM@
NMEDIT = @NMEDIT@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
OTOOL = @OTOOL@
OTOOL64 = @OTOOL64@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PERL = @PERL@
PERLGENDERS_VERSION = @PERLGENDERS_VERSION@
PERLMAN3EXT = @PERLMAN3EXT@
PERL_ARCH_INSTALL = @PERL_ARCH_INSTALL@
POD2MAN = @POD2MAN@
PROJECT = @PROJECT@
PYTHON = @PYTHON@
PYTHONGENDERS_VERSION = @PYTHONGENDERS_VERSION@
RANLIB = @RANLIB@
RELEASE = @RELEASE@
SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
VERSION = @VERSION@
YACC = @YACC@
YFLAGS = @YFLAGS@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_AR = @ac_ct_AR@
ac_ct_CC = @ac_ct_CC@
ac_ct_CXX = @ac_ct_CXX@
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target = @target@
target_alias = @target_alias@
target_cpu = @target_cpu@
target_os = @target_os@
target_vendor = @target_vendor@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
man3_MANS = gendlib.3
EXTRA_DIST = gendlib.3
all: all-am
.SUFFIXES:
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
&& { if test -f $@; then exit 0; else break; fi; }; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu man/compat/Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --gnu man/compat/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
mostlyclean-libtool:
-rm -f *.lo
clean-libtool:
-rm -rf .libs _libs
install-man3: $(man3_MANS)
@$(NORMAL_INSTALL)
@list1='$(man3_MANS)'; \
list2=''; \
test -n "$(man3dir)" \
&& test -n "`echo $$list1$$list2`" \
|| exit 0; \
echo " $(MKDIR_P) '$(DESTDIR)$(man3dir)'"; \
$(MKDIR_P) "$(DESTDIR)$(man3dir)" || exit 1; \
{ for i in $$list1; do echo "$$i"; done; \
if test -n "$$list2"; then \
for i in $$list2; do echo "$$i"; done \
| sed -n '/\.3[a-z]*$$/p'; \
fi; \
} | while read p; do \
if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; echo "$$p"; \
done | \
sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
sed 'N;N;s,\n, ,g' | { \
list=; while read file base inst; do \
if test "$$base" = "$$inst"; then list="$$list $$file"; else \
echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
$(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit $$?; \
fi; \
done; \
for i in $$list; do echo "$$i"; done | $(am__base_list) | \
while read files; do \
test -z "$$files" || { \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(man3dir)" || exit $$?; }; \
done; }
uninstall-man3:
@$(NORMAL_UNINSTALL)
@list='$(man3_MANS)'; test -n "$(man3dir)" || exit 0; \
files=`{ for i in $$list; do echo "$$i"; done; \
} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
dir='$(DESTDIR)$(man3dir)'; $(am__uninstall_files_from_dir)
tags TAGS:
ctags CTAGS:
cscope cscopelist:
distdir: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
else \
test -f "$(distdir)/$$file" \
|| cp -p $$d/$$file "$(distdir)/$$file" \
|| exit 1; \
fi; \
done
check-am: all-am
check: check-am
all-am: Makefile $(MANS)
installdirs:
for dir in "$(DESTDIR)$(man3dir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
if test -z '$(STRIP)'; then \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
install; \
else \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
clean-generic:
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-am
clean-am: clean-generic clean-libtool mostlyclean-am
distclean: distclean-am
-rm -f Makefile
distclean-am: clean-am distclean-generic
dvi: dvi-am
dvi-am:
html: html-am
html-am:
info: info-am
info-am:
install-data-am: install-man
install-dvi: install-dvi-am
install-dvi-am:
install-exec-am:
install-html: install-html-am
install-html-am:
install-info: install-info-am
install-info-am:
install-man: install-man3
install-pdf: install-pdf-am
install-pdf-am:
install-ps: install-ps-am
install-ps-am:
installcheck-am:
maintainer-clean: maintainer-clean-am
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
pdf: pdf-am
pdf-am:
ps: ps-am
ps-am:
uninstall-am: uninstall-man
uninstall-man: uninstall-man3
.MAKE: install-am install-strip
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
cscopelist-am ctags-am distclean distclean-generic \
distclean-libtool distdir dvi dvi-am html html-am info info-am \
install install-am install-data install-data-am install-dvi \
install-dvi-am install-exec install-exec-am install-html \
install-html-am install-info install-info-am install-man \
install-man3 install-pdf install-pdf-am install-ps \
install-ps-am install-strip installcheck installcheck-am \
installdirs maintainer-clean maintainer-clean-generic \
mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
ps ps-am tags-am uninstall uninstall-am uninstall-man \
uninstall-man3
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
+115
View File
@@ -0,0 +1,115 @@
.\"############################################################################
.\" $Id: gendlib.3,v 1.8 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.TH GENDLIB 3 "10/10/97" "LLNL" "GENDLIB"
.SH NAME
gendlib \- perl library for querying genders file
.SH SYNOPSIS
require ``/usr/lib/genders/gendlib.pl'';
.SH DESCRIPTION
This package contains common functions for manipulating the genders file.
Previously this code existed only in the nodeattr command, but applications
that must repeatedly call nodeattr would spend a great deal of time reading
and parsing the genders file. These functions create an in-memory
cache of genders on the first call; subsequent calls need
only reference the in-memory copy and are thus speeded up.
.LP
.B Initialization:
.LP
Genders::init([$path_genders])
.IP
Function normally called internally for initialization. It can be called
externally with a non-default genders file path and subsequent operations
will use this non-default data. May be called more than once to change
genders file.
.LP
.B Simple Queries:
.LP
Genders::hasattr($attribute, [$node])
.IP
Return 1 if node has attribute, 0 if not. If node is not specified,
use local node.
.LP
Genders::getattrval($attribute, [$node])
.IP
Return value of attribute held by node, or empty string if no value or
node does not have attribute. If node is not specified, use local node.
.LP
Genders::getnode([$attribute])
.IP
Return a list of nodes having the specified attribute. If a value is
also specified ("attr=val"), only nodes with the specified attribute and
value are returned. If no attribute is specified, getnode returns all
the nodes listed in the genders file.
.LP
Genders::getattr([$node])
.IP
Return a list of attributes held by node. If node is not specified, use
local node.
.LP
.B Complex Queries:
.LP
Genders::getallattr()
.IP
Return a list of all attributes in the genders file (one cluster only).
.LP
Genders::get_node_hash(\\%node)
.IP
Get a copy of hash of attributes to node lists for the current cluster
(a "hash of lists"). Ensure that keys exist for all possible attributes
across clusters (though they may point to empty lists).
.LP
Genders::get_clusters()
.IP
Return a list with the local cluster name as the first and only
element. get_clusters() returns a list instead of a scalar for
backwards compatability. If the local cluster name is not known, null
is returned.
.LP
Genders::gendexp($exp, [$node])
.IP
Evaluate expression involving genders attributes and return the result
of the evaluation. Any legal perl expresion using numeric constants,
genders attributes (which are converted into $variables), and the following
operators is valid: !, ||, &&, *, +, -, /. If $node is not specified,
assume the local host.
.LP
.B Conversion:
.LP
Genders::to_altnames()
.IP
Given a list of hostnames as they appear in the genders file, return
a list of alternate names. On the SP, genders names are assumed to be the
initial_hostnames, and we use the SDR to convert to reliable_hostnames.
On other systems, we look for the value of the altname attribute in the
genders file. If the input hostname cannot be converted, it is preserved
in the output.
.LP
Genders::to_gendnames()
.IP
Performs the inverse of the to_altnames() function. Just like to_altnames(),
an input hostname is preserved in the output if it cannot be converted.
.SH "SEE ALSO"
nodeattr(1), libgenders(3), Libgenders(3)
+26
View File
@@ -0,0 +1,26 @@
.\"############################################################################
.\" $Id: genders.3,v 1.7 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.so man3/libgenders.3
+26
View File
@@ -0,0 +1,26 @@
.\"############################################################################
.\" $Id: genders_attrlist_clear.3,v 1.8 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.so man3/genders_nodelist_create.3
+27
View File
@@ -0,0 +1,27 @@
.\"############################################################################
.\" $Id: genders_attrlist_create.3,v 1.8 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\" 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
.\"############################################################################
.so man3/genders_nodelist_create.3
+26
View File
@@ -0,0 +1,26 @@
.\"############################################################################
.\" $Id: genders_attrlist_destroy.3,v 1.8 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.so man3/genders_nodelist_create.3
+64
View File
@@ -0,0 +1,64 @@
.\"############################################################################
.\" $Id: genders_errnum.3,v 1.8 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.TH GENDERS_ERRNUM 3 "August 2003" "LLNL" "LIBGENDERS"
.SH NAME
genders_errnum, genders_strerror, genders_errormsg, genders_perror \-
genders error routines
.SH SYNOPSIS
.B #include <genders.h>
.sp
.BI "int genders_errnum(genders_t handle);"
.sp
.BI "char *genders_strerror(int errnum);"
.sp
.BI "char *genders_errormsg(genders_t handle);"
.sp
.BI "void genders_perror(genders_t handle, const char *msg);"
.br
.SH DESCRIPTION
\fBgenders_errnum()\fR returns the error code stored in
\fIhandle\fR.
\fBgenders_strerror()\fR returns a pointer to a string describing the error code
\fIerrnum\fR.
Generally, an error code is retrieved by \fBgenders_errnum()\fR and
then passed to \fBgenders_strerror()\fR.
\fBgenders_errormsg()\fR returns a pointer to a string describing
the error stored in \fIhandle\fR. It is logically equivalent to:
char *genders_strerror(genders_errnum(genders_t handle));
\fBgenders_perror()\fR is similar to
.BR perror (3).
It produces a message on standard error output, describing the error
stored in \fIhandle\fR. If \fImsg\fR is not NULL, the string pointed
to by \fImsg\fR, a colon, and a blank are printed before the error
message.
.br
.SH FILES
/usr/include/genders.h
+26
View File
@@ -0,0 +1,26 @@
.\"############################################################################
.\" $Id: genders_errormsg.3,v 1.8 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.so man3/genders_errnum.3
+100
View File
@@ -0,0 +1,100 @@
.\"############################################################################
.\" $Id: genders_getattr.3,v 1.17 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.TH GENDERS_GETATTR 3 "August 2003" "LLNL" "LIBGENDERS"
.SH NAME
genders_getattr \- get attributes from a genders file
.SH SYNOPSIS
.B #include <genders.h>
.sp
.BI "int genders_getattr(genders_t handle, char *attrs[], char *vals[], int len, const char *node);"
.br
.SH DESCRIPTION
\fBgenders_getattr()\fR gets the attributes and values for the node
pointed to by \fInode\fR. If \fInode\fR is NULL, attributes and
values are retrieved for the current node. The attributes are stored
in the attribute list pointed to by \fIattrs\fR and the attribute
values are stored in \fIvals\fR. If attribute values are not desired,
\fIvals\fR can be set to NULL. \fIlen\fR should indicate the number
of elements that can be stored in both the attribute list and
attribute values list.
To avoid passing in a list that is not large enough to store all the
attributes and attribute values,
.BR genders_getmaxattrs (3)
should be used to determine the minimum number of elements \fIattrs\fR
and \fIvals\fR should be able to store.
.BR genders_attrlist_create (3)
and
.BR genders_vallist_create (3)
could be used to create lists that are guaranteed to be large enough
to store all attributes and attribute values.
.br
.SH RETURN VALUES
On success, the number of attributes stored in \fIattrs\fR is
returned. On error, -1 is returned, and an error code is returned in
\fIhandle\fR. The error code can be retrieved via
.BR genders_errnum (3)
, and a description of the error code can be retrieved via
.BR genders_strerror (3).
Error codes are defined in genders.h.
.br
.SH ERRORS
.TP
.B GENDERS_ERR_NULLHANDLE
The \fIhandle\fR parameter is NULL. The genders handle must be
created with
.BR genders_handle_create (3).
.TP
.B GENDERS_ERR_NOTLOADED
.BR genders_load_data (3)
has not been called to load genders data.
.TP
.B GENDERS_ERR_OVERFLOW
The list pointed to by \fIattrs\fR or \fIvals\fR is not large enough
to store all the attributes or attribute values.
.TP
.B GENDERS_ERR_PARAMETERS
An incorrect parameter has been passed in.
.TP
.B GENDERS_ERR_NULLPTR
A null pointer has been found in the list passed in.
.TP
.B GENDERS_ERR_NOTFOUND
The node pointed to by \fInode\fR cannot be found in the genders file
or if \fInode\fR=NULL, the machine genders is running on is not listed
in the genders database.
.TP
.B GENDERS_ERR_MAGIC
\fIhandle\fR has an incorrect magic number. \fIhandle\fR does not
point to a genders handle or \fIhandle\fR has been destroyed by
.BR genders_handle_destroy (3).
.br
.SH FILES
/usr/include/genders.h
.SH SEE ALSO
libgenders(3), genders_handle_create(3), genders_load_data(3),
genders_getmaxattrs(3), genders_attrlist_create(3),
genders_vallist_create(3), genders_errnum(3), genders_strerror(3)
+90
View File
@@ -0,0 +1,90 @@
.\"############################################################################
.\" $Id: genders_getattr_all.3,v 1.12 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.TH GENDERS_GETATTR_ALL 3 "August 2003" "LLNL" "LIBGENDERS"
.SH NAME
genders_getattr_all \- get all the attributes stored in a genders file
.SH SYNOPSIS
.B #include <genders.h>
.sp
.BI "int genders_getattr_all(genders_t handle, char *attrs[], int len);"
.br
.SH DESCRIPTION
\fBgenders_getattr_all()\fR gets all the attributes found in the
genders file associated with \fIhandle\fR. The attributes are stored
in the attribute list pointed to by \fIattrs\fR. \fIlen\fR should
indicate the number of elements that can be stored in the attribute
list.
To avoid passing in a list that is not large enough to store all the
attributes,
.BR genders_getnumattrs (3)
should be used to determine the minimum number of elements \fIattrs\fR
should be able to store.
.BR genders_attrlist_create (3)
could be used to create a list that is guaranteed to be large enough
to store all attributes.
.br
.SH RETURN VALUES
On success, the number of attributes stored in \fIattrs\fR is
returned. On error, -1 is returned, and an error code is returned in
\fIhandle\fR. The error code can be retrieved via
.BR genders_errnum (3)
, and a description of the error code can be retrieved via
.BR genders_strerror (3).
Error codes are defined in genders.h.
.br
.SH ERRORS
.TP
.B GENDERS_ERR_NULLHANDLE
The \fIhandle\fR parameter is NULL. The genders handle must be
created with
.BR genders_handle_create (3).
.TP
.B GENDERS_ERR_NOTLOADED
.BR genders_load_data (3)
has not been called to load genders data.
.TP
.B GENDERS_ERR_OVERFLOW
The list pointed to by \fIattrs\fR is not large enough to store all
the attributes.
.TP
.B GENDERS_ERR_PARAMETERS
An incorrect parameter has been passed in.
.TP
.B GENDERS_ERR_NULLPTR
A null pointer has been found in the list passed in.
.TP
.B GENDERS_ERR_MAGIC
\fIhandle\fR has an incorrect magic number. \fIhandle\fR does not
point to a genders handle or \fIhandle\fR has been destroyed by
.BR genders_handle_destroy (3).
.br
.SH FILES
/usr/include/genders.h
.SH SEE ALSO
libgenders(3), genders_handle_create(3), genders_load_data(3),
genders_getnumattrs(3), genders_attrlist_create(3), genders_errnum(3),
genders_strerror(3)
+26
View File
@@ -0,0 +1,26 @@
.\"############################################################################
.\" $Id: genders_getmaxattrlen.3,v 1.8 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.so man3/genders_getnumnodes.3
+26
View File
@@ -0,0 +1,26 @@
.\"############################################################################
.\" $Id: genders_getmaxattrs.3,v 1.10 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.so man3/genders_getnumnodes.3
+26
View File
@@ -0,0 +1,26 @@
.\"############################################################################
.\" $Id: genders_getmaxnodelen.3,v 1.8 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.so man3/genders_getnumnodes.3
+26
View File
@@ -0,0 +1,26 @@
.\"############################################################################
.\" $Id: genders_getmaxvallen.3,v 1.8 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.so man3/genders_getnumnodes.3
+81
View File
@@ -0,0 +1,81 @@
.\"############################################################################
.\" $Id: genders_getnodename.3,v 1.11 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.TH GENDERS_GETNODENAME 3 "August 2003" "LLNL" "LIBGENDERS"
.SH NAME
genders_getnodename \- get the current node name
.SH SYNOPSIS
.B #include <genders.h>
.sp
.BI "int genders_getnodename(genders_t handle, char *node, int len);"
.br
.SH DESCRIPTION
\fBgenders_getnodename()\fR retrieves the name of the node that the
function is being called from. The node name returned is the
shortened hostname of the node and is stored in the buffer pointed to
be \fInode\fR. \fIlen\fR should indicate the length of the buffer.
The node returned by \fBgenders_getnodename()\fR is the shortened
hostname of the node.
To avoid passing in a buffer that is not large enough to store the
node name,
.BR genders_getmaxnodelen (3)
should be used to determine the minimum buffer size that should be used.
.br
.SH RETURN VALUES
On success, 0 is returned. On error, -1 is returned, and an error
code is returned in \fIhandle\fR. The error code can be retrieved via
.BR genders_errnum (3)
, and a description of the error code can be retrieved via
.BR genders_strerror (3).
Error codes are defined in genders.h.
.br
.SH ERRORS
.TP
.B GENDERS_ERR_NULLHANDLE
The \fIhandle\fR parameter is NULL. The genders handle must be created
with
.BR genders_handle_create (3).
.TP
.B GENDERS_ERR_NOTLOADED
.BR genders_load_data (3)
has not been called to load genders data.
.TP
.B GENDERS_ERR_OVERFLOW
The buffer pointed to by \fInode\fR is not large enough to store the node name.
.TP
.B GENDERS_ERR_PARAMETERS
An incorrect parameter has been passed in.
.TP
.B GENDERS_ERR_MAGIC
\fIhandle\fR has an incorrect magic number. \fIhandle\fR does not
point to a genders handle or \fIhandle\fR has been destroyed by
.BR genders_handle_destroy (3).
.br
.SH FILES
/usr/include/genders.h
.SH SEE ALSO
libgenders(3), genders_handle_create(3), genders_load_data(3),
genders_getmaxnodelen(3), genders_errnum(3), genders_strerror(3)
+92
View File
@@ -0,0 +1,92 @@
.\"############################################################################
.\" $Id: genders_getnodes.3,v 1.15 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2002 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.TH GENDERS_GETNODES 3 "August 2003" "LLNL" "LIBGENDERS"
.SH NAME
genders_getnodes \- get nodes from the genders file
.SH SYNOPSIS
.B #include <genders.h>
.sp
.BI "int genders_getnodes(genders_t handle, char *nodes[], int len, const char *attr, const char *val);"
.br
.SH DESCRIPTION
\fBgenders_getnodes()\fR gets the names of nodes in the genders file
that have the attribute specified by \fIattr\fR and the value
specified by \fIval\fR. The nodes are stored in the list pointed to
by \fInodes\fR. \fIlen\fR indicates the number of nodes that can be
stored in the list. If \fIattr\fR is NULL, \fBgenders_getnodes()\fR
returns all the nodes listed in the genders file. If \fIval\fR is
NULL, attribute values are ignored.
To avoid passing in a list that is not large enough to store all the
nodes,
.BR genders_getnumnodes (3)
should be used to determine the minimum number of elements \fInodes\fR
should be able to store.
.BR genders_nodelist_create (3)
could be used to create a list that is guaranteed to be large enough
to store all of the nodes.
.br
.SH RETURN VALUES
On success, the number of nodes stored in \fInodes\fR is returned. On
error, -1 is returned, and an error code is returned in \fIhandle\fR.
The error code can be retrieved via
.BR genders_errnum (3)
, and a description of the error code can be retrieved via
.BR genders_strerror (3).
Error codes are defined in genders.h.
.br
.SH ERRORS
.TP
.B GENDERS_ERR_NULLHANDLE
The \fIhandle\fR parameter is NULL. The genders handle must be
created with
.BR genders_handle_create (3).
.TP
.B GENDERS_ERR_NOTLOADED
.BR genders_load_data (3)
has not been called to load genders data.
.TP
.B GENDERS_ERR_OVERFLOW
The list pointed to by \fInodes\fR is not large enough to store all
the nodes.
.TP
.B GENDERS_ERR_PARAMETERS
An incorrect parameter has been passed in.
.TP
.B GENDERS_ERR_NULLPTR
A null pointer has been found in the list passed in.
.TP
.B GENDERS_ERR_MAGIC
\fIhandle\fR has an incorrect magic number. \fIhandle\fR does not
point to a genders handle or \fIhandle\fR has been destroyed by
.BR genders_handle_destroy (3).
.br
.SH FILES
/usr/include/genders.h
.SH SEE ALSO
libgenders(3), genders_handle_create(3), genders_load_data(3),
genders_getnumnodes(3), genders_nodelist_create(3), genders_errnum(3),
genders_strerror(3)
+26
View File
@@ -0,0 +1,26 @@
.\"############################################################################
.\" $Id: genders_getnumattrs.3,v 1.8 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.so man3/genders_getnumnodes.3
+104
View File
@@ -0,0 +1,104 @@
.\"############################################################################
.\" $Id: genders_getnumnodes.3,v 1.8 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.TH GENDERS_GETNUMNODES 3 "August 2003" "LLNL" "LIBGENDERS"
.SH NAME
genders_getnumnodes, genders_getnumattrs, genders_getmaxattrs,
genders_getmaxnodelen, genders_getmaxattrlen, genders_getmaxvallen \-
genders statistics routines
.SH SYNOPSIS
.B #include <genders.h>
.sp
.BI "int genders_getnumnodes(genders_t handle);"
.sp
.BI "int genders_getnumattrs(genders_t handle);"
.sp
.BI "int genders_getmaxattrs(genders_t handle);"
.sp
.BI "int genders_getmaxnodelen(genders_t handle);"
.sp
.BI "int genders_getmaxattrlen(genders_t handle);"
.sp
.BI "int genders_getmaxvallen(genders_t handle);"
.br
.SH DESCRIPTION
\fBgenders_getnumnodes()\fR, \fBgenders_getnumattrs()\fR,
\fBgenders_getmaxattrs()\fR, \fBgenders_getmaxnodelen()\fR,
\fBgenders_getmaxattrlen()\fR, and \fBgenders_getmaxvallen()\fR get
statistics about the genders file associated with \fIhandle\fR.
\fBgenders_getnumnodes()\fR returns the number of nodes stored in the
genders file.
\fBgenders_getnumattrs()\fR returns the number of attributes listed in
the genders file.
\fBgenders_getmaxattrs()\fR returns the maximum number of attributes
listed with a node in the genders file.
\fBgenders_getmaxnodelen()\fR returns the maximum length of any node
listed in the genders file.
\fBgenders_getmaxattrlen()\fR returns the maximum length of any
attribute listed in the genders file.
\fBgenders_getmaxvallen()\fR returns the maximum length of any
attribute value listed in the genders file.
In general, \fBgenders_getnumnodes()\fR, \fBgenders_getnumattrs()\fR,
\fBgenders_getmaxattrs()\fR, \fBgenders_getmaxnodelen()\fR,
\fBgenders_getmaxattrlen()\fR, and \fBgenders_getmaxvallen()\fR are
used so a programmer can dynamically allocate a proper amount of
memory to store genders file information in.
.br
.SH RETURN VALUES
On success, 0 is returned. On error, -1 is returned, and an error
code is returned in \fIhandle\fR. The error code can be retrieved via
.BR genders_errnum (3)
, and a description of the error code can be retrieved via
.BR genders_strerror (3).
Error codes are defined in genders.h.
.br
.SH ERRORS
.TP
.B GENDERS_ERR_NULLHANDLE
The \fIhandle\fR parameter is NULL. The genders handle must be
created with
.BR genders_handle_create (3).
.TP
.B GENDERS_ERR_NOTLOADED
.BR genders_load_data (3)
has not been called to load genders data.
.TP
.B GENDERS_ERR_MAGIC
\fIhandle\fR has an incorrect magic number. \fIhandle\fR does not
point to a genders handle or \fIhandle\fR has been destroyed by
.BR genders_handle_destroy (3).
.br
.SH FILES
/usr/include/genders.h
.SH SEE ALSO
libgenders(3), genders_handle_create(3), genders_load_data(3),
genders_errnum(3), genders_strerror(3)
+48
View File
@@ -0,0 +1,48 @@
.\"############################################################################
.\" $Id: genders_handle_create.3,v 1.11 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.TH GENDERS_HANDLE_CREATE 3 "August 2003" "LLNL" "LIBGENDERS"
.SH NAME
genders_handle_create \- create a genders handle
.SH SYNOPSIS
.B #include <genders.h>
.sp
.BI "genders_t genders_handle_create(void);"
.br
.SH DESCRIPTION
.br
\fBgenders_handle_create()\fR creates a genders handle for use with
the genders C API. A genders handle is of type genders_t, which is
defined in genders.h. The genders handle must be passed to most of
the genders C API functions.
.br
.SH RETURN VALUES
On success, a genders handle (datatype genders_t) will be returned. On
error, NULL is returned.
.br
.SH FILES
/usr/include/genders.h
.SH SEE ALSO
genders_handle_destroy(3), genders_load_data(3)
+61
View File
@@ -0,0 +1,61 @@
.\"############################################################################
.\" $Id: genders_handle_destroy.3,v 1.12 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.TH GENDERS_HANDLE_DESTROY 3 "August 2003" "LLNL" "LIBGENDERS"
.SH NAME
genders_handle_destroy \- destroys a genders handle
.SH SYNOPSIS
.B #include <genders.h>
.sp
.BI "int genders_handle_destroy(genders_t handle);"
.br
.SH DESCRIPTION
\fBgenders_handle_destroy()\fR destroys the genders handle pointed to
by \fIhandle\fR and frees all allocated memory associated with it.
.br
.SH RETURN VALUES
On success, 0 is returned. On error, -1 is returned, and an error
code is returned in \fIhandle\fR. The error code can be retrieved via
.BR genders_errnum (3)
, and a description of the error code can be retrieved via
.BR genders_strerror (3).
Error codes are defined in genders.h.
.br
.SH ERRORS
.TP
.B GENDERS_ERR_NULLHANDLE
The \fIhandle\fR parameter is NULL. The genders handle must be
created with
.BR genders_handle_create (3).
.TP
.B GENDERS_ERR_MAGIC
\fIhandle\fR has an incorrect magic number. \fIhandle\fR does not
point to a genders handle or \fIhandle\fR has already been destroyed.
.br
.SH FILES
/usr/include/genders.h
.SH SEE ALSO
libgenders(3), genders_handle_create(3), genders_load_data(3),
genders_errnum(3), genders_strerror(3)
+92
View File
@@ -0,0 +1,92 @@
.\"############################################################################
.\" $Id: genders_index_attrvals.3,v 1.8 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.TH GENDERS_INDEX_NODES 3 "August 2003" "LLNL" "LIBGENDERS"
.SH NAME
genders_index_attrvals \-
internally index attribute values in genders
.SH SYNOPSIS
.B #include <genders.h>
.sp
.BI "int genders_index_attrvals(genders_t handle, const char *attr);"
.sp
.br
.SH DESCRIPTION
\fBgenders_index_attrvals()\fR internally indexes attribute values in
a genders handle so that genders searches can be done more quickly in
the
.BR genders_getnodes (3)
and
.BR genders_isattrval (3)
functions.
Only one attribute can be indexed at a time through this function.
Subsequent calls to this function with a different attribute will
overwrite earlier indexes.
.br
.SH RETURN VALUES
On success, 0 is returned. On error, -1 is returned, and an error
code is returned in \fIhandle\fR. The error code can be retrieved via
.BR genders_errnum (3)
, and a description of the error code can be retrieved via
.BR genders_strerror (3).
Error codes are defined in genders.h.
.br
.SH ERRORS
.TP
.B GENDERS_ERR_NULLHANDLE
The \fIhandle\fR parameter is NULL. The genders handle must be
created with
.BR genders_handle_create (3).
.TP
.B GENDERS_ERR_NOTLOADED
.BR genders_load_data (3)
has not been called to load genders data.
.TP
.B GENDERS_ERR_PARAMETERS
An incorrect parameter has been passed in.
.TP
.B GENDERS_ERR_NOTFOUND
The attribute pointed to by \fIattr\fR cannot be found in the genders
file.
.TP
.B GENDERS_ERR_OUTMEM
.BR malloc (3)
has failed internally, system is out of memory.
.TP
.B GENDERS_ERR_MAGIC
\fIhandle\fR has an incorrect magic number. \fIhandle\fR does not
point to a genders handle or \fIhandle\fR has been destroyed by
.BR genders_handle_destroy (3).
.TP
.B GENDERS_ERR_INTERNAL
An internal system error has occurred.
.br
.SH FILES
/usr/include/genders.h
.SH SEE ALSO
libgenders(3), genders_handle_create(3), genders_load_data(3),
genders_getnodes(3), genders_isattrval(3), genders_errnum(3),
genders_strerror(3)
+26
View File
@@ -0,0 +1,26 @@
.\"############################################################################
.\" $Id: genders_isattr.3,v 1.8 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.so man3/genders_isnode.3
+26
View File
@@ -0,0 +1,26 @@
.\"############################################################################
.\" $Id: genders_isattrval.3,v 1.8 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.so man3/genders_isnode.3
+90
View File
@@ -0,0 +1,90 @@
.\"############################################################################
.\" $Id: genders_isnode.3,v 1.8 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.TH GENDERS_ISNODE 3 "August 2003" "LLNL" "LIBGENDERS"
.SH NAME
genders_isnode, genders_isattr, genders_isattrval \- node, attribute, value check routines
.SH SYNOPSIS
.B #include <genders.h>
.sp
.BI "int genders_isnode(genders_t handle, const char *node);"
.sp
.BI "int genders_isattr(genders_t handle, const char *attr);"
.sp
.BI "int genders_isattrval(genders_t handle, const char *attr, const char *val);"
.br
.SH DESCRIPTION
\fBgenders_isnode()\fR tests if the node pointed to by \fInode\fR is
listed in the genders file. If \fInode\fR is NULL, the current node
is tested.
\fBgenders_isattr()\fR tests if the attribute pointed to by \fIattr\fR
is listed for some node in the genders file.
\fBgenders_isattrval()\fR tests if the attribute pointed to by
\fIattr\fR is equal to the value pointed to by \fIval\fR for some node
in the genders file.
.br
.SH RETURN VALUES
For \fBgenders_isnode()\fR, if \fInode\fR is listed in the genders
file, 1 is returned. If it is not listed, 0 is returned.
For \fBgenders_isattr()\fR, if \fIattr\fR is listed in the genders
file, 1 is returned. If it is not listed, 0 is returned.
For \fBgenders_isattrval()\fR, if \fIattr\fR=\fIval\fR is listed in
the genders file, 1 is returned. If it is not listed, 0 is returned.
On error, all three return -1 and an error code is returned in
\fIhandle\fR. The error code can be retrieved via
.BR genders_errnum (3)
, and a description of the error code can be retrieved via
.BR genders_strerror (3).
Error codes are defined in genders.h.
.br
.SH ERRORS
.TP
.B GENDERS_ERR_NULLHANDLE
The \fIhandle\fR parameter is NULL. The genders handle must be
created with
.BR genders_handle_create (3).
.TP
.B GENDERS_ERR_NOTLOADED
.BR genders_load_data (3)
has not been called to load genders data.
.TP
.B GENDERS_ERR_PARAMETERS
An incorrect parameter has been passed in.
.TP
.B GENDERS_ERR_MAGIC
\fIhandle\fR has an incorrect magic number. \fIhandle\fR does not
point to a genders handle or \fIhandle\fR has been destroyed by
.BR genders_handle_destroy (3).
.br
.SH FILES
/usr/include/genders.h
.SH SEE ALSO
libgenders(3), genders_handle_create(3), genders_load_data(3),
genders_errnum(3), genders_strerror(3)
+96
View File
@@ -0,0 +1,96 @@
.\"############################################################################
.\" $Id: genders_load_data.3,v 1.14 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.TH GENDERS_LOAD_DATA 3 "August 2003" "LLNL" "LIBGENDERS"
.SH NAME
genders_load_data \- read and parse a genders file
.SH SYNOPSIS
.B #include <genders.h>
.sp
.BI "int genders_load_data(genders_t handle, const char *filename);"
.br
.SH DESCRIPTION
\fBgenders_load_data()\fR read and parses the genders file indicated
by \fIfilename\fR. If \fIfilename\fR is NULL,
\fBgenders_load_data()\fR will attempt to read and parse the default
genders file defined by \fBGENDERS_DEFAULT_FILE\fR. \fIhandle\fR is a
genders handle created by
.BR genders_handle_create (3).
After \fBgenders_load_data()\fR is called, information about the
genders file is stored in the genders handle passed in. This
information is used by other genders C API functions. All future use
of \fIhandle\fR with other genders C API functions will be directly
associated with the genders file indicated by \fIfilename\fR (or the
default genders file if \fIfilename\fR is NULL).
.br
.SH RETURN VALUES
On success, 0 is returned. On error, -1 is returned, and an error
code is returned in \fIhandle\fR. The error code can be retrieved via
.BR genders_errnum (3)
, and a description of the error code can be retrieved via
.BR genders_strerror (3).
Error codes are defined in genders.h.
.br
.SH ERRORS
.TP
.B GENDERS_ERR_NULLHANDLE
The \fIhandle\fR parameter is NULL. The genders handle must be created
with
.BR genders_handle_create (3).
.TP
.B GENDERS_ERR_OPEN
The genders file indicated by \fIfilename\fR cannot be opened for reading.
.TP
.B GENDERS_ERR_READ
Error reading the genders file indicated by \fIfilename\fR.
.TP
.B GENDERS_ERR_PARSE
The genders file indicated by \fIfilename\fR is incorrectly formatted.
.TP
.B GENDERS_ERR_ISLOADED
.BR genders_load_data (3)
has already been called with \fIhandle\fR.
.TP
.B GENDERS_ERR_OVERFLOW
A line in the genders database exceeds the maximum allowed length.
.TP
.B GENDERS_ERR_OUTMEM
.BR malloc (3)
has failed internally, system is out of memory.
.TP
.B GENDERS_ERR_MAGIC
\fIhandle\fR has an incorrect magic number. \fIhandle\fR does not
point to a genders handle or \fIhandle\fR has been destroyed by
.BR genders_handle_destroy (3).
.TP
.B GENDERS_ERR_INTERNAL
An internal system error has occurred.
.br
.SH FILES
/usr/include/genders.h
.SH SEE ALSO
libgenders(3), genders_handle_create(3), genders_handle_destroy(3),
genders_errnum(3), genders_strerror(3)
+26
View File
@@ -0,0 +1,26 @@
.\"############################################################################
.\" $Id: genders_nodelist_clear.3,v 1.8 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.so man3/genders_nodelist_create.3
+144
View File
@@ -0,0 +1,144 @@
.\"############################################################################
.\" $Id: genders_nodelist_create.3,v 1.8 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.TH GENDERS_NODELIST_CREATE 3 "August 2003" "LLNL" "LIBGENDERS"
.SH NAME
genders_nodelist_create, genders_nodelist_clear,
genders_nodelist_destroy, genders_attrlist_create,
genders_attrlist_clear, genders_attrlist_destroy,
genders_vallist_create, genders_vallist_clear, genders_vallist_destroy
- list create, clear, and destroy routines
.SH SYNOPSIS
.B #include <genders.h>
.sp
.BI "int genders_nodelist_create(genders_t handle, char ***nodelist);"
.sp
.BI "int genders_nodelist_clear(genders_t handle, char **nodelist);"
.sp
.BI "int genders_nodelist_destroy(genders_t handle, char **nodelist);"
.sp
.BI "int genders_attrlist_create(genders_t handle, char ***attrlist);"
.sp
.BI "int genders_attrlist_clear(genders_t handle, char **attrlist);"
.sp
.BI "int genders_attrlist_destroy(genders_t handle, char **attrlist);"
.sp
.BI "int genders_vallist_create(genders_t handle, char ***vallist);"
.sp
.BI "int genders_vallist_clear(genders_t handle, char **vallist);"
.sp
.BI "int genders_vallist_destroy(genders_t handle, char **vallist);"
.br
.SH DESCRIPTION
\fBgenders_nodelist_create()\fR, \fBgenders_nodelist_clear()\fR,
\fBgenders_nodelist_destroy()\fR, \fBgenders_attrlist_create()\fR,
\fBgenders_attrlist_clear()\fR, \fBgenders_attrlist_destroy()\fR,
\fBgenders_vallist_create()\fR, \fBgenders_vallist_clear()\fR, and
\fBgenders_vallist_destroy()\fR are used to create, clear, and destroy
lists (arrays of strings) for use with
.BR genders_getnodes (3),
.BR genders_getattr (3),
and
.BR genders_getattr_all (3).
\fBgenders_nodelist_create()\fR, \fBgenders_attrlist_create()\fR, and
\fBgenders_vallist_create()\fR creates a list with minimum size to
store nodes, attributes, and attribute values respectively.
\fInodelist\fR, \fIattrlist\fR, and \fIvallist\fR are respectively set
to point to the created list. The created lists are guaranteed to
store all the node, attribute, and value information returned from
.BR genders_getnodes (3),
.BR genders_getattr (3),
and
.BR genders_getattr_all (3).
\fBgenders_nodelist_clear()\fR, \fBgenders_attrlist_clear()\fR, and
\fBgenders_vallist_clear()\fR clear any information stored in the
lists pointed to by \fInodelist\fR, \fIattrlist\fR, and \fIvallist\fR
repectively. They do not have be called after their respective create
functions. They only have to be called after they are used in
.BR genders_getnodes (3),
.BR genders_getattr (3),
and
.BR genders_getattr_all (3),
and the programmer wishes to re-use the list.
\fBgenders_nodelist_destroy()\fR, \fBgenders_attrlist_destroy()\fR,
and \fBgenders_vallist_destroy()\fR destroy the lists pointed to by
\fInodelist\fR, \fIattrlist\fR, and \fIvallist\fR respectively.
If no attributes or values are listed in the genders database all of
the attrlist and vallist functions will do nothing. The pointer
passed into \fBgenders_attrlist_create()\fR and
\fBgenders_vallist_create()\fR will not be set.
.br
.SH RETURN VALUES
On success, \fBgenders_nodelist_create()\fR,
\fBgenders_attrlist_create()\fR, and \fBgenders_vallist_create()\fR
return the number of elements the created list can store. On success,
\fBgenders_nodelist_clear()\fR, \fBgenders_attrlist_clear()\fR,
\fBgenders_vallist_clear()\fR \fBgenders_nodelist_destroy()\fR,
\fBgenders_attrlist_destroy()\fR, \fBgenders_vallist_destroy()\fR
return 0. On error, -1 is returned, and an error code is returned in
\fIhandle\fR. The error code can be retrieved via
.BR genders_errnum (3)
, and a description of the error code can be retrieved via
.BR genders_strerror (3).
Error codes are defined in genders.h.
.br
.SH ERRORS
.TP
.B GENDERS_ERR_NULLHANDLE
The \fIhandle\fR parameter is NULL. The genders handle must be
created with
.BR genders_handle_create (3).
.TP
.B GENDERS_ERR_NOTLOADED
.BR genders_load_data (3)
has not been called to load genders data. Before lists of appropriate
size can be created, the genders file must be read and parsed.
.TP
.B GENDERS_ERR_PARAMETERS
An incorrect parameter has been passed in.
.TP
.B GENDERS_ERR_NULLPTR
A null pointer has been found in the list passed in.
.TP
.B GENDERS_ERR_OUTMEM
.BR malloc (3)
has failed internally, system is out of memory.
.TP
.B GENDERS_ERR_MAGIC
\fIhandle\fR has an incorrect magic number. \fIhandle\fR does not
point to a genders handle or \fIhandle\fR has been destroyed by
.BR genders_handle_destroy (3).
.br
.SH FILES
/usr/include/genders.h
.SH SEE ALSO
libgenders(3), genders_handle_create(3), genders_load_data(3),
genders_getnodes(3), genders_getattr(3), genders_getattr_all(3),
genders_errnum(3), genders_strerror(3)
+26
View File
@@ -0,0 +1,26 @@
.\"############################################################################
.\" $Id: genders_nodelist_destroy.3,v 1.8 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.so man3/genders_nodelist_destroy.3
+73
View File
@@ -0,0 +1,73 @@
.\"############################################################################
.\" $Id: genders_parse.3,v 1.13 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.TH GENDERS_PARSE 3 "August 2003" "LLNL" "LIBGENDERS"
.SH NAME
genders_parse \- determine errors with a genders file
.SH SYNOPSIS
.B #include <genders.h>
.sp
.BI "int genders_parse(genders_t handle, const char *filename, FILE *stream);"
.br
.SH DESCRIPTION
\fBgenders_parse()\fR parses the genders file indicated by
\fIfilename\fR and outputs information to \fIstream\fR about parse
errors in the genders file. If \fIfilename\fR is NULL, the default
genders file will be checked. If \fIstream\fR is NULL, information
will be output to standard error.
.br
.SH RETURN VALUES
On success, the number of parse errors discovered is returned. If
there are no errors, 0 is returned. On error, -1 is returned, and an
error code is returned in \fIhandle\fR. The error code can be
retrieved via
.BR genders_errnum (3)
, and a description of the error code can be retrieved via
.BR genders_strerror (3).
Error codes are defined in genders.h.
.br
.SH ERRORS
.TP
.B GENDERS_ERR_NULLHANDLE
The \fIhandle\fR parameter is NULL. The genders handle must be created
with
.BR genders_handle_create (3).
.TP
.B GENDERS_ERR_OPEN
The genders file indicated by \fIfilename\fR cannot be opened for reading.
.TP
.B GENDERS_ERR_OVERFLOW
A line in the genders database exceeds the maximum allowed length.
.TP
.B GENDERS_ERR_MAGIC
\fIhandle\fR has an incorrect magic number. \fIhandle\fR does not
point to a genders handle or \fIhandle\fR has been destroyed by
.BR genders_handle_destroy (3).
.br
.SH FILES
/usr/include/genders.h
.SH SEE ALSO
libgenders(3), genders_handle_create(3), genders_errnum(3),
genders_strerror(3)
+26
View File
@@ -0,0 +1,26 @@
.\"############################################################################
.\" $Id: genders_perror.3,v 1.8 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.so man3/genders_errnum.3
+124
View File
@@ -0,0 +1,124 @@
.\"############################################################################
.\" $Id: genders_query.3,v 1.14 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.TH GENDERS_QUERY 3 "June 2004" "LLNL" "LIBGENDERS"
.SH NAME
genders_query \- query genders database for a set of nodes
.SH SYNOPSIS
.B #include <genders.h>
.sp
.BI "int genders_query(genders_t handle, char *nodes[], int len, const char *query);"
.br
.SH DESCRIPTION
\fBgenders_query()\fR queries the genders database for a set of nodes
based on the union, intersection, difference, or complement of genders
attributes and values. The query for a set of nodes is passed as a
string through the \fIquery\fR parameter. The set operation union is
represented by two pipe symbols ('||'), intersection by two ampersand
symbols ('&&'), difference by two minus symbols ('--'), and complement
by a tilde ('~'). Set operations are performed left to right.
Parentheses may be used to change the order of operations. A list of
query examples are listed below. A NULL query retrieves all nodes
from the genders database.
The nodes from the query are stored in the list pointed to
by \fInodes\fR. \fIlen\fR indicates the number of nodes that can be
stored in the list.
To avoid passing in a list that is not large enough to store all the
nodes,
.BR genders_getnumnodes (3)
should be used to determine the minimum number of elements \fInodes\fR
should be able to store.
.BR genders_nodelist_create (3)
could be used to create a list that is guaranteed to be large enough
to store all of the nodes.
.br
.SH EXAMPLES
The following are example queries that can be
passed to \fBgenders_query()\fR.
.LP
Determine the set of nodes with the mgmt or login attribute:
"mgmt||login"
.LP
Determine the set of nodes that are not login nodes:
"all--login"
.LP
Determine the set of nodes that both login nodes and ntp servers:
"login&&ntpserv"
.LP
Determine the set of nodes that are not mgmt or login nodes:
"~(mgmt||login)"
.SH RETURN VALUES
On success, the number of nodes stored in \fInodes\fR is returned. On
error, -1 is returned, and an error code is returned in \fIhandle\fR.
The error code can be retrieved via
.BR genders_errnum (3)
, and a description of the error code can be retrieved via
.BR genders_strerror (3).
Error codes are defined in genders.h.
.br
.SH ERRORS
.TP
.B GENDERS_ERR_NULLHANDLE
The \fIhandle\fR parameter is NULL. The genders handle must be
created with
.BR genders_handle_create (3).
.TP
.B GENDERS_ERR_NOTLOADED
.BR genders_load_data (3)
has not been called to load genders data.
.TP
.B GENDERS_ERR_OVERFLOW
The list pointed to by \fInodes\fR is not large enough to store all
the nodes.
.TP
.B GENDERS_ERR_PARAMETERS
An incorrect parameter has been passed in.
.TP
.B GENDERS_ERR_SYNTAX
There is a syntax error in the query.
.TP
.B GENDERS_ERR_OUTMEM
.BR malloc (3)
has failed internally, system is out of memory.
.TP
.B GENDERS_ERR_NULLPTR
A null pointer has been found in the list passed in.
.TP
.B GENDERS_ERR_MAGIC
\fIhandle\fR has an incorrect magic number. \fIhandle\fR does not
point to a genders handle or \fIhandle\fR has been destroyed by
.BR genders_handle_destroy (3).
.TP
.B GENDERS_ERR_INTERNAL
An internal system error has occurred.
.br
.SH FILES
/usr/include/genders.h
.SH SEE ALSO
libgenders(3), genders_handle_create(3), genders_load_data(3),
genders_getnumnodes(3), genders_nodelist_create(3), genders_errnum(3),
genders_strerror(3)
+26
View File
@@ -0,0 +1,26 @@
.\"############################################################################
.\" $Id: genders_strerror.3,v 1.8 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.so man3/genders_errnum.3
+103
View File
@@ -0,0 +1,103 @@
.\"############################################################################
.\" $Id: genders_testattr.3,v 1.15 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.TH GENDERS_TESTATTR 3 "August 2003" "LLNL" "LIBGENDERS"
.SH NAME
genders_testattr \- test if a node has an attribute
.SH SYNOPSIS
.B #include <genders.h>
.sp
.BI "int genders_testattr(genders_t handle, const char *node, const char *attr, char *val, int len);"
.sp
.BI "int genders_testattrval(genders_t handle, const char *node, const char *attr, const char *val);"
.br
.SH DESCRIPTION
\fBgenders_testattr()\fR tests if the node pointed to by \fInode\fR
contains the attribute pointed to by \fIattr\fR. If \fInode\fR is
NULL, the current node is tested. If the attribute is found, its
value is stored in the buffer pointed to by \fIval\fR. \fIlen\fR
should indicate the length of the buffer. If the attribute value is
not needed, \fIval\fR can be set to NULL.
To avoid passing in an attribute value buffer that is not large enough
to store the attribute value,
.BR genders_getmaxvallen (3)
should be used to determine the minimum buffer size that should be used.
\fBgenders_testattrval()\fR tests if the node pointed to by \fInode\fR
contains the attribute pointed to by \fIattr\fR and if that attribute
is equal to the attribute value pointed to by \fIval\fR. If \fIval\fR
is NULL, only the attribute is tested.
.br
.SH RETURN VALUES
For \fBgenders_testattr()\fR, if the node contains the attribute, 1 is
returned. 0 is returned if the node does not contain the attribute.
For \fBgenders_testattrval()\fR, if the node contains the attribute
and it is equal to the attribute value, 1 is returned. 0 is returned
if the node does not contain the attribute, or if the attribute is not
equal to the attribute value.
For both \fBgenders_testattr()\fR and \fBgenders_testattrval()\fR, -1
is returned on error, and an error code is returned in \fIhandle\fR.
The error code can be retrieved via
.BR genders_errnum (3)
, and a description of the error code can be retrieved via
.BR genders_strerror (3).
Error codes are defined in genders.h.
.br
.SH ERRORS
.TP
.B GENDERS_ERR_NULLHANDLE
The \fIhandle\fR parameter is NULL. The genders handle must be
created with
.BR genders_handle_create (3).
.TP
.B GENDERS_ERR_NOTLOADED
.BR genders_load_data (3)
has not been called to load genders data.
.TP
.B GENDERS_ERR_OVERFLOW
The buffer pointed to by \fIval\fR is not large enough to store the
attribute value.
.TP
.B GENDERS_ERR_PARAMETERS
An incorrect parameter has been passed in.
.TP
.B GENDERS_ERR_NOTFOUND
The node pointed to by \fInode\fR cannot be found in the genders file
or if \fInode\fR=NULL, the machine genders is running on is not listed
in the genders database.
.TP
.B GENDERS_ERR_MAGIC
\fIhandle\fR has an incorrect magic number. \fIhandle\fR does not
point to a genders handle or \fIhandle\fR has been destroyed by
.BR genders_handle_destroy (3).
.br
.SH FILES
/usr/include/genders.h
.SH SEE ALSO
libgenders(3), genders_handle_create(3), genders_load_data(3),
genders_getmaxvallen(3), genders_errnum(3), genders_strerror(3)
+26
View File
@@ -0,0 +1,26 @@
.\"############################################################################
.\" $Id: genders_testattrval.3,v 1.7 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.so man3/genders_testattr.3
+105
View File
@@ -0,0 +1,105 @@
.\"############################################################################
.\" $Id: genders_testquery.3,v 1.2 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.TH GENDERS_TESTQUERY 3 "June 2004" "LLNL" "LIBGENDERS"
.SH NAME
genders_testquery \- query genders database for a set of nodes
.SH SYNOPSIS
.B #include <genders.h>
.sp
.BI "int genders_testquery(genders_t handle, const char *node, const char *query);"
.br
.SH DESCRIPTION
\fBgenders_testquery()\fR tests if the node pointed to by \fInode\fR
meets the conditions specified in the query. If \fInode\fR is NULL,
the current node is tested. Queries are based on the union,
intersection, difference, or complement of genders attributes and
values. The query is passed as a string through the \fIquery\fR
parameter. The set operation union is represented by two pipe symbols
('||'), intersection by two ampersand symbols ('&&'), difference by
two minus symbols ('--'), and complement by a tilde ('~'). Set
operations are performed left to right. Parentheses may be used to
change the order of operations. A list of query examples are listed
below. A NULL query retrieves all nodes from the genders database.
.br
.SH EXAMPLES
The following are example queries that can be
passed to \fBgenders_testquery()\fR.
.LP
Test if a node contains the mgmt or login attribute:
"mgmt||login"
.LP
Test if a node is not a login node:
"all--login"
.LP
Test if a node is both a login node and ntp server:
"login&&ntpserv"
.LP
Test if a node is not a mgmt or login node:
"~(mgmt||login)"
.SH RETURN VALUES
If the node as met the conditions of the query, 1 is returned. 0 is
returned if the node does not meet the conditions of the query. On
error, -1 is returned, and an error code is returned in \fIhandle\fR.
The error code can be retrieved via
.BR genders_errnum (3)
, and a description of the error code can be retrieved via
.BR genders_strerror (3).
Error codes are defined in genders.h.
.br
.SH ERRORS
.TP
.B GENDERS_ERR_NULLHANDLE
The \fIhandle\fR parameter is NULL. The genders handle must be
created with
.BR genders_handle_create (3).
.TP
.B GENDERS_ERR_NOTLOADED
.BR genders_load_data (3)
has not been called to load genders data.
.TP
.B GENDERS_ERR_PARAMETERS
An incorrect parameter has been passed in.
.TP
.B GENDERS_ERR_SYNTAX
There is a syntax error in the query.
.TP
.B GENDERS_ERR_OUTMEM
.BR malloc (3)
has failed internally, system is out of memory.
.TP
.B GENDERS_ERR_MAGIC
\fIhandle\fR has an incorrect magic number. \fIhandle\fR does not
point to a genders handle or \fIhandle\fR has been destroyed by
.BR genders_handle_destroy (3).
.TP
.B GENDERS_ERR_INTERNAL
An internal system error has occurred.
.br
.SH FILES
/usr/include/genders.h
.SH SEE ALSO
libgenders(3), genders_handle_create(3), genders_load_data(3),
genders_errnum(3), genders_strerror(3)
+26
View File
@@ -0,0 +1,26 @@
.\"############################################################################
.\" $Id: genders_vallist_clear.3,v 1.8 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.so man3/genders_nodelist_create.3
+26
View File
@@ -0,0 +1,26 @@
.\"############################################################################
.\" $Id: genders_vallist_create.3,v 1.8 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.so man3/genders_nodelist_create.3
+26
View File
@@ -0,0 +1,26 @@
.\"############################################################################
.\" $Id: genders_vallist_destroy.3,v 1.8 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.so man3/genders_nodelist_create.3
+178
View File
@@ -0,0 +1,178 @@
.\"############################################################################
.\" $Id: libgenders.3,v 1.27 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.TH LIBGENDERS 3 "August 2003" "LLNL" "LIBGENDERS"
.SH NAME
libgenders \- a library of functions to parse and retrieve genders data
.SH SYNOPSIS
.B #include <genders.h>
.sp
.BI "genders_t genders_handle_create(void);"
.sp
.BI "int genders_handle_destroy(genders_t handle);"
.sp
.BI "int genders_load_data(genders_t handle, const char *filename);"
.sp
.BI "int genders_errnum(genders_t handle);"
.sp
.BI "char *genders_strerror(int errnum);"
.sp
.BI "char *genders_errormsg(genders_t handle);"
.sp
.BI "void genders_perror(genders_t handle, const char *msg);"
.sp
.BI "int genders_getnumnodes(genders_t handle);"
.sp
.BI "int genders_getnumattrs(genders_t handle);"
.sp
.BI "int genders_getmaxattrs(genders_t handle);"
.sp
.BI "int genders_getmaxnodelen(genders_t handle);"
.sp
.BI "int genders_getmaxattrlen(genders_t handle);"
.sp
.BI "int genders_getmaxvallen(genders_t handle);"
.sp
.BI "int genders_nodelist_create(genders_t handle, char ***nodelist);"
.sp
.BI "int genders_nodelist_clear(genders_t handle, char **nodelist);"
.sp
.BI "int genders_nodelist_destroy(genders_t handle, char **nodelist);"
.sp
.BI "int genders_attrlist_create(genders_t handle, char ***attrlist);"
.sp
.BI "int genders_attrlist_clear(genders_t handle, char **attrlist);"
.sp
.BI "int genders_attrlist_destroy(genders_t handle, char **attrlist);"
.sp
.BI "int genders_vallist_create(genders_t handle, char ***vallist);"
.sp
.BI "int genders_vallist_clear(genders_t handle, char **vallist);"
.sp
.BI "int genders_vallist_destroy(genders_t handle, char **vallist);"
.sp
.BI "int genders_getnodename(genders_t handle, char *node, int len);"
.sp
.BI "int genders_getnodes(genders_t handle, char *nodes[], int len, const char *attr, const char *val);"
.sp
.BI "int genders_getattr(genders_t handle, char *attrs[], char *vals[], int len, const char *node);"
.sp
.BI "int genders_getattr_all(genders_t handle, char *attrs[], int len);"
.sp
.BI "int genders_testattr(genders_t handle, const char *node, const char *attr, char *val, int len);"
.sp
.BI "int genders_testattrval(genders_t handle, const char *node, const char *attr, const char *val);"
.sp
.BI "int genders_isnode(genders_t handle, const char *node);"
.sp
.BI "int genders_isattr(genders_t handle, const char *attr);"
.sp
.BI "int genders_isattrval(genders_t handle, const char *attr, const char *val);"
.sp
.BI "int genders_index_attrvals(genders_t handle, const char *attr);"
.sp
.BI "int genders_query(genders_t handle, char *nodes[], int len, const char *query);"
.sp
.BI "int genders_testquery(genders_t handle, const char *node, const char *query);"
.sp
.BI "int genders_parse(genders_t handle, const char *filename, FILE *stream);"
.br
.SH DESCRIPTION
The genders library functions are a set of functions used to parse and
retrieve data from a genders file. For API details, please see the
individual manpages for each of the functions above, or read the
comments written in /usr/include/genders.h.
.br
.SH GENDERS FILE FORMAT
Each line of the genders file has one of the following formats. See
the section HOST RANGES below for information on host range
formatting.
nodename attr[=value],attr[=value],...
nodename1,nodename2,... attr[=value],attr[=value],...
nodenames[A-B] attr[=value],attr[=value],...
The nodename(s) are the shortened hostnames of a node. This is
followed by any number of spaces or tabs, and then the comma-separated
list of attributes, each of which can optionally have a value. The
substitution string "%n" can be used in an attribute value to
represent the nodename. Nodenames can be listed on multiple lines, so
a node's attributes can be specified on multiple lines. However, no
single node may have duplicate attributes.
There must be no spaces embedded in the attribute list and there is no
provision for continuation lines. Commas and equal characters are
special and cannot appear in attribute names or their values.
Comments are prefixed with the hash chracter (#) and can appear
anywhere in the file. The active genders file is typically found at
/etc/genders or /admin/etc/genders.
Here is an example genders file from a small 16-node linux cluster:
# slc cluster genders file
slci,slcj,slc[0-15] eth2=e%n,cluster=slc,all
slci passwdhost
slci,slcj management
slc[1-15] compute
.SH "HOST RANGES"
As noted in sections above, the genders database
accepts ranges of nodenames in the general form: prefix[n-m,l-k,...],
where n < m and l < k, etc., as an alternative to explicit lists of
nodenames.
This range syntax is meant only as a convenience on clusters with a
prefixNN naming convention and specification of ranges should not be
considered necessary -- the list foo1,foo9 could be specified as such,
or by the range foo[1,9].
Some examples of range usage follow:
foo01,foo02,foo03,foo04,foo05: foo[01-05]
foo3,foo7,foo9,foo11: foo[3,7,9-11]
fooi,fooj,foo0,foo1,foo2: fooi,fooj,foo[0-2]
.SH FILES
/usr/include/genders.h
.sp
/etc/genders
.SH SEE ALSO
Libgenders(3), Genders(3), genders_handle_create(3),
genders_handle_destroy(3), genders_load_data(3), genders_errnum(3),
genders_strerror(3), genders_errormsg(3), genders_perror(3),
genders_getnumnodes(3), genders_getnumattrs(3),
genders_getmaxattrs(3), genders_getmaxnodelen(3),
genders_getmaxattrlen(3), genders_getmaxvallen(3),
genders_nodelist_create(3), genders_nodelist_clear(3),
genders_nodelist_destroy(3), genders_attrlist_create(3),
genders_attrlist_clear(3), genders_attrlist_destroy(3),
genders_vallist_create(3), genders_vallist_clear(3),
genders_vallist_destroy(3), genders_getnodename(3),
genders_getnodes(3), genders_getattr(3), genders_getattr_all(3),
genders_testattr(3), genders_testattrval(3), genders_testnode(3),
genders_index_nodes(3), genders_index_attrs(3), genders_index_attrvals(3),
genders_query(3), genders_testquery(3), genders_parse(3)
+296
View File
@@ -0,0 +1,296 @@
.\"############################################################################
.\" $Id: nodeattr.1,v 1.24 2010-02-02 00:04:34 chu11 Exp $
.\"############################################################################
.\" Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
.\" Copyright (C) 2001-2007 The Regents of the University of California.
.\" Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.\" Written by Jim Garlick <garlick@llnl.gov> and Albert Chu <chu11@llnl.gov>.
.\" UCRL-CODE-2003-004.
.\"
.\" This file is part of Genders, a cluster configuration database.
.\" For details, see <http://www.llnl.gov/linux/genders/>.
.\"
.\" Genders is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 2 of the License, or (at your option)
.\" any later version.
.\"
.\" Genders is distributed in the hope that it will be useful, but WITHOUT ANY
.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
.\" details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with Genders. If not, see <http://www.gnu.org/licenses/>.
.\"############################################################################
.\"
.\" Author: Jim Garlick
.\" Adapted from IBM SP version for linux 4/00.
.\"
.TH NODEATTR 1 "August 2003" "LLNL" "NODEATTR"
.SH NAME
nodeattr \- query genders file
.SH SYNOPSIS
.B nodeattr
.I "[-f genders] [-q | -c | -n | -s] [-X exclude_query] query"
.br
.B nodeattr
.I "[-f genders] [-q | -c | -n | -s] -A"
.br
.B nodeattr
.I "[-f genders] [-v] [node] attr[=val]"
.br
.B nodeattr
.I "[-f genders] -Q [node] query"
.br
.B nodeattr
.I "[-f genders] -V [-U] attr"
.br
.B nodeattr
.I "[-f genders] -l [node]"
.br
.B nodeattr
.I "[-f genders] -k"
.br
.B nodeattr
.I "[-f genders] -d genders"
.br
.B nodeattr
.I "[-f genders] --expand"
.br
.B nodeattr
.I "[-f genders] --compress"
.br
.B nodeattr
.I "[-f genders] --compress-hosts"
.br
.SH DESCRIPTION
When invoked with the
.I "-q"
,
.I "-c"
,
.I "-n"
, or
.I "-s"
arguments,
.B nodeattr
reads the genders file and outputs a list of nodes that match the
specified query. The nodes are listed in hostlist format, comma
separated lists, newline separated lists, or space separated lists
respectively. The
.I "-q"
form is returned by default. Genders queries will query the genders database for a set
of nodes based on the union, intersection, difference, or complement of genders
attributes and values. The set operation union is represented by two pipe
symbols ('||'), intersection by two ampersand symbols ('&&'), difference by two
minus symbols ('--'), and
complement by a tilde ('~'). Parentheses may be used to change the order of
operations.
The
.I "-X"
argument and query can be used to exclude nodes from the resulting
output. A query can be replaced with the
.I "-A"
option to cause
.B nodeattr
to print all the nodes listed in the genders database.
.LP
When called with a node name (optional) and attribute name,
.B nodeattr
returns \fI0\fR to the environment if the node has the attribute; else
\fI1\fR. If \fI-v\fR is present, the attribute name and any value
(see below) is printed on the standard output. If a node name is not
specified, the local host is assumed.
.LP
When called with the
.I "-Q"
argument,
.B nodeattr
will check if the node name (optional) is met by the attribute and
value conditions specified in the query. If the conditions are met,
.B nodeattr
returns \fI0\fR to the environment; else \fI1\fR. The query format is
identical to the format listed above. If a node name is not
specified, the local host is assumed.
.LP
The
.I "-V"
option causes
.B nodeattr
to print all of the values that exist for a particular attribute.
Also specifing
.I "-U"
with
.I "-V"
causes
.B nodeattr
to print out only unique values for the particular attribute.
.LP
The
.I "-l"
option causes
.B nodeattr
to print all of the attributes of the specified node or list of nodes. If no
node is listed, all attributes in the genders file are listed.
.LP
The
.I "-k"
option checks the genders file for parse errors and proper formatting.
If errors are found, information about the error will be output to
standard error.
.LP
.B Nodeattr
will always check the default genders file, but a different genders
file can be specified with the
.I "-f"
option.
.LP
The
.I "-d"
option allows the specified genders database to be compared to the
filename indicated by the
.I -f
option or the default genders database. The differences contained in
the specified database will be output to standard error.
Attribute names may optionally appear in the genders file with an
equal sign followed by a value.
.B Nodeattr
ignores these values except when the
.I -v
option requests that the value, if any, be displayed; and when an
attribute is specified on the command line with a value, in which case
only an attribute with the specified value in the genders file will
match.
.LP
For
.I "--expand"
.I "--compress"
.I "--compress-attrs"
.I "--compress-hosts"
see HOSTRANGE EXPANSION AND COMPRESSION below.
.LP
.SH HOSTRANGE EXPANSION AND COMPRESSION
The
.I "--expand"
option will take a genders database, expand all hostranges, and output
a new genders database. The subsequent database will be identical to
the first, but every node will be listed on a separate line. This
option may be useful for debugging or determining the difference
between databases.
.LP
The
.I "--compress"
option is the opposite of the
.I "--expand"
option. It will output a new identical genders database with
hostranges of nodes with identical attributes. Depending on the setup
of your genders database, the resulting database may be longer or
shorter. This option may be useful as a beginning step to compressing
an existing genders database.
.LP
The
.I "--compress-hosts"
option is similar to the
.I "--compress"
option. With
.I "--compress"
a given attr only appears once. With
.I "--compress-hosts"
a given node only appears once. The
.I "--compress-hosts"
option combines attributes for each node first and then groups nodes
with identical attribute sets rather than creating a group of nodes for each
attribute and then merging common groups. This is useful for identifying
"different" nodes. For example:
.LP
for the genders file:
cluster[1-20] attr1,attr2
cluster10 attr3
cluster20 attr3
cluster[2,5,10] attr4
cluster[7,20] attr5
.LP
The
.B
nodeattr
--compress
command produces:
cluster[2,5,10] attr4
cluster[10,20] attr3
cluster[7,20] attr5
cluster[1-20] attr1,attr2
.LP
Where
.B
nodeattr
--compress-hosts
produces:
cluster[1,3-4,6,8-9,11-19] attr1,attr2
cluster[2,5] attr1,attr2,attr4
cluster10 attr1,attr2,attr3,attr4
cluster20 attr1,attr2,attr3,attr5
cluster7 attr1,attr2,attr5
.LP
In the
.I "--compress"
output, cluster7 appears in the third and fourth lines because it is a member of
ranges with attr1,attr2 and ranges with attr5. In the
.I "--compress-hosts"
output, cluster7 appears on a new line because there are no other nodes with
the same combination of attributes.
.LP
The
.I "--compress-attrs"
option is identical to
.I "--compress"
\&. It was added for consistency when
.I "--compress-hosts"
was added.
.SH EXAMPLES
.LP
Retrieve a comma separated list of all login nodes:
.IP
nodeattr -c login
.LP
Retrieve a hostlist formatted list of all login nodes:
.IP
nodeattr -q login
.LP
Retrieve a comma separated list of nodes with 4 cpus:
.IP
nodeattr -c cpus=4
.LP
Retrieve a comma separated list of all login and management nodes:
.IP
nodeattr -c "login||mgmt"
.LP
Retrieve a comma separated list of all login nodes with 4 cpus:
.IP
nodeattr -c "login&&cpus=4"
.LP
Retrieve a comma separated list of all nodes that are not login or management nodes:
.IP
nodeattr -c "~(login||mgmt)"
.LP
To use nodeattr with pdsh to run a command on all fddi nodes:
.IP
pdsh -w\`nodeattr -c fddi\` command
.LP
To use nodeattr in a ksh script to collect a list of users on login nodes:
.IP
for i in \`nodeattr -n login\`; do rsh $i who; done
.LP
To verify whether or not this node is a head node:
.IP
nodeattr head && echo yes
.LP
To verify whether or not this node is a head node and ntpserver:
.IP
nodeattr -Q "head&&ntpserver" && echo yes
.LP
.SH "FILES"
/etc/genders
.br
.SH "SEE ALSO"
libgenders(3)