Inital commit

This commit is contained in:
Olof hagsand 2016-02-22 22:17:30 +01:00
parent edc5e091bb
commit d6e393ea58
145 changed files with 58117 additions and 0 deletions

49
etc/Makefile.in Normal file
View file

@ -0,0 +1,49 @@
#
# Makefile
#
# Copyright (C) 2009-2016 Olof Hagsand and Benny Holmgren
#
# This file is part of CLICON.
#
# CLICON 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 3 of the License, or
# (at your option) any later version.
#
# CLICON 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 CLICON; see the file COPYING. If not, see
# <http://www.gnu.org/licenses/>.
#
#
VPATH = @srcdir@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
prefix = @prefix@
bindir = @bindir@
localstatedir = @localstatedir@
sysconfdir = @sysconfdir@
INSTALL = @INSTALL@
all:
@echo " "
clean:
distclean: clean
rm -f Makefile *~ .depend cliconrc
install: cliconrc
install -m 755 -d $(DESTDIR)$(sysconfdir)
install -m 755 cliconrc $(DESTDIR)$(sysconfdir)
install-include:
uninstall:
depend:

14
etc/README Normal file
View file

@ -0,0 +1,14 @@
This directory contains etc files. cliconrc is a script file that can be used to
setup a shell environment if clicon is installed in a non-standard place.
It sets up path and dynamic library links.
Example:
> tar xzf clicon.tgz
> cd clicon
> ./configure --prefix=/hello
> make
> make install
> make install-include
> cd
> source /hello/etc/cliconrc
> clicon_config
> clicon_cli

13
etc/cliconrc.in Normal file
View file

@ -0,0 +1,13 @@
# local variables may be needed below
prefix=@prefix@
exec_prefix=@exec_prefix@
# Path to binaries
export PATH=$PATH:@bindir@
# Path to config daemon
export PATH=$PATH:@sbindir@
# Path to dynamic libraries
export LD_LIBRARY_PATH=@libdir@:$LD_LIBRARY_PATH