Add More standards for I-Nex
This commit is contained in:
parent
3dfdf0452c
commit
8a93e936b5
|
@ -0,0 +1,41 @@
|
|||
#!/usr/bin/make -f
|
||||
include ../i-nex.mk
|
||||
|
||||
make-binary:
|
||||
@echo -e '\033[1;32mCompile i-nex-edid\033[0m'
|
||||
$(CC) -o i-nex-edid i-nex-edid.c $(CFLAGS) $(additional_confflags)
|
||||
@echo -e '\033[1;32mCompile i-nex-cpuid\033[0m'
|
||||
$(CC) -o i-nex-cpuid i-nex-cpuid.c -static $(CC_OPTS_LIBCPUID) $(additional_confflags)
|
||||
@echo -e '\033[1;32mCompile i-nex-usage\033[0m'
|
||||
$(CC) -o i-nex-usage i-nex-usage.c -static $(CC_OPTS_LIBPROCPS) $(additional_confflags)
|
||||
@echo -e '\033[1;32mCompile i-nex-cpusage\033[0m'
|
||||
$(CC) -o i-nex-cpusage i-nex-cpusage.c $(additional_confflags)
|
||||
@echo -e '\033[1;32mCompile i-nex-glinfo\033[0m'
|
||||
$(CC) -o i-nex-glinfo i-nex-glinfo.c $(libx11) $(libgl) $(libxext) $(additional_confflags)
|
||||
@echo -e '\033[1;32mCompile i-nex-uname\033[0m'
|
||||
$(CC) -o i-nex-uname i-nex-uname.c $(additional_confflags)
|
||||
|
||||
install-bin:
|
||||
|
||||
mkdir -p $(DESTDIR)$(bindir)
|
||||
chmod +x i-nex-edid
|
||||
chmod +x i-nex-cpuid
|
||||
chmod +x i-nex-usage
|
||||
chmod +x i-nex-cpusage
|
||||
chmod +x i-nex-glinfo
|
||||
chmod +x i-nex-uname
|
||||
$(INSTALL) 0755 i-nex-edid $(DESTDIR)$(bindir)
|
||||
$(INSTALL) 0755 i-nex-cpuid $(DESTDIR)$(bindir)
|
||||
$(INSTALL) 0755 i-nex-usage $(DESTDIR)$(bindir)
|
||||
$(INSTALL) 0755 i-nex-cpusage $(DESTDIR)$(bindir)
|
||||
$(INSTALL) 0755 i-nex-glinfo $(DESTDIR)$(bindir)
|
||||
$(INSTALL) 0755 i-nex-uname $(DESTDIR)$(bindir)
|
||||
clean:
|
||||
$(RM_COM) $(RMFILE_OPT) i-nex-edid
|
||||
$(RM_COM) $(RMFILE_OPT) i-nex-cpuid
|
||||
$(RM_COM) $(RMFILE_OPT) i-nex-usage
|
||||
$(RM_COM) $(RMFILE_OPT) i-nex-cpusage
|
||||
$(RM_COM) $(RMFILE_OPT) i-nex-glinfo
|
||||
$(RM_COM) $(RMFILE_OPT) i-nex-uname
|
||||
|
||||
install: make-binary install-bin
|
113
Makefile
113
Makefile
|
@ -1,81 +1,11 @@
|
|||
#!/usr/bin/make -f
|
||||
GIT_RV = $(shell git rev-list HEAD | wc -l)
|
||||
BUILD_PACKAGE = $(shell ./build-deb)
|
||||
PKG_INSTALL = apt-get install
|
||||
AS_ROOT = sudo
|
||||
CFLAGS = -g -Wall
|
||||
LSB_CS = $(shell lsb_release -cs)
|
||||
CC_OPTS_LIBCPUID = $(shell pkg-config libcpuid --cflags --libs)
|
||||
libgl = $(shell pkg-config gl --cflags --libs)
|
||||
libx11 = $(shell pkg-config x11 --cflags --libs)
|
||||
libxext = $(shell pkg-config xext --cflags --libs)
|
||||
GBC = /usr/bin/gbc3
|
||||
GBCOPTS = -eagtpm
|
||||
GBA = gba3
|
||||
CC = gcc
|
||||
ARCH=$(shell uname -m)
|
||||
bindir ?= /usr/bin
|
||||
INSTALL = install -m
|
||||
bzr_revision =
|
||||
BUILD_SELF_EXECUTABLE = ./build-selfexecutable
|
||||
RM_COM = rm
|
||||
RMFILE_OPT = -f
|
||||
RMDIR_OPT = -Rf
|
||||
COMPRESSION_SELF_LEVEL = 9
|
||||
MAKESELF = ./makeself.sh
|
||||
MAKESELF_OPT = --nowait
|
||||
APP_NAME= I-Nex
|
||||
INSTALL_SELF_SCRIPT = ./install-self
|
||||
ifeq ($(ARCH),x86)
|
||||
additional_confflags := --disable-sse2
|
||||
endif
|
||||
ifeq ($(ARCH),x86_64)
|
||||
additional_confflags := -O2
|
||||
endif
|
||||
ifeq ($(LSB_CS),precise)
|
||||
CC_OPTS_LIBPROCPS = -lproc
|
||||
else
|
||||
CC_OPTS_LIBPROCPS = $(shell pkg-config libprocps --cflags --libs)
|
||||
endif
|
||||
dependency_build ?= git \
|
||||
devscripts \
|
||||
pkg-config \
|
||||
dpkg-dev \
|
||||
gambas3-dev \
|
||||
gambas3-gb-image \
|
||||
gambas3-gb-gtk \
|
||||
gambas3-gb-form \
|
||||
gambas3-gb-desktop \
|
||||
gambas3-gb-form-stock \
|
||||
dpkg \
|
||||
grep \
|
||||
mount \
|
||||
procps \
|
||||
x11-xserver-utils \
|
||||
lsb-release \
|
||||
bash \
|
||||
coreutils \
|
||||
sed \
|
||||
pciutils \
|
||||
x11-utils \
|
||||
mesa-utils \
|
||||
hostname \
|
||||
libcpuid11 \
|
||||
libprocps0-dev
|
||||
include i-nex.mk
|
||||
|
||||
make:
|
||||
@printf "\033[1;31mCompile edid-decode as inex-decode \033[0m$1\n"
|
||||
$(CC) -o i-nex-edid JSON/i-nex-edid.c $(CFLAGS) $(additional_confflags)
|
||||
$(CC) -o i-nex-cpuid JSON/i-nex-cpuid.c -static $(CC_OPTS_LIBCPUID) $(additional_confflags)
|
||||
$(CC) -o i-nex-usage JSON/i-nex-usage.c -static $(CC_OPTS_LIBPROCPS) $(additional_confflags)
|
||||
$(CC) -o i-nex-cpusage JSON/i-nex-cpusage.c $(additional_confflags)
|
||||
$(CC) -o i-nex-glinfo JSON/i-nex-glinfo.c $(libx11) $(libgl) $(libxext) $(additional_confflags)
|
||||
$(CC) -o i-nex-uname JSON/i-nex-uname.c $(additional_confflags)
|
||||
@printf "\033[1;31mCompile src/i-nex stage 1 \033[0m$1\n"
|
||||
$(GBC) $(GBCOPTS) src/i-nex
|
||||
@printf "\033[1;31mCompile src/i-nex stage 2 \033[0m$1\n"
|
||||
$(GBA) src/i-nex
|
||||
build-inex:
|
||||
./src/configure
|
||||
$(MAKE) -C src
|
||||
$(MAKE) -C pixmaps
|
||||
$(MAKE) -C JSON
|
||||
|
||||
deb:
|
||||
|
||||
|
@ -114,12 +44,9 @@ self:
|
|||
$(INSTALL) 0755 debian/i-nex.desktop inex/usr/share/applications/
|
||||
$(INSTALL) 0755 debian/check_kernel inex/usr/bin/
|
||||
$(INSTALL) 0755 debian/i-nex-lspci inex/usr/bin/
|
||||
$(INSTALL) 0755 I-Nex.LICENSE inex/usr/share/doc/i-nex/
|
||||
$(INSTALL) 0755 Pastebinit.LICENSE inex/usr/share/i-nex/pastebinit/
|
||||
$(INSTALL) 0755 pastebin.d/* inex/usr/share/i-nex/pastebinit/pastebin.d/
|
||||
$(INSTALL) 0755 pastebinit inex/usr/share/i-nex/pastebinit/
|
||||
$(INSTALL) 0755 pastebinit.xml inex/usr/share/i-nex/pastebinit/
|
||||
$(INSTALL) 0755 README inex/usr/share/i-nex/pastebinit/
|
||||
$(INSTALL) 0755 release.conf inex/usr/share/i-nex/pastebinit/
|
||||
$(INSTALL) 0775 usr/bin/gbx3 inex/usr/bin/gbx3
|
||||
$(INSTALL) 0775 usr/bin/gbr3 inex/usr/bin/gbr3
|
||||
|
@ -164,12 +91,6 @@ self:
|
|||
|
||||
clean:
|
||||
|
||||
$(RM_COM) $(RMFILE_OPT) i-nex-edid
|
||||
$(RM_COM) $(RMFILE_OPT) i-nex-cpuid
|
||||
$(RM_COM) $(RMFILE_OPT) i-nex-usage
|
||||
$(RM_COM) $(RMFILE_OPT) i-nex-cpusage
|
||||
$(RM_COM) $(RMFILE_OPT) i-nex-glinfo
|
||||
$(RM_COM) $(RMFILE_OPT) i-nex-uname
|
||||
$(RM_COM) $(RMDIR_OPT) `find . -name ".gambas"`
|
||||
$(RM_COM) $(RMDIR_OPT) `find . -name "*.gambas"`
|
||||
$(RM_COM) $(RMDIR_OPT) `find . -name ".directory"`
|
||||
|
@ -189,37 +110,24 @@ clean:
|
|||
$(RM_COM) $(RMDIR_OPT) debian/changelog1
|
||||
$(RM_COM) $(RMDIR_OPT) inex
|
||||
$(RM_COM) $(RMDIR_OPT) usr
|
||||
$(MAKE) -C src distclean
|
||||
$(MAKE) -C pixmaps clean
|
||||
$(MAKE) -C JSON clean
|
||||
|
||||
install:
|
||||
mkdir -p $(DESTDIR)$(bindir)
|
||||
mkdir -p $(DESTDIR)/usr/share/pixmaps/
|
||||
mkdir -p $(DESTDIR)/usr/share/applications/
|
||||
mkdir -p $(DESTDIR)/usr/share/doc/i-nex/
|
||||
mkdir -p $(DESTDIR)/usr/share/i-nex/pastebinit/
|
||||
mkdir -p $(DESTDIR)/usr/share/i-nex/pastebinit/pastebin.d/
|
||||
chmod +x i-nex
|
||||
chmod +x i-nex-edid
|
||||
chmod +x i-nex-cpuid
|
||||
chmod +x i-nex-usage
|
||||
chmod +x i-nex-cpusage
|
||||
chmod +x i-nex-glinfo
|
||||
chmod +x i-nex-uname
|
||||
chmod +x debian/check_kernel
|
||||
chmod +x debian/i-nex-lspci
|
||||
$(INSTALL) 0755 i-nex $(DESTDIR)$(bindir)
|
||||
$(INSTALL) 0755 i-nex-edid $(DESTDIR)$(bindir)
|
||||
$(INSTALL) 0755 i-nex-cpuid $(DESTDIR)$(bindir)
|
||||
$(INSTALL) 0755 i-nex-usage $(DESTDIR)$(bindir)
|
||||
$(INSTALL) 0755 i-nex-cpusage $(DESTDIR)$(bindir)
|
||||
$(INSTALL) 0755 i-nex-glinfo $(DESTDIR)$(bindir)
|
||||
$(INSTALL) 0755 i-nex-uname $(DESTDIR)$(bindir)
|
||||
$(INSTALL) 0755 src/i-nex/i-nex.gambas $(DESTDIR)$(bindir)
|
||||
$(INSTALL) 0755 debian/i-nex.desktop $(DESTDIR)/usr/share/applications/
|
||||
$(INSTALL) 0755 debian/check_kernel $(DESTDIR)/usr/bin/
|
||||
$(INSTALL) 0755 debian/i-nex-lspci $(DESTDIR)/usr/bin/
|
||||
$(INSTALL) 0755 I-Nex.LICENSE $(DESTDIR)/usr/share/doc/i-nex/
|
||||
$(INSTALL) 0755 Pastebinit.LICENSE $(DESTDIR)/usr/share/i-nex/pastebinit/
|
||||
$(INSTALL) 0755 pastebin.d/* $(DESTDIR)/usr/share/i-nex/pastebinit/pastebin.d/
|
||||
$(INSTALL) 0755 pastebinit $(DESTDIR)/usr/share/i-nex/pastebinit/
|
||||
$(INSTALL) 0755 pastebinit.xml $(DESTDIR)/usr/share/i-nex/pastebinit/
|
||||
|
@ -227,6 +135,9 @@ install:
|
|||
$(INSTALL) 0755 release.conf $(DESTDIR)/usr/share/i-nex/pastebinit/
|
||||
$(MAKE) -C pixmaps install
|
||||
$(MAKE) -C changelogs install
|
||||
$(MAKE) -C manpages install
|
||||
$(MAKE) -C docs install
|
||||
$(MAKE) -C JSON install
|
||||
|
||||
uninstall:
|
||||
|
||||
|
@ -262,4 +173,6 @@ rmgambas:
|
|||
$(RM_COM) $(RMFILE_OPT) /usr/lib/gambas3/gb.gui.opengl.so
|
||||
$(RM_COM) $(RMFILE_OPT) /usr/lib/gambas3/gb.gui.so
|
||||
$(RM_COM) $(RMFILE_OPT) /usr/lib/gambas3/gb.image.so
|
||||
$(RM_COM) $(RMFILE_OPT) /usr/lib/gambas3/gb.qt4.so
|
||||
$(RM_COM) $(RMFILE_OPT) /usr/lib/gambas3/gb.qt4.so
|
||||
|
||||
make: build-inex
|
|
@ -1,14 +1,33 @@
|
|||
#!/usr/bin/make -f
|
||||
INSTALL = install -m
|
||||
install:
|
||||
$(INSTALL) 0755 changelog-0.4.6 $(DESTDIR)/usr/share/doc/i-nex/
|
||||
$(INSTALL) 0755 changelog-0.4.8 $(DESTDIR)/usr/share/doc/i-nex/
|
||||
$(INSTALL) 0755 changelog-0.4.8.1 $(DESTDIR)/usr/share/doc/i-nex/
|
||||
$(INSTALL) 0755 changelog-0.5.0 $(DESTDIR)/usr/share/doc/i-nex/
|
||||
$(INSTALL) 0755 changelog-0.5.1 $(DESTDIR)/usr/share/doc/i-nex/
|
||||
$(INSTALL) 0755 changelog-0.5.2 $(DESTDIR)/usr/share/doc/i-nex/
|
||||
$(INSTALL) 0755 changelog-0.5.4 $(DESTDIR)/usr/share/doc/i-nex/
|
||||
$(INSTALL) 0755 changelog-0.5.6 $(DESTDIR)/usr/share/doc/i-nex/
|
||||
$(INSTALL) 0755 changelog-0.5.8 $(DESTDIR)/usr/share/doc/i-nex/
|
||||
$(INSTALL) 0755 changelog-0.6.0 $(DESTDIR)/usr/share/doc/i-nex/
|
||||
$(INSTALL) 0755 changelog-0.6.2 $(DESTDIR)/usr/share/doc/i-nex/
|
||||
VERSION = $(shell grep 'Version=' ../src/i-nex/.project | cut -d '=' -f 2)
|
||||
PN = i-nex
|
||||
|
||||
PREFIX ?= /usr
|
||||
DOCDIR = $(PREFIX)/share/doc/$(PN)-$(VERSION)
|
||||
|
||||
install-changelogs:
|
||||
@echo -e '\033[1;32mInstalling Changelogs...\033[0m'
|
||||
install -Dm644 changelog-0.4.6 "$(DESTDIR)$(DOCDIR)/changelog-0.4.6"
|
||||
install -Dm644 changelog-0.4.8 "$(DESTDIR)$(DOCDIR)/changelog-0.4.8"
|
||||
install -Dm644 changelog-0.4.8.1 "$(DESTDIR)$(DOCDIR)/changelog-0.4.8.1"
|
||||
install -Dm644 changelog-0.5.0 "$(DESTDIR)$(DOCDIR)/changelog-0.5.0"
|
||||
install -Dm644 changelog-0.5.1 "$(DESTDIR)$(DOCDIR)/changelog-0.5.1"
|
||||
install -Dm644 changelog-0.5.2 "$(DESTDIR)$(DOCDIR)/changelog-0.5.2"
|
||||
install -Dm644 changelog-0.5.4 "$(DESTDIR)$(DOCDIR)/changelog-0.5.4"
|
||||
install -Dm644 changelog-0.5.6 "$(DESTDIR)$(DOCDIR)/changelog-0.5.6"
|
||||
install -Dm644 changelog-0.5.8 "$(DESTDIR)$(DOCDIR)/changelog-0.5.8"
|
||||
install -Dm644 changelog-0.6.0 "$(DESTDIR)$(DOCDIR)/changelog-0.6.0"
|
||||
install -Dm644 changelog-0.6.2 "$(DESTDIR)$(DOCDIR)/changelog-0.6.2"
|
||||
gzip -9 "$(DESTDIR)$(DOCDIR)/changelog-0.4.6"
|
||||
gzip -9 "$(DESTDIR)$(DOCDIR)/changelog-0.4.8"
|
||||
gzip -9 "$(DESTDIR)$(DOCDIR)/changelog-0.4.8.1"
|
||||
gzip -9 "$(DESTDIR)$(DOCDIR)/changelog-0.5.0"
|
||||
gzip -9 "$(DESTDIR)$(DOCDIR)/changelog-0.5.1"
|
||||
gzip -9 "$(DESTDIR)$(DOCDIR)/changelog-0.5.2"
|
||||
gzip -9 "$(DESTDIR)$(DOCDIR)/changelog-0.5.4"
|
||||
gzip -9 "$(DESTDIR)$(DOCDIR)/changelog-0.5.6"
|
||||
gzip -9 "$(DESTDIR)$(DOCDIR)/changelog-0.5.8"
|
||||
gzip -9 "$(DESTDIR)$(DOCDIR)/changelog-0.6.0"
|
||||
gzip -9 "$(DESTDIR)$(DOCDIR)/changelog-0.6.2"
|
||||
|
||||
install: install-changelogs
|
|
@ -1,14 +0,0 @@
|
|||
debian/copyright
|
||||
debian/changelog
|
||||
changelogs/changelog-0.4.6
|
||||
changelogs/changelog-0.4.8
|
||||
changelogs/changelog-0.4.8.1
|
||||
changelogs/changelog-0.5.0
|
||||
changelogs/changelog-0.5.1
|
||||
changelogs/changelog-0.5.2
|
||||
changelogs/changelog-0.5.4
|
||||
changelogs/changelog-0.5.6
|
||||
changelogs/changelog-0.5.8
|
||||
changelogs/changelog-0.6.2
|
||||
Pastebinit.LICENSE
|
||||
I-Nex.LICENSE
|
|
@ -5,6 +5,5 @@ debian/i-nex-lspci usr/bin
|
|||
pastebin.d usr/share/i-nex/pastebinit
|
||||
pastebinit usr/share/i-nex/pastebinit
|
||||
pastebinit.xml usr/share/i-nex/pastebinit
|
||||
README usr/share/i-nex/pastebinit
|
||||
release.conf usr/share/i-nex/pastebinit
|
||||
i-nex usr/bin
|
|
@ -1,8 +0,0 @@
|
|||
debian/manpages/check_kernel.1
|
||||
debian/manpages/i-nex.1
|
||||
debian/manpages/i-nex-cpuid.1
|
||||
debian/manpages/i-nex-cpusage.1
|
||||
debian/manpages/i-nex-edid.1
|
||||
debian/manpages/i-nex.gambas.1
|
||||
debian/manpages/i-nex-lspci.1
|
||||
debian/manpages/i-nex-usage.1
|
|
@ -6,11 +6,11 @@ override_dh_pysupport:
|
|||
override_dh_builddeb:
|
||||
dh_builddeb -- -z9 -Zxz
|
||||
override_dh_installman:
|
||||
dh_installman debian/manpages/check_kernel.1 -p i-nex
|
||||
dh_installman debian/manpages/i-nex-lspci.1 -p i-nex
|
||||
dh_installman debian/manpages/i-nex.1 -p i-nex
|
||||
dh_installman debian/manpages/i-nex.gambas.1 -p i-nex
|
||||
dh_installman debian/manpages/i-nex-edid.1 -p i-nex
|
||||
dh_installman debian/manpages/i-nex-cpuid.1 -p i-nex
|
||||
dh_installman debian/manpages/i-nex-usage.1 -p i-nex
|
||||
dh_installman debian/manpages/i-nex-cpusage.1 -p i-nex
|
||||
dh_installman manpages/check_kernel.1 -p i-nex
|
||||
dh_installman manpages/i-nex-lspci.1 -p i-nex
|
||||
dh_installman manpages/i-nex.1 -p i-nex
|
||||
dh_installman manpages/i-nex.gambas.1 -p i-nex
|
||||
dh_installman manpages/i-nex-edid.1 -p i-nex
|
||||
dh_installman manpages/i-nex-cpuid.1 -p i-nex
|
||||
dh_installman manpages/i-nex-usage.1 -p i-nex
|
||||
dh_installman manpages/i-nex-cpusage.1 -p i-nex
|
|
@ -0,0 +1,21 @@
|
|||
#!/usr/bin/make -f
|
||||
VERSION = $(shell grep 'Version=' ../src/i-nex/.project | cut -d '=' -f 2)
|
||||
PN = i-nex
|
||||
|
||||
PREFIX ?= /usr
|
||||
DOCDIR = $(PREFIX)/share/doc/$(PN)-$(VERSION)
|
||||
|
||||
create-dir:
|
||||
@echo -e '\033[1;32mCreate directory...\033[0m'
|
||||
mkdir -p $(DESTDIR)$(DOCDIR)
|
||||
|
||||
install-doc:
|
||||
@echo -e '\033[1;32mInstalling Docs...\033[0m'
|
||||
install -Dm644 copyright "$(DESTDIR)$(DOCDIR)/copyright"
|
||||
install -Dm644 I-Nex.LICENSE "$(DESTDIR)$(DOCDIR)/I-Nex.LICENSE"
|
||||
install -Dm644 Pastebinit.LICENSE "$(DESTDIR)$(DOCDIR)/Pastebinit.LICENSE"
|
||||
gzip -9 "$(DESTDIR)$(DOCDIR)/copyright"
|
||||
gzip -9 "$(DESTDIR)$(DOCDIR)/I-Nex.LICENSE"
|
||||
gzip -9 "$(DESTDIR)$(DOCDIR)/Pastebinit.LICENSE"
|
||||
|
||||
install: create-dir install-doc
|
|
@ -0,0 +1,293 @@
|
|||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: I-Nex
|
||||
Upstream-Contact: eloaders <eloaders@linux.pl>
|
||||
Source: https://launchpad.net/i-nex
|
||||
|
||||
Files: src/i-nex/*
|
||||
Copyright: 2011-2014 eloaders <eloaders@linux.pl>
|
||||
License: LGPL-3+
|
||||
I-Nex free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
.
|
||||
I-Nex 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 I-Nex. If not, see <http://www.gnu.org/licenses/>.
|
||||
.
|
||||
On Ubuntu and Debian systems, the full text of the GNU General Public
|
||||
License version 3 can be found in the file
|
||||
`/usr/share/common-licenses/LGPL-3'.
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2011-2014 eloaders <eloaders@linux.pl>
|
||||
License: GPL-3+
|
||||
This software is licensed to you under the GNU General Public License,
|
||||
version 3 (GPLv3). There is NO WARRANTY for this software, express or
|
||||
implied, including the implied warranties of MERCHANTABILITY or FITNESS
|
||||
FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv3
|
||||
along with this software; if not, see <http://www.gnu.org/licenses/>.
|
||||
.
|
||||
On Ubuntu and Debian systems, the full text of the GNU General Public
|
||||
License version 3 can be found in the file
|
||||
`/usr/share/common-licenses/GPL-3'.
|
||||
|
||||
Files: pastebin.d/*
|
||||
Copyright: 2006-2010, Stéphane Graber, Daniel Bartlett, David Paleino
|
||||
License: GPL-3+
|
||||
This software is licensed to you under the GNU General Public License,
|
||||
version 3 (GPLv3). There is NO WARRANTY for this software, express or
|
||||
implied, including the implied warranties of MERCHANTABILITY or FITNESS
|
||||
FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv3
|
||||
along with this software; if not, see <http://www.gnu.org/licenses/>.
|
||||
.
|
||||
On Ubuntu and Debian systems, the full text of the GNU General Public
|
||||
License version 3 can be found in the file
|
||||
`/usr/share/common-licenses/GPL-3'.
|
||||
|
||||
Files: pastebinit
|
||||
Copyright: 2006-2010, Stéphane Graber, Daniel Bartlett, David Paleino
|
||||
License: GPL-3+
|
||||
This software is licensed to you under the GNU General Public License,
|
||||
version 3 (GPLv3). There is NO WARRANTY for this software, express or
|
||||
implied, including the implied warranties of MERCHANTABILITY or FITNESS
|
||||
FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv3
|
||||
along with this software; if not, see <http://www.gnu.org/licenses/>.
|
||||
.
|
||||
On Ubuntu and Debian systems, the full text of the GNU General Public
|
||||
License version 3 can be found in the file
|
||||
`/usr/share/common-licenses/GPL-3'.
|
||||
|
||||
Files: pastebinit.xml
|
||||
Copyright: 2006-2010, Stéphane Graber, Daniel Bartlett, David Paleino
|
||||
License: GPL-3+
|
||||
This software is licensed to you under the GNU General Public License,
|
||||
version 3 (GPLv3). There is NO WARRANTY for this software, express or
|
||||
implied, including the implied warranties of MERCHANTABILITY or FITNESS
|
||||
FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv3
|
||||
along with this software; if not, see <http://www.gnu.org/licenses/>.
|
||||
.
|
||||
On Ubuntu and Debian systems, the full text of the GNU General Public
|
||||
License version 3 can be found in the file
|
||||
`/usr/share/common-licenses/GPL-3'.
|
||||
|
||||
Files: release.conf
|
||||
Copyright: 2006-2010, Stéphane Graber, Daniel Bartlett, David Paleino
|
||||
License: GPL-3+
|
||||
This software is licensed to you under the GNU General Public License,
|
||||
version 3 (GPLv3). There is NO WARRANTY for this software, express or
|
||||
implied, including the implied warranties of MERCHANTABILITY or FITNESS
|
||||
FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv3
|
||||
along with this software; if not, see <http://www.gnu.org/licenses/>.
|
||||
.
|
||||
On Ubuntu and Debian systems, the full text of the GNU General Public
|
||||
License version 3 can be found in the file
|
||||
`/usr/share/common-licenses/GPL-3'.
|
||||
|
||||
Files: JSON/i-nex-edid.c
|
||||
Copyright: Red Hat, Inc.
|
||||
License: Copyright 2006-2009 Red Hat, Inc.
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
to deal in the Software without restriction, including without limitation
|
||||
on the rights to use, copy, modify, merge, publish, distribute, sub
|
||||
license, and/or sell copies of the Software, and to permit persons to whom
|
||||
the Software is furnished to do so, subject to the following conditions:
|
||||
The above copyright notice and this permission notice (including the next
|
||||
paragraph) shall be included in all copies or substantial portions of the
|
||||
Software.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
||||
THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
Files: JSON/*.c
|
||||
Copyright: 2011-2014 eloaders <eloaders@linux.pl>
|
||||
License: GPL-3+
|
||||
This software is licensed to you under the GNU General Public License,
|
||||
version 3 (GPLv3). There is NO WARRANTY for this software, express or
|
||||
implied, including the implied warranties of MERCHANTABILITY or FITNESS
|
||||
FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv3
|
||||
along with this software; if not, see <http://www.gnu.org/licenses/>.
|
||||
.
|
||||
On Ubuntu and Debian systems, the full text of the GNU General Public
|
||||
License version 3 can be found in the file
|
||||
`/usr/share/common-licenses/GPL-3'.
|
||||
|
||||
Files: src/i-nex/Database/Logos/*
|
||||
Copyright: Intel, AMD
|
||||
License: Registered trademarks
|
||||
Copyright ©Intel Corporation. All rights reserved. Intel Corporation, 2200 Mission College Blvd., Santa Clara, CA 95052-8119, USA.
|
||||
© Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000 Advanced Micro Devices, Inc.
|
||||
|
||||
Files: src/i-nex/Processors/*
|
||||
Copyright: Intel, AMD
|
||||
License: Registered trademarks
|
||||
Copyright ©Intel Corporation. All rights reserved. Intel Corporation, 2200 Mission College Blvd., Santa Clara, CA 95052-8119, USA.
|
||||
© Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000 Advanced Micro Devices, Inc.
|
||||
|
||||
Files: src/i-nex/Database/Distlogos/*
|
||||
Copyright: deviantdark <http://deviantdark.deviantart.com/>
|
||||
License: Registered trademarks
|
||||
deviantdark <http://deviantdark.deviantart.com/>
|
||||
|
||||
Files: src/i-nex/Data/Karta_graficzna/*
|
||||
Copyright: ATI, Intel
|
||||
License: Registered trademarks
|
||||
Copyright ©Intel Corporation. All rights reserved. Intel Corporation, 2200 Mission College Blvd., Santa Clara, CA 95052-8119, USA.
|
||||
© Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000 Advanced Micro Devices, Inc.
|
||||
|
||||
Files: src/i-nex/Data/Karta_graficzna/nvidia.png
|
||||
Copyright: nVidia
|
||||
License: Registered trademarks
|
||||
The full legal notice for the images installed by
|
||||
I-Nex is available from the NVIDIA
|
||||
web site: http://developer.nvidia.com/object/legal_info.html
|
||||
The Legal information posted on the website and last modified on 01/06/2006
|
||||
is repeated below:
|
||||
The materials on this web site (the "Site") are provided by NVIDIA(R)
|
||||
Corporation ("NVIDIA") as a service to its customers and may be used for
|
||||
informational purposes only. Single copies may be downloaded subject to the
|
||||
provisions below. By downloading any materials from this site, you agree to
|
||||
these terms, unless the materials are accompanied by a separate download
|
||||
agreement, in which case the terms of that Agreement shall control your
|
||||
rights to use the materials. If you do not agree to them, do not use the
|
||||
site or download any materials from it.
|
||||
TRADEMARK INFORMATION
|
||||
NVIDIA, the NVIDIA logo, 3DFX, 3DFX INTERACTIVE, the 3dfx Logo, STB, STB
|
||||
Systems and Design, the STB Logo, the StarBox Logo, NVIDIA nForce, GeForce,
|
||||
NVIDIA Quadro, NVDVD, NVIDIA Personal Cinema, NVIDIA Soundstorm, Vanta,
|
||||
TNT2, TNT, RIVA, RIVA TNT, VOODOO, VOODOO GRAPHICS, WAVEBAY, Accuview
|
||||
Antialiasing, the Audio & Nth Superscript Design Logo, CineFX, the
|
||||
Communications & Nth Superscript Design Logo, Detonator, Digital Vibrance
|
||||
Control, DualNet, FlowFX, ForceWare, GIGADUDE, Glide, GOFORCE, the
|
||||
Graphics & Nth Superscript Design Logo, Intellisample, M-BUFFER, nfiniteFX,
|
||||
NV, NVChess, nView, NVKeystone, NVOptimizer, NVPinball, NVRotate, NVSensor,
|
||||
NVSync, the Platform & Nth Superscript Design Logo, PowerMizer, Quincunx
|
||||
Antialiasing, Sceneshare, See What You've Been Missing, StreamThru,
|
||||
SuperStability, T-BUFFER, The Way It's Meant to be Played Logo, TwinBank ,
|
||||
TwinView and the Video & Nth Superscript Design Logo are registered
|
||||
trademarks or trademarks of NVIDIA Corporation in the United States and/or
|
||||
other countries. Other company and product names may be trademarks or
|
||||
registered trademarks of the respective owners with which they are
|
||||
associated.
|
||||
NVIDIA's trademarks may be used publicly with permission only from NVIDIA,
|
||||
and nothing in this Agreement shall be construed as granting such
|
||||
permission. Fair use of NVIDIA's trademarks in advertising and promotion of
|
||||
NVIDIA products requires proper acknowledgment.
|
||||
PERFORMANCE INFORMATION
|
||||
Performance tests and ratings are measured using specific computer systems
|
||||
and/or components and reflect the approximate performance of NVIDIA
|
||||
products as measured by those tests. Any difference in system hardware or
|
||||
software design or configuration may affect actual performance.
|
||||
SINGLE COPY LICENSE
|
||||
The materials at this Site are copyrighted and any unauthorized use of any
|
||||
materials at this Site may violate copyright, trademark, and other laws.
|
||||
You may download one copy of the information or software ("Materials")
|
||||
found on NVIDIA sites on a single computer for your personal,
|
||||
non-commercial internal use only unless specifically licensed to do
|
||||
otherwise by NVIDIA in writing or as allowed by any license terms which
|
||||
accompany or are provided with individual Materials. This is a license, not
|
||||
a transfer of title, and is subject to the following restrictions: you may
|
||||
not: (a) modify the Materials or use them for any commercial purpose, or
|
||||
any public display, performance, sale or rental; (b) decompile, reverse
|
||||
engineer, or disassemble software Materials except and only to the extent
|
||||
permitted by applicable law or unless specifically licensed to do otherwise
|
||||
by NVIDIA in writing or as allowed by any license terms which accompany or
|
||||
are provided with individual Materials; (c) remove any copyright or other
|
||||
proprietary notices from the Materials; (d) transfer the Materials to any
|
||||
other person or entity. You agree to prevent any unauthorized copying of
|
||||
the Materials.
|
||||
OWNERSHIP OF MATERIALS
|
||||
Materials are copyrighted and are protected by worldwide copyright laws and
|
||||
treaty provisions. They may not be copied, reproduced, modified, published,
|
||||
uploaded, posted, transmitted, or distributed in any way, without NVIDIA's
|
||||
prior written permission. Except as expressly provided herein, NVIDIA and
|
||||
its suppliers do not grant any express or implied right to you under any
|
||||
patents, copyrights, trademarks, trade secret or any other intellectual
|
||||
property or proprietary right.
|
||||
CLAIMS OF COPYRIGHT INFRINGEMENT
|
||||
NVIDIA and its affiliates respect the intellectual property of others. If
|
||||
you believe that your work has been copied in a way that constitutes
|
||||
copyright infringement, please follow our Notice and Procedure for Making
|
||||
Claims of Copyright Infringement.
|
||||
TERMINATION OF THIS LICENSE
|
||||
NVIDIA may terminate this license at any time if you are in breach of the
|
||||
terms of this Agreement. Upon termination, you will immediately destroy the
|
||||
Materials, and certify to NVIDIA that you have done so.
|
||||
DISCLAIMER
|
||||
THE MATERIALS ARE PROVIDED "AS IS" WITHOUT ANY EXPRESS OR IMPLIED WARRANTY
|
||||
OF ANY KIND INCLUDING WARRANTIES OF MERCHANTABILITY, TITLE, NONINFRINGEMENT
|
||||
OF INTELLECTUAL PROPERTY, OR FITNESS FOR ANY PARTICULAR PURPOSE. IN NO
|
||||
EVENT SHALL NVIDIA OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER
|
||||
(INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS
|
||||
INTERRUPTION, LOSS OF INFORMATION) ARISING OUT OF THE USE OF OR INABILITY
|
||||
TO USE THE MATERIALS, EVEN IF NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES. BECAUSE SOME JURISDICTIONS PROHIBIT THE EXCLUSION OR
|
||||
LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES, THE ABOVE
|
||||
LIMITATION MAY NOT APPLY TO YOU. NVIDIA does not warrant the accuracy or
|
||||
completeness of the information, text, graphics, links or other items
|
||||
contained within these materials. NVIDIA may make changes to these
|
||||
materials, or to the products described therein, at any time without
|
||||
notice, but makes no commitment to update the Materials.
|
||||
U.S. GOVERNMENT RESTRICTED RIGHTS
|
||||
If the Materials are being licensed by the U.S. Government, the Materials
|
||||
and related documentation are commercial computer software and
|
||||
documentation developed exclusively at private expense, and (a) if acquired
|
||||
by or on behalf of a civilian agency, shall be subject to the terms of this
|
||||
computer software license as specified in 48 C.F.R. 12.212 of the Federal
|
||||
Acquisition Regulations and its successors; and (b) if acquired by or on
|
||||
behalf of units of the Department of Defense ("DOD") shall be subject to
|
||||
the terms of this commercial computer software license as specified in 48
|
||||
C.F.R. 227.7202-2, DOD FAR Supplement and its successors. Use of the
|
||||
Materials by the Government constitutes acknowledgment of NVIDIA's
|
||||
proprietary rights in them.
|
||||
USER SUBMISSIONS
|
||||
Any material, information or other communication you transmit or post to
|
||||
this Site will be considered non-confidential and non-proprietary
|
||||
("Communications"). NVIDIA will have no obligations with respect to the
|
||||
Communications. NVIDIA and its designees will be free to copy, disclose,
|
||||
distribute, incorporate and otherwise use the Communications and all data,
|
||||
images, sounds, text, and other things embodied therein for any and all
|
||||
commercial or non-commercial purposes. You are prohibited from posting or
|
||||
transmitting to or from this Site any unlawful, threatening, libelous,
|
||||
defamatory, obscene, pornographic, or other material that would violate any
|
||||
law in any jurisdiction.
|
||||
LINKS TO OTHER MATERIALS
|
||||
The linked sites are not under the control of NVIDIA and NVIDIA is not
|
||||
responsible for the content of any linked site or any link contained in a
|
||||
linked site. NVIDIA reserves the right to terminate any link or linking
|
||||
program at any time. NVIDIA does not endorse companies or products to which
|
||||
it links and reserves the right to note as such on its web pages. If you
|
||||
decide to access any of the third party sites linked to this Site, you do
|
||||
this entirely at your own risk.
|
||||
APPLICABLE LAWS
|
||||
This site is controlled by NVIDIA from its offices within the United States
|
||||
of America. NVIDIA makes no representation that Materials in the site are
|
||||
appropriate or available for use in other locations, and access to them
|
||||
from territories where their content is illegal is prohibited. Those who
|
||||
choose to access this Site from other locations do so on their own
|
||||
initiative and are responsible for compliance with applicable local laws.
|
||||
You may not use or export the Materials in violation of U.S. export laws
|
||||
and regulations. Any claim relating to the Materials shall be governed by
|
||||
the internal substantive laws of the State of California. NVIDIA and you
|
||||
hereby agree that all disputes arising out of this Agreement shall be
|
||||
subject to the exclusive jurisdiction of and venue in the federal and state
|
||||
courts within Santa Clara County, California, and both parties hereby
|
||||
consent to the personal and exclusive jurisdiction and venue of these
|
||||
courts.
|
||||
GENERAL
|
||||
NVIDIA may revise these Terms at any time by updating this posting. You
|
||||
should visit this page from time to time to review the then-current Terms
|
||||
because they are binding on you, and any use of the Site constitutes
|
||||
acceptance of the terms contained herein. Certain provisions of these Terms
|
||||
may be superseded by expressly designated legal notices or terms located on
|
||||
particular pages at this Site.
|
||||
Copyright (C) 1997-2004 NVIDIA Corporation. All rights reserved. NVIDIA
|
||||
Corporation, 2701 San Tomas Expressway Santa Clara, CA 95050, USA.
|
|
@ -0,0 +1,63 @@
|
|||
#!/usr/bin/make -f
|
||||
GIT_RV = $(shell git rev-list HEAD | wc -l)
|
||||
BUILD_PACKAGE = $(shell ./build-deb)
|
||||
LSB_CS = $(shell lsb_release -cs)
|
||||
CC_OPTS_LIBCPUID = $(shell pkg-config libcpuid --cflags --libs)
|
||||
libgl = $(shell pkg-config gl --cflags --libs)
|
||||
libx11 = $(shell pkg-config x11 --cflags --libs)
|
||||
libxext = $(shell pkg-config xext --cflags --libs)
|
||||
ARCH= $(shell uname -m)
|
||||
GBC = /usr/bin/gbc3
|
||||
GBCOPTS = -eagtpm
|
||||
GBA = gba3
|
||||
CC = gcc
|
||||
PKG_INSTALL = apt-get install
|
||||
AS_ROOT = sudo
|
||||
CFLAGS = -g -Wall
|
||||
bindir ?= /usr/bin
|
||||
INSTALL = install -m
|
||||
BUILD_SELF_EXECUTABLE = ./build-selfexecutable
|
||||
RM_COM = rm
|
||||
RMFILE_OPT = -f
|
||||
RMDIR_OPT = -Rf
|
||||
COMPRESSION_SELF_LEVEL = 9
|
||||
MAKESELF = ./makeself.sh
|
||||
MAKESELF_OPT = --nowait
|
||||
APP_NAME= I-Nex
|
||||
INSTALL_SELF_SCRIPT = ./install-self
|
||||
ifeq ($(ARCH),x86)
|
||||
additional_confflags := --disable-sse2
|
||||
endif
|
||||
ifeq ($(ARCH),x86_64)
|
||||
additional_confflags := -O2
|
||||
endif
|
||||
ifeq ($(LSB_CS),precise)
|
||||
CC_OPTS_LIBPROCPS = -lproc
|
||||
else
|
||||
CC_OPTS_LIBPROCPS = $(shell pkg-config libprocps --cflags --libs)
|
||||
endif
|
||||
dependency_build ?= git \
|
||||
devscripts \
|
||||
pkg-config \
|
||||
dpkg-dev \
|
||||
gambas3-dev \
|
||||
gambas3-gb-image \
|
||||
gambas3-gb-gtk \
|
||||
gambas3-gb-form \
|
||||
gambas3-gb-desktop \
|
||||
gambas3-gb-form-stock \
|
||||
dpkg \
|
||||
grep \
|
||||
mount \
|
||||
procps \
|
||||
x11-xserver-utils \
|
||||
lsb-release \
|
||||
bash \
|
||||
coreutils \
|
||||
sed \
|
||||
pciutils \
|
||||
x11-utils \
|
||||
mesa-utils \
|
||||
hostname \
|
||||
libcpuid11 \
|
||||
libprocps0-dev
|
|
@ -19,12 +19,9 @@ bindir="/usr/bin/"
|
|||
install -m 0755 usr/share/applications/i-nex.desktop /usr/share/applications/
|
||||
install -m 0755 usr/bin/check_kernel /usr/bin/
|
||||
install -m 0755 usr/bin/i-nex-lspci /usr/bin/
|
||||
install -m 0755 usr/share/doc/i-nex/I-Nex.LICENSE /usr/share/doc/i-nex/
|
||||
install -m 0755 usr/share/i-nex/pastebinit/Pastebinit.LICENSE /usr/share/i-nex/pastebinit/
|
||||
install -m 0755 usr/share/i-nex/pastebinit/pastebin.d/* /usr/share/i-nex/pastebinit/pastebin.d/
|
||||
install -m 0755 usr/share/i-nex/pastebinit/pastebinit /usr/share/i-nex/pastebinit/
|
||||
install -m 0755 usr/share/i-nex/pastebinit/pastebinit.xml /usr/share/i-nex/pastebinit/
|
||||
install -m 0755 usr/share/i-nex/pastebinit/README /usr/share/i-nex/pastebinit/
|
||||
install -m 0755 usr/share/i-nex/pastebinit/release.conf /usr/share/i-nex/pastebinit/
|
||||
install -m 0775 usr/bin/gbx3 /usr/bin/gbx3
|
||||
install -m 0775 usr/bin/gbr3 /usr/bin/gbr3
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
DESTDIR =
|
||||
PREFIX = /usr
|
||||
MANDIR = $(PREFIX)/share/man/man1
|
||||
|
||||
install-man:
|
||||
@echo -e '\033[1;32mInstalling Man pages 1...\033[0m'
|
||||
install -Dm644 check_kernel.1 "$(DESTDIR)$(MANDIR)/check_kernel.1"
|
||||
install -Dm644 i-nex-cpuid.1 "$(DESTDIR)$(MANDIR)/i-nex-cpuid.1"
|
||||
install -Dm644 i-nex-cpusage.1 "$(DESTDIR)$(MANDIR)/i-nex-cpusage.1"
|
||||
install -Dm644 i-nex-edid.1 "$(DESTDIR)$(MANDIR)/i-nex-edid.1"
|
||||
install -Dm644 i-nex-lspci.1 "$(DESTDIR)$(MANDIR)/i-nex-lspci.1"
|
||||
install -Dm644 i-nex-usage.1 "$(DESTDIR)$(MANDIR)/i-nex-usage.1"
|
||||
install -Dm644 i-nex.1 "$(DESTDIR)$(MANDIR)/i-nex.1"
|
||||
install -Dm644 i-nex.gambas.1 "$(DESTDIR)$(MANDIR)/i-nex.gambas.1"
|
||||
gzip -9 "$(DESTDIR)$(MANDIR)/check_kernel.1"
|
||||
gzip -9 "$(DESTDIR)$(MANDIR)/i-nex-cpuid.1"
|
||||
gzip -9 "$(DESTDIR)$(MANDIR)/i-nex-cpusage.1"
|
||||
gzip -9 "$(DESTDIR)$(MANDIR)/i-nex-edid.1"
|
||||
gzip -9 "$(DESTDIR)$(MANDIR)/i-nex-lspci.1"
|
||||
gzip -9 "$(DESTDIR)$(MANDIR)/i-nex-usage.1"
|
||||
gzip -9 "$(DESTDIR)$(MANDIR)/i-nex.1"
|
||||
gzip -9 "$(DESTDIR)$(MANDIR)/i-nex.gambas.1"
|
||||
|
||||
install: install-man
|
|
@ -0,0 +1 @@
|
|||
eloaders <eloaders@linux.pl>
|
|
@ -0,0 +1 @@
|
|||
This program is under : General Public Licence
|
|
@ -0,0 +1,75 @@
|
|||
* Thu Feb 06 2014 eloaders <eloaders@linux.pl> 0.6.4
|
||||
|
||||
* Tue Nov 05 2013 eloaders <eloaders@yahoo.com> 0.5.6
|
||||
|
||||
* Mon Nov 04 2013 eloaders <eloaders@yahoo.com> 0.5.6
|
||||
|
||||
* Mon Nov 04 2013 eloaders <eloaders@yahoo.com> 0.5.6
|
||||
|
||||
* Mon Nov 04 2013 eloaders <eloaders@yahoo.com> 0.5.6
|
||||
|
||||
* Mon Nov 04 2013 eloaders <eloaders@yahoo.com> 0.5.6
|
||||
|
||||
* Mon Nov 04 2013 eloaders <eloaders@yahoo.com> 0.5.6
|
||||
|
||||
* Mon Nov 04 2013 eloaders <eloaders@yahoo.com> 0.5.6
|
||||
|
||||
* Mon Oct 21 2013 eloaders <eloaders@yahoo.com> 0.5.6
|
||||
|
||||
* Fri Oct 18 2013 eloaders <eloaders@yahoo.com> 0.5.4
|
||||
|
||||
* Thu Oct 17 2013 eloaders <eloaders@yahoo.com> 0.5.4
|
||||
|
||||
* Wed Jan 02 2013 eloaders <eloaders@yahoo.com> 0.5.1
|
||||
|
||||
* Sat Jan 28 2012 eloaders <eloaders@yahoo.com> 0.4.0
|
||||
|
||||
* Sat Oct 22 2011 eloaders <eloaders@yahoo.com> 0.2.4
|
||||
- i
|
||||
|
||||
* Thu Feb 17 2011 eloaders <eloaders@yahoo.com> 0.1.7
|
||||
- Naprawiono wyświetlanie nazwy dystrybucji w zakładce system.
|
||||
- Przebudowano i dodano dodatkowe opcje wyświetlania w zakładce pamięć.
|
||||
|
||||
* Wed Feb 16 2011 eloaders <eloaders@yahoo.com> 0.1.5
|
||||
- Zmieniono pozycję system oraz grafika.
|
||||
|
||||
* Wed Feb 16 2011 eloaders <eloaders@yahoo.com> 0.1.5
|
||||
- Zmiana nazwy
|
||||
- Test build
|
||||
|
||||
* Tue Feb 15 2011 eloaders <eloaders@yahoo.com> 0.1.4
|
||||
- Zmieniono wygląd zakładki system.
|
||||
- Dodano informacje o ilości zainstalowanych pakietów.
|
||||
- Naprawiono wyświetlanie zakładki dysk.
|
||||
|
||||
* Mon Feb 14 2011 eloaders <eloaders@yahoo.com> 0.1.3
|
||||
- FIXED
|
||||
|
||||
* Mon Feb 14 2011 eloaders <eloaders@yahoo.com> 0.1.5
|
||||
- FIXED
|
||||
|
||||
* Mon Feb 14 2011 eloaders <eloaders@yahoo.com> 0.1.3
|
||||
- Dodano progress bar informujący o zajętym miejscu na dysku jak i informacja o wolnym miejscu.
|
||||
- Zmieniono wygląd pozycji bios.
|
||||
- Dodano progress bar w zakładce pamięć.
|
||||
- Dodano informacje o pojemności głównego dysku.
|
||||
|
||||
* Sat Feb 12 2011 eloaders <eloaders@yahoo.com> 0.1.2
|
||||
- Poprawiono wyświetlanie grafiki / stickera procesora
|
||||
|
||||
* Fri Feb 11 2011 eloaders <eloaders@yahoo.com> 0.1.1
|
||||
- Dodano ikony do zakładek.
|
||||
- Naprawiono karte dźwięk. Wyświetla wszystkie urządzenia odpowiedzialne za dźwięk.
|
||||
- Dodano wykrywanie grafiki, sticera procesora.
|
||||
- Dodano button info odsyłający do strony o szczegółowych informacjach o procesorze.
|
||||
- Zmieniono tekst strona domowa na button.
|
||||
- Zmieniono wygląd zakładki system.
|
||||
|
||||
* Tue Feb 08 2011 eloaders <eloaders@yahoo.com> 0.0.9
|
||||
- Usunięto opcje zmiany tapety.
|
||||
- Usunięto wykrywanie tapety pulpitu.
|
||||
- Zmniejszono użycie procesora poprzez usunięcie timer.
|
||||
- Dodano buttony odświerz.
|
||||
- Oraz naprawiono inne błędy których nie pamiętam.
|
||||
|
|
@ -0,0 +1,370 @@
|
|||
Installation Instructions
|
||||
*************************
|
||||
|
||||
Copyright (C) 1994-1996, 1999-2002, 2004-2013 Free Software Foundation,
|
||||
Inc.
|
||||
|
||||
Copying and distribution of this file, with or without modification,
|
||||
are permitted in any medium without royalty provided the copyright
|
||||
notice and this notice are preserved. This file is offered as-is,
|
||||
without warranty of any kind.
|
||||
|
||||
Basic Installation
|
||||
==================
|
||||
|
||||
Briefly, the shell commands `./configure; make; make install' should
|
||||
configure, build, and install this package. The following
|
||||
more-detailed instructions are generic; see the `README' file for
|
||||
instructions specific to this package. Some packages provide this
|
||||
`INSTALL' file but do not implement all of the features documented
|
||||
below. The lack of an optional feature in a given package is not
|
||||
necessarily a bug. More recommendations for GNU packages can be found
|
||||
in *note Makefile Conventions: (standards)Makefile Conventions.
|
||||
|
||||
The `configure' shell script attempts to guess correct values for
|
||||
various system-dependent variables used during compilation. It uses
|
||||
those values to create a `Makefile' in each directory of the package.
|
||||
It may also create one or more `.h' files containing system-dependent
|
||||
definitions. Finally, it creates a shell script `config.status' that
|
||||
you can run in the future to recreate the current configuration, and a
|
||||
file `config.log' containing compiler output (useful mainly for
|
||||
debugging `configure').
|
||||
|
||||
It can also use an optional file (typically called `config.cache'
|
||||
and enabled with `--cache-file=config.cache' or simply `-C') that saves
|
||||
the results of its tests to speed up reconfiguring. Caching is
|
||||
disabled by default to prevent problems with accidental use of stale
|
||||
cache files.
|
||||
|
||||
If you need to do unusual things to compile the package, please try
|
||||
to figure out how `configure' could check whether to do them, and mail
|
||||
diffs or instructions to the address given in the `README' so they can
|
||||
be considered for the next release. If you are using the cache, and at
|
||||
some point `config.cache' contains results you don't want to keep, you
|
||||
may remove or edit it.
|
||||
|
||||
The file `configure.ac' (or `configure.in') is used to create
|
||||
`configure' by a program called `autoconf'. You need `configure.ac' if
|
||||
you want to change it or regenerate `configure' using a newer version
|
||||
of `autoconf'.
|
||||
|
||||
The simplest way to compile this package is:
|
||||
|
||||
1. `cd' to the directory containing the package's source code and type
|
||||
`./configure' to configure the package for your system.
|
||||
|
||||
Running `configure' might take a while. While running, it prints
|
||||
some messages telling which features it is checking for.
|
||||
|
||||
2. Type `make' to compile the package.
|
||||
|
||||
3. Optionally, type `make check' to run any self-tests that come with
|
||||
the package, generally using the just-built uninstalled binaries.
|
||||
|
||||
4. Type `make install' to install the programs and any data files and
|
||||
documentation. When installing into a prefix owned by root, it is
|
||||
recommended that the package be configured and built as a regular
|
||||
user, and only the `make install' phase executed with root
|
||||
privileges.
|
||||
|
||||
5. Optionally, type `make installcheck' to repeat any self-tests, but
|
||||
this time using the binaries in their final installed location.
|
||||
This target does not install anything. Running this target as a
|
||||
regular user, particularly if the prior `make install' required
|
||||
root privileges, verifies that the installation completed
|
||||
correctly.
|
||||
|
||||
6. You can remove the program binaries and object files from the
|
||||
source code directory by typing `make clean'. To also remove the
|
||||
files that `configure' created (so you can compile the package for
|
||||
a different kind of computer), type `make distclean'. There is
|
||||
also a `make maintainer-clean' target, but that is intended mainly
|
||||
for the package's developers. If you use it, you may have to get
|
||||
all sorts of other programs in order to regenerate files that came
|
||||
with the distribution.
|
||||
|
||||
7. Often, you can also type `make uninstall' to remove the installed
|
||||
files again. In practice, not all packages have tested that
|
||||
uninstallation works correctly, even though it is required by the
|
||||
GNU Coding Standards.
|
||||
|
||||
8. Some packages, particularly those that use Automake, provide `make
|
||||
distcheck', which can by used by developers to test that all other
|
||||
targets like `make install' and `make uninstall' work correctly.
|
||||
This target is generally not run by end users.
|
||||
|
||||
Compilers and Options
|
||||
=====================
|
||||
|
||||
Some systems require unusual options for compilation or linking that
|
||||
the `configure' script does not know about. Run `./configure --help'
|
||||
for details on some of the pertinent environment variables.
|
||||
|
||||
You can give `configure' initial values for configuration parameters
|
||||
by setting variables in the command line or in the environment. Here
|
||||
is an example:
|
||||
|
||||
./configure CC=c99 CFLAGS=-g LIBS=-lposix
|
||||
|
||||
*Note Defining Variables::, for more details.
|
||||
|
||||
Compiling For Multiple Architectures
|
||||
====================================
|
||||
|
||||
You can compile the package for more than one kind of computer at the
|
||||
same time, by placing the object files for each architecture in their
|
||||
own directory. To do this, you can use GNU `make'. `cd' to the
|
||||
directory where you want the object files and executables to go and run
|
||||
the `configure' script. `configure' automatically checks for the
|
||||
source code in the directory that `configure' is in and in `..'. This
|
||||
is known as a "VPATH" build.
|
||||
|
||||
With a non-GNU `make', it is safer to compile the package for one
|
||||
architecture at a time in the source code directory. After you have
|
||||
installed the package for one architecture, use `make distclean' before
|
||||
reconfiguring for another architecture.
|
||||
|
||||
On MacOS X 10.5 and later systems, you can create libraries and
|
||||
executables that work on multiple system types--known as "fat" or
|
||||
"universal" binaries--by specifying multiple `-arch' options to the
|
||||
compiler but only a single `-arch' option to the preprocessor. Like
|
||||
this:
|
||||
|
||||
./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
|
||||
CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
|
||||
CPP="gcc -E" CXXCPP="g++ -E"
|
||||
|
||||
This is not guaranteed to produce working output in all cases, you
|
||||
may have to build one architecture at a time and combine the results
|
||||
using the `lipo' tool if you have problems.
|
||||
|
||||
Installation Names
|
||||
==================
|
||||
|
||||
By default, `make install' installs the package's commands under
|
||||
`/usr/local/bin', include files under `/usr/local/include', etc. You
|
||||
can specify an installation prefix other than `/usr/local' by giving
|
||||
`configure' the option `--prefix=PREFIX', where PREFIX must be an
|
||||
absolute file name.
|
||||
|
||||
You can specify separate installation prefixes for
|
||||
architecture-specific files and architecture-independent files. If you
|
||||
pass the option `--exec-prefix=PREFIX' to `configure', the package uses
|
||||
PREFIX as the prefix for installing programs and libraries.
|
||||
Documentation and other data files still use the regular prefix.
|
||||
|
||||
In addition, if you use an unusual directory layout you can give
|
||||
options like `--bindir=DIR' to specify different values for particular
|
||||
kinds of files. Run `configure --help' for a list of the directories
|
||||
you can set and what kinds of files go in them. In general, the
|
||||
default for these options is expressed in terms of `${prefix}', so that
|
||||
specifying just `--prefix' will affect all of the other directory
|
||||
specifications that were not explicitly provided.
|
||||
|
||||
The most portable way to affect installation locations is to pass the
|
||||
correct locations to `configure'; however, many packages provide one or
|
||||
both of the following shortcuts of passing variable assignments to the
|
||||
`make install' command line to change installation locations without
|
||||
having to reconfigure or recompile.
|
||||
|
||||
The first method involves providing an override variable for each
|
||||
affected directory. For example, `make install
|
||||
prefix=/alternate/directory' will choose an alternate location for all
|
||||
directory configuration variables that were expressed in terms of
|
||||
`${prefix}'. Any directories that were specified during `configure',
|
||||
but not in terms of `${prefix}', must each be overridden at install
|
||||
time for the entire installation to be relocated. The approach of
|
||||
makefile variable overrides for each directory variable is required by
|
||||
the GNU Coding Standards, and ideally causes no recompilation.
|
||||
However, some platforms have known limitations with the semantics of
|
||||
shared libraries that end up requiring recompilation when using this
|
||||
method, particularly noticeable in packages that use GNU Libtool.
|
||||
|
||||
The second method involves providing the `DESTDIR' variable. For
|
||||
example, `make install DESTDIR=/alternate/directory' will prepend
|
||||
`/alternate/directory' before all installation names. The approach of
|
||||
`DESTDIR' overrides is not required by the GNU Coding Standards, and
|
||||
does not work on platforms that have drive letters. On the other hand,
|
||||
it does better at avoiding recompilation issues, and works well even
|
||||
when some directory options were not specified in terms of `${prefix}'
|
||||
at `configure' time.
|
||||
|
||||
Optional Features
|
||||
=================
|
||||
|
||||
If the package supports it, you can cause programs to be installed
|
||||
with an extra prefix or suffix on their names by giving `configure' the
|
||||
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
|
||||
|
||||
Some packages pay attention to `--enable-FEATURE' options to
|
||||
`configure', where FEATURE indicates an optional part of the package.
|
||||
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
|
||||
is something like `gnu-as' or `x' (for the X Window System). The
|
||||
`README' should mention any `--enable-' and `--with-' options that the
|
||||
package recognizes.
|
||||
|
||||
For packages that use the X Window System, `configure' can usually
|
||||
find the X include and library files automatically, but if it doesn't,
|
||||
you can use the `configure' options `--x-includes=DIR' and
|
||||
`--x-libraries=DIR' to specify their locations.
|
||||
|
||||
Some packages offer the ability to configure how verbose the
|
||||
execution of `make' will be. For these packages, running `./configure
|
||||
--enable-silent-rules' sets the default to minimal output, which can be
|
||||
overridden with `make V=1'; while running `./configure
|
||||
--disable-silent-rules' sets the default to verbose, which can be
|
||||
overridden with `make V=0'.
|
||||
|
||||
Particular systems
|
||||
==================
|
||||
|
||||
On HP-UX, the default C compiler is not ANSI C compatible. If GNU
|
||||
CC is not installed, it is recommended to use the following options in
|
||||
order to use an ANSI C compiler:
|
||||
|
||||
./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
|
||||
|
||||
and if that doesn't work, install pre-built binaries of GCC for HP-UX.
|
||||
|
||||
HP-UX `make' updates targets which have the same time stamps as
|
||||
their prerequisites, which makes it generally unusable when shipped
|
||||
generated files such as `configure' are involved. Use GNU `make'
|
||||
instead.
|
||||
|
||||
On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
|
||||
parse its `<wchar.h>' header file. The option `-nodtk' can be used as
|
||||
a workaround. If GNU CC is not installed, it is therefore recommended
|
||||
to try
|
||||
|
||||
./configure CC="cc"
|
||||
|
||||
and if that doesn't work, try
|
||||
|
||||
./configure CC="cc -nodtk"
|
||||
|
||||
On Solaris, don't put `/usr/ucb' early in your `PATH'. This
|
||||
directory contains several dysfunctional programs; working variants of
|
||||
these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
|
||||
in your `PATH', put it _after_ `/usr/bin'.
|
||||
|
||||
On Haiku, software installed for all users goes in `/boot/common',
|
||||
not `/usr/local'. It is recommended to use the following options:
|
||||
|
||||
./configure --prefix=/boot/common
|
||||
|
||||
Specifying the System Type
|
||||
==========================
|
||||
|
||||
There may be some features `configure' cannot figure out
|
||||
automatically, but needs to determine by the type of machine the package
|
||||
will run on. Usually, assuming the package is built to be run on the
|
||||
_same_ architectures, `configure' can figure that out, but if it prints
|
||||
a message saying it cannot guess the machine type, give it the
|
||||
`--build=TYPE' option. TYPE can either be a short name for the system
|
||||
type, such as `sun4', or a canonical name which has the form:
|
||||
|
||||
CPU-COMPANY-SYSTEM
|
||||
|
||||
where SYSTEM can have one of these forms:
|
||||
|
||||
OS
|
||||
KERNEL-OS
|
||||
|
||||
See the file `config.sub' for the possible values of each field. If
|
||||
`config.sub' isn't included in this package, then this package doesn't
|
||||
need to know the machine type.
|
||||
|
||||
If you are _building_ compiler tools for cross-compiling, you should
|
||||
use the option `--target=TYPE' to select the type of system they will
|
||||
produce code for.
|
||||
|
||||
If you want to _use_ a cross compiler, that generates code for a
|
||||
platform different from the build platform, you should specify the
|
||||
"host" platform (i.e., that on which the generated programs will
|
||||
eventually be run) with `--host=TYPE'.
|
||||
|
||||
Sharing Defaults
|
||||
================
|
||||
|
||||
If you want to set default values for `configure' scripts to share,
|
||||
you can create a site shell script called `config.site' that gives
|
||||
default values for variables like `CC', `cache_file', and `prefix'.
|
||||
`configure' looks for `PREFIX/share/config.site' if it exists, then
|
||||
`PREFIX/etc/config.site' if it exists. Or, you can set the
|
||||
`CONFIG_SITE' environment variable to the location of the site script.
|
||||
A warning: not all `configure' scripts look for a site script.
|
||||
|
||||
Defining Variables
|
||||
==================
|
||||
|
||||
Variables not defined in a site shell script can be set in the
|
||||
environment passed to `configure'. However, some packages may run
|
||||
configure again during the build, and the customized values of these
|
||||
variables may be lost. In order to avoid this problem, you should set
|
||||
them in the `configure' command line, using `VAR=value'. For example:
|
||||
|
||||
./configure CC=/usr/local2/bin/gcc
|
||||
|
||||
causes the specified `gcc' to be used as the C compiler (unless it is
|
||||
overridden in the site shell script).
|
||||
|
||||
Unfortunately, this technique does not work for `CONFIG_SHELL' due to
|
||||
an Autoconf limitation. Until the limitation is lifted, you can use
|
||||
this workaround:
|
||||
|
||||
CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash
|
||||
|
||||
`configure' Invocation
|
||||
======================
|
||||
|
||||
`configure' recognizes the following options to control how it
|
||||
operates.
|
||||
|
||||
`--help'
|
||||
`-h'
|
||||
Print a summary of all of the options to `configure', and exit.
|
||||
|
||||
`--help=short'
|
||||
`--help=recursive'
|
||||
Print a summary of the options unique to this package's
|
||||
`configure', and exit. The `short' variant lists options used
|
||||
only in the top level, while the `recursive' variant lists options
|
||||
also present in any nested packages.
|
||||
|
||||
`--version'
|
||||
`-V'
|
||||
Print the version of Autoconf used to generate the `configure'
|
||||
script, and exit.
|
||||
|
||||
`--cache-file=FILE'
|
||||
Enable the cache: use and save the results of the tests in FILE,
|
||||
traditionally `config.cache'. FILE defaults to `/dev/null' to
|
||||
disable caching.
|
||||
|
||||
`--config-cache'
|
||||
`-C'
|
||||
Alias for `--cache-file=config.cache'.
|
||||
|
||||
`--quiet'
|
||||
`--silent'
|
||||
`-q'
|
||||
Do not print messages saying which checks are being made. To
|
||||
suppress all normal output, redirect it to `/dev/null' (any error
|
||||
messages will still be shown).
|
||||
|
||||
`--srcdir=DIR'
|
||||
Look for the package's source code in directory DIR. Usually
|
||||
`configure' can determine that directory automatically.
|
||||
|
||||
`--prefix=DIR'
|
||||
Use DIR as the installation prefix. *note Installation Names::
|
||||
for more details, including other options available for fine-tuning
|
||||
the installation locations.
|
||||
|
||||
`--no-create'
|
||||
`-n'
|
||||
Run the configure checks, but stop before creating any output
|
||||
files.
|
||||
|
||||
`configure' also accepts some other, not widely useful, options. Run
|
||||
`configure --help' for more details.
|
|
@ -0,0 +1,57 @@
|
|||
EXTRA_DIST = $(PACKAGE)
|
||||
|
||||
all:
|
||||
@(if test "$(COMPONENT_build)" = "1"; then \
|
||||
echo "Building $(PACKAGE) component..."; \
|
||||
else \
|
||||
echo "Compiling $(PACKAGE) project..."; \
|
||||
fi)
|
||||
@(cd $(srcdir)/$(PACKAGE); \
|
||||
$(GAMBAS_path)/gbc3 -e -a -g -p -m -x ; \
|
||||
$(GAMBAS_path)/gba3)
|
||||
|
||||
install-exec-local:
|
||||
@(cd $(srcdir)/$(PACKAGE); \
|
||||
if test "$(COMPONENT_build)" = "1"; then \
|
||||
echo "Installing $(PACKAGE).gambas in $(GBLIBRARY_path)"; \
|
||||
$(INSTALL) -d $(DESTDIR)/$(GBLIBRARY_path); \
|
||||
$(INSTALL) $(PACKAGE).gambas $(DESTDIR)/$(GBLIBRARY_path); \
|
||||
echo "Installing $(PACKAGE).component in $(GBLIBRARY_path)"; \
|
||||
$(INSTALL) -d $(DESTDIR)/$(GBLIBRARY_path); \
|
||||
$(INSTALL) .component $(DESTDIR)/$(GBLIBRARY_path)/$(PACKAGE).component; \
|
||||
chmod a-x $(DESTDIR)/$(GBLIBRARY_path)/$(PACKAGE).component; \
|
||||
echo "Installing $(PACKAGE).info in $(GBINFO_path)"; \
|
||||
$(INSTALL) -d .info $(DESTDIR)/$(GBINFO_path); \
|
||||
$(INSTALL) .info $(DESTDIR)/$(GBINFO_path)/$(PACKAGE).info; \
|
||||
chmod a-x $(DESTDIR)/$(GBINFO_path)/$(PACKAGE).info; \
|
||||
echo "Installing $(PACKAGE).list in $(GBINFO_path)"; \
|
||||
$(INSTALL) .list $(DESTDIR)/$(GBINFO_path)/$(PACKAGE).list; \
|
||||
chmod a-x $(DESTDIR)/$(GBINFO_path)/$(PACKAGE).list; \
|
||||
if test -d .hidden/control; then \
|
||||
echo "Installing controls in $(GBCONTROL_path)"; \
|
||||
$(INSTALL) -d $(DESTDIR)/$(GBCONTROL_path)/$(PACKAGE); \
|
||||
$(INSTALL) .hidden/control/*.png $(DESTDIR)/$(GBCONTROL_path)/$(PACKAGE); \
|
||||
chmod a-x $(DESTDIR)/$(GBCONTROL_path)/$(PACKAGE)/*.png; \
|
||||
fi \
|
||||
else \
|
||||
echo "Installing $(PACKAGE).gambas file in $(bindir)..."; \
|
||||
$(INSTALL) -d $(DESTDIR)$(bindir); \
|
||||
$(INSTALL) $(PACKAGE).gambas $(DESTDIR)$(bindir); \
|
||||
fi)
|
||||
|
||||
uninstall-local:
|
||||
@(if test "$(COMPONENT_build)" = "1"; then \
|
||||
echo "Removing $(PACKAGE) component..."; \
|
||||
rm -f $(DESTDIR)/$(GBLIBRARY_path)/$(PACKAGE).gambas; \
|
||||
rm -f $(DESTDIR)/$(GBLIBRARY_path)/$(PACKAGE).component; \
|
||||
rm -f $(DESTDIR)/$(GBINFO_path)/$(PACKAGE).info; \
|
||||
rm -f $(DESTDIR)/$(GBINFO_path)/$(PACKAGE).list; \
|
||||
rm -rf $(DESTDIR)/$(GBCONTROL_path)/$(PACKAGE); \
|
||||
else \
|
||||
echo "Removing $(PACKAGE).gambas file..."; \
|
||||
rm -f $(DESTDIR)$(bindir)/$(PACKAGE).gambas; \
|
||||
fi)
|
||||
|
||||
dist-hook:
|
||||
@(cd $(distdir)/$(PACKAGES); \
|
||||
rm -rf `find . -name ".gambas" -o -name ".lock" -o -name ".xvpics" -o -name "*~" -o -name "*.out" -o -name "*.pot" -o -name "*.gambas" -o -name "core.*" -o -name ".kdbg*" -o -name ".svn"`;)
|
|
@ -0,0 +1,590 @@
|
|||
# Makefile.in generated by automake 1.13.3 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 = :
|
||||
subdir = .
|
||||
DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \
|
||||
$(srcdir)/Makefile.in $(srcdir)/Makefile.am \
|
||||
$(top_srcdir)/configure $(am__configure_deps) COPYING \
|
||||
install-sh missing
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
|
||||
$(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
||||
configure.lineno config.status.lineno
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
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__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
distdir = $(PACKAGE)-$(VERSION)
|
||||
top_distdir = $(distdir)
|
||||
am__remove_distdir = \
|
||||
if test -d "$(distdir)"; then \
|
||||
find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
|
||||
&& rm -rf "$(distdir)" \
|
||||
|| { sleep 5 && rm -rf "$(distdir)"; }; \
|
||||
else :; fi
|
||||
am__post_remove_distdir = $(am__remove_distdir)
|
||||
DIST_ARCHIVES = $(distdir).tar.gz
|
||||
GZIP_ENV = --best
|
||||
DIST_TARGETS = dist-gzip
|
||||
distuninstallcheck_listfiles = find . -type f -print
|
||||
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
|
||||
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
|
||||
distcleancheck_listfiles = find . -type f -print
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AMTAR = @AMTAR@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
COMPONENT_build = @COMPONENT_build@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
GAMBAS_path = @GAMBAS_path@
|
||||
GBCONTROL_path = @GBCONTROL_path@
|
||||
GBINFO_path = @GBINFO_path@
|
||||
GBLIBRARY_path = @GBLIBRARY_path@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
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@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
VERSION = @VERSION@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
bindir = @bindir@
|
||||
build_alias = @build_alias@
|
||||
builddir = @builddir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host_alias = @host_alias@
|
||||
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_alias = @target_alias@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
EXTRA_DIST = $(PACKAGE)
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
am--refresh: Makefile
|
||||
@:
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
|
||||
$(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
|
||||
&& exit 0; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
echo ' $(SHELL) ./config.status'; \
|
||||
$(SHELL) ./config.status;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
$(SHELL) ./config.status --recheck
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
$(am__cd) $(srcdir) && $(AUTOCONF)
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
||||
$(am__aclocal_m4_deps):
|
||||
tags TAGS:
|
||||
|
||||
ctags CTAGS:
|
||||
|
||||
cscope cscopelist:
|
||||
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
$(am__remove_distdir)
|
||||
test -d "$(distdir)" || mkdir "$(distdir)"
|
||||
@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
|
||||
$(MAKE) $(AM_MAKEFLAGS) \
|
||||
top_distdir="$(top_distdir)" distdir="$(distdir)" \
|
||||
dist-hook
|
||||
-test -n "$(am__skip_mode_fix)" \
|
||||
|| find "$(distdir)" -type d ! -perm -755 \
|
||||
-exec chmod u+rwx,go+rx {} \; -o \
|
||||
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|
||||
|| chmod -R a+r "$(distdir)"
|
||||
dist-gzip: distdir
|
||||
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
dist-bzip2: distdir
|
||||
tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
dist-lzip: distdir
|
||||
tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
dist-xz: distdir
|
||||
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
dist-tarZ: distdir
|
||||
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
dist-shar: distdir
|
||||
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
dist-zip: distdir
|
||||
-rm -f $(distdir).zip
|
||||
zip -rq $(distdir).zip $(distdir)
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
dist dist-all:
|
||||
$(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
# This target untars the dist file and tries a VPATH configuration. Then
|
||||
# it guarantees that the distribution is self-contained by making another
|
||||
# tarfile.
|
||||
distcheck: dist
|
||||
case '$(DIST_ARCHIVES)' in \
|
||||
*.tar.gz*) \
|
||||
GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
|
||||
*.tar.bz2*) \
|
||||
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
|
||||
*.tar.lz*) \
|
||||
lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
|
||||
*.tar.xz*) \
|
||||
xz -dc $(distdir).tar.xz | $(am__untar) ;;\
|
||||
*.tar.Z*) \
|
||||
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
|
||||
*.shar.gz*) \
|
||||
GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
|
||||
*.zip*) \
|
||||
unzip $(distdir).zip ;;\
|
||||
esac
|
||||
chmod -R a-w $(distdir)
|
||||
chmod u+w $(distdir)
|
||||
mkdir $(distdir)/_build $(distdir)/_inst
|
||||
chmod a-w $(distdir)
|
||||
test -d $(distdir)/_build || exit 0; \
|
||||
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
|
||||
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
|
||||
&& am__cwd=`pwd` \
|
||||
&& $(am__cd) $(distdir)/_build \
|
||||
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
|
||||
$(AM_DISTCHECK_CONFIGURE_FLAGS) \
|
||||
$(DISTCHECK_CONFIGURE_FLAGS) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
|
||||
distuninstallcheck \
|
||||
&& chmod -R a-w "$$dc_install_base" \
|
||||
&& ({ \
|
||||
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
|
||||
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
|
||||
} || { rm -rf "$$dc_destdir"; exit 1; }) \
|
||||
&& rm -rf "$$dc_destdir" \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
||||
&& rm -rf $(DIST_ARCHIVES) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
|
||||
&& cd "$$am__cwd" \
|
||||
|| exit 1
|
||||
$(am__post_remove_distdir)
|
||||
@(echo "$(distdir) archives ready for distribution: "; \
|
||||
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
|
||||
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
|
||||
distuninstallcheck:
|
||||
@test -n '$(distuninstallcheck_dir)' || { \
|
||||
echo 'ERROR: trying to run $@ with an empty' \
|
||||
'$$(distuninstallcheck_dir)' >&2; \
|
||||
exit 1; \
|
||||
}; \
|
||||
$(am__cd) '$(distuninstallcheck_dir)' || { \
|
||||
echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
|
||||
exit 1; \
|
||||
}; \
|
||||
test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
|
||||
|| { echo "ERROR: files left after uninstall:" ; \
|
||||
if test -n "$(DESTDIR)"; then \
|
||||
echo " (check DESTDIR support)"; \
|
||||
fi ; \
|
||||
$(distuninstallcheck_listfiles) ; \
|
||||
exit 1; } >&2
|
||||
distcleancheck: distclean
|
||||
@if test '$(srcdir)' = . ; then \
|
||||
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
|
||||
exit 1 ; \
|
||||
fi
|
||||
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|
||||
|| { echo "ERROR: files left in build directory after distclean:" ; \
|
||||
$(distcleancheck_listfiles) ; \
|
||||
exit 1; } >&2
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile
|
||||
installdirs:
|
||||
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 mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||
-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-dvi: install-dvi-am
|
||||
|
||||
install-dvi-am:
|
||||
|
||||
install-exec-am: install-exec-local
|
||||
|
||||
install-html: install-html-am
|
||||
|
||||
install-html-am:
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-info-am:
|
||||
|
||||
install-man:
|
||||
|
||||
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 $(am__CONFIG_DISTCLEAN_FILES)
|
||||
-rm -rf $(top_srcdir)/autom4te.cache
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-generic
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-local
|
||||
|
||||
.MAKE: install-am install-strip
|
||||
|
||||
.PHONY: all all-am am--refresh check check-am clean clean-generic \
|
||||
cscopelist-am ctags-am dist dist-all dist-bzip2 dist-gzip \
|
||||
dist-hook dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
|
||||
distcheck distclean distclean-generic distcleancheck distdir \
|
||||
distuninstallcheck 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-exec-local \
|
||||
install-html install-html-am install-info install-info-am \
|
||||
install-man install-pdf install-pdf-am install-ps \
|
||||
install-ps-am install-strip installcheck installcheck-am \
|
||||
installdirs maintainer-clean maintainer-clean-generic \
|
||||
mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags-am \
|
||||
uninstall uninstall-am uninstall-local
|
||||
|
||||
|
||||
all:
|
||||
@(if test "$(COMPONENT_build)" = "1"; then \
|
||||
echo "Building $(PACKAGE) component..."; \
|
||||
else \
|
||||
echo "Compiling $(PACKAGE) project..."; \
|
||||
fi)
|
||||
@(cd $(srcdir)/$(PACKAGE); \
|
||||
$(GAMBAS_path)/gbc3 -e -a -g -p -m -x ; \
|
||||
$(GAMBAS_path)/gba3)
|
||||
|
||||
install-exec-local:
|
||||
@(cd $(srcdir)/$(PACKAGE); \
|
||||
if test "$(COMPONENT_build)" = "1"; then \
|
||||
echo "Installing $(PACKAGE).gambas in $(GBLIBRARY_path)"; \
|
||||
$(INSTALL) -d $(DESTDIR)/$(GBLIBRARY_path); \
|
||||
$(INSTALL) $(PACKAGE).gambas $(DESTDIR)/$(GBLIBRARY_path); \
|
||||
echo "Installing $(PACKAGE).component in $(GBLIBRARY_path)"; \
|
||||
$(INSTALL) -d $(DESTDIR)/$(GBLIBRARY_path); \
|
||||
$(INSTALL) .component $(DESTDIR)/$(GBLIBRARY_path)/$(PACKAGE).component; \
|
||||
chmod a-x $(DESTDIR)/$(GBLIBRARY_path)/$(PACKAGE).component; \
|
||||
echo "Installing $(PACKAGE).info in $(GBINFO_path)"; \
|
||||
$(INSTALL) -d .info $(DESTDIR)/$(GBINFO_path); \
|
||||
$(INSTALL) .info $(DESTDIR)/$(GBINFO_path)/$(PACKAGE).info; \
|
||||
chmod a-x $(DESTDIR)/$(GBINFO_path)/$(PACKAGE).info; \
|
||||
echo "Installing $(PACKAGE).list in $(GBINFO_path)"; \
|
||||
$(INSTALL) .list $(DESTDIR)/$(GBINFO_path)/$(PACKAGE).list; \
|
||||
chmod a-x $(DESTDIR)/$(GBINFO_path)/$(PACKAGE).list; \
|
||||
if test -d .hidden/control; then \
|
||||
echo "Installing controls in $(GBCONTROL_path)"; \
|
||||
$(INSTALL) -d $(DESTDIR)/$(GBCONTROL_path)/$(PACKAGE); \
|
||||
$(INSTALL) .hidden/control/*.png $(DESTDIR)/$(GBCONTROL_path)/$(PACKAGE); \
|
||||
chmod a-x $(DESTDIR)/$(GBCONTROL_path)/$(PACKAGE)/*.png; \
|
||||
fi \
|
||||
else \
|
||||
echo "Installing $(PACKAGE).gambas file in $(bindir)..."; \
|
||||
$(INSTALL) -d $(DESTDIR)$(bindir); \
|
||||
$(INSTALL) $(PACKAGE).gambas $(DESTDIR)$(bindir); \
|
||||
fi)
|
||||
|
||||
uninstall-local:
|
||||
@(if test "$(COMPONENT_build)" = "1"; then \
|
||||
echo "Removing $(PACKAGE) component..."; \
|
||||
rm -f $(DESTDIR)/$(GBLIBRARY_path)/$(PACKAGE).gambas; \
|
||||
rm -f $(DESTDIR)/$(GBLIBRARY_path)/$(PACKAGE).component; \
|
||||
rm -f $(DESTDIR)/$(GBINFO_path)/$(PACKAGE).info; \
|
||||
rm -f $(DESTDIR)/$(GBINFO_path)/$(PACKAGE).list; \
|
||||
rm -rf $(DESTDIR)/$(GBCONTROL_path)/$(PACKAGE); \
|
||||
else \
|
||||
echo "Removing $(PACKAGE).gambas file..."; \
|
||||
rm -f $(DESTDIR)$(bindir)/$(PACKAGE).gambas; \
|
||||
fi)
|
||||
|
||||
dist-hook:
|
||||
@(cd $(distdir)/$(PACKAGES); \
|
||||
rm -rf `find . -name ".gambas" -o -name ".lock" -o -name ".xvpics" -o -name "*~" -o -name "*.out" -o -name "*.pot" -o -name "*.gambas" -o -name "core.*" -o -name ".kdbg*" -o -name ".svn"`;)
|
||||
|
||||
# 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:
|
|
@ -0,0 +1,8 @@
|
|||
I-Nex is an application that gathers information for hardware components available on your system and displays it using an user interface similar to the popular Windows tool CPU-Z.
|
||||
|
||||
I-Nex can display information for the following components: CPU, GPU, Motherboard, Sound, Hard disks, RAM, Network and USB as well as some system info like the hostname, Linux distribution and version, Xorg, GCC, GLX versions and Linux Kernel info.
|
||||
|
||||
|
||||
The difference between I-Nex and the other hardware information GUI tools available for Linux is that the information is better organized and is displayed faster (than lshw-gtk for instance). Also, the hardware information is presented in a way that’s easier to understand than other such tools.
|
||||
|
||||
Besides being able to display hardware information, I-Nex can also generate an advanced report for which you can select what to include and optionally send the report to a service such as Pastebin (and others). It also features an option to take a screenshot of the I-Nex window directly from the application.
|
|
@ -0,0 +1,153 @@
|
|||
#######################################################################################
|
||||
##
|
||||
## GB_FIND() macro is part of gambas3 project
|
||||
## by Benoit Minisini
|
||||
## others are from me (Laurent Carlier)
|
||||
##
|
||||
#######################################################################################
|
||||
|
||||
## ---------------------------------------------------------------------------
|
||||
## GB_INIT_PROJECT
|
||||
## Initialization and checking for gambas things
|
||||
##
|
||||
## $1 = gambas3 project to build
|
||||
## ---------------------------------------------------------------------------
|
||||
|
||||
AC_DEFUN([GB_INIT_PROJECT],
|
||||
[
|
||||
if !(test -e $1/.project); then
|
||||
AC_MSG_ERROR(Cannot find .project file for $1 !)
|
||||
fi
|
||||
|
||||
##AM_INIT_AUTOMAKE($1, `cat $1/.project | grep "^Version=" | sed s/"Version="//g`)
|
||||
AM_INIT_AUTOMAKE($1, 0.6.4)
|
||||
|
||||
## List of needed components
|
||||
COMPONENTS=`cat $1/.project | grep "^Component=" | sed s/"Component="//g`
|
||||
|
||||
## Check if the project is a component
|
||||
COMPONENT_build=`cat $1/.project | grep "^Type=Component" | sed s/"Type=Component"/1/g`
|
||||
AC_SUBST(COMPONENT_build)
|
||||
|
||||
AC_MSG_CHECKING(for gambas3 binaries)
|
||||
GAMBAS_path=`gbx3 -e system.path`/bin
|
||||
if test "$?" != "0"; then
|
||||
AC_MSG_RESULT(No)
|
||||
AC_MSG_ERROR(Failed to find gambas3 utilities, check your gambas3 installation !)
|
||||
else
|
||||
AC_MSG_RESULT(Ok)
|
||||
AC_SUBST(GAMBAS_path)
|
||||
fi
|
||||
|
||||
## Find component components path
|
||||
AC_MSG_CHECKING(for gambas3 components path)
|
||||
GBLIBRARY_path=`gbx3 -e component.path`
|
||||
if test "$?" != "0"; then
|
||||
AC_MSG_RESULT(No)
|
||||
AC_MSG_ERROR(Failed to find gambas3 library path !)
|
||||
else
|
||||
AC_MSG_RESULT(Ok)
|
||||
AC_SUBST(GBLIBRARY_path)
|
||||
fi
|
||||
|
||||
GBINFO_path=`echo $GBLIBRARY_path | sed s/"\/lib\/gambas3"/"\/share\/gambas3\/info"/`
|
||||
AC_SUBST(GBINFO_path)
|
||||
|
||||
GBCONTROL_path=`echo $GBLIBRARY_path | sed s/"\/lib\/gambas3"/"\/share\/gambas3\/control"/`
|
||||
AC_SUBST(GBCONTROL_path)
|
||||
|
||||
GBHOME_path=`gbx3 -e user.home`/.local/lib/gambas3
|
||||
|
||||
for comp in $COMPONENTS; do
|
||||
if test "$comp" = "$1"; then continue; fi
|
||||
AC_MSG_CHECKING(for $comp component)
|
||||
GB_FIND(${comp}.component, $GBLIBRARY_path $GBHOME_path, ./)
|
||||
if test "$gb_val" = "no"; then
|
||||
AC_MSG_RESULT(No)
|
||||
AC_MSG_ERROR(Failed to find $comp component !)
|
||||
else
|
||||
AC_MSG_RESULT(Ok)
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
])
|
||||
|
||||
## ---------------------------------------------------------------------------
|
||||
## GB_FIND
|
||||
## Find files in directories
|
||||
##
|
||||
## $1 = Files to search
|
||||
## $2 = Directories
|
||||
## $3 = Sub-directories patterns
|
||||
##
|
||||
## Returns a path list in $gb_val
|
||||
## ---------------------------------------------------------------------------
|
||||
|
||||
AC_DEFUN([GB_FIND],
|
||||
[
|
||||
dnl echo "Searching $1, $2, $3"
|
||||
gb_val=""
|
||||
gb_save=`pwd`
|
||||
gb_file_list="$1"
|
||||
|
||||
for gb_main_dir in $2; do
|
||||
if test -d $gb_main_dir; then
|
||||
cd $gb_main_dir
|
||||
for gb_search_dir in $3; do
|
||||
for gb_dir in $gb_search_dir/ $gb_search_dir/*/ $gb_search_dir/*/*/; do
|
||||
|
||||
gb_new_file_list=""
|
||||
gb_find_dir=""
|
||||
|
||||
for gb_file in $gb_file_list; do
|
||||
|
||||
gb_find=no
|
||||
if test -r "$gb_main_dir/$gb_dir/$gb_file" || test -d "$gb_main_dir/$gb_dir/$gb_file"; then
|
||||
|
||||
ifelse($4,[],
|
||||
|
||||
gb_find=yes,
|
||||
|
||||
for gb_test in $4; do
|
||||
gb_output=`ls -la $gb_main_dir/$gb_dir/$gb_file | grep "$gb_test"`
|
||||
if test "x$gb_output" != "x"; then
|
||||
gb_find=yes
|
||||
fi
|
||||
done
|
||||
)
|
||||
|
||||
fi
|
||||
|
||||
if test "$gb_find" = "yes"; then
|
||||
if test "x$gb_find_dir" = "x"; then
|
||||
if test "x$gb_val" = "x"; then
|
||||
gb_val="$gb_main_dir/$gb_dir"
|
||||
else
|
||||
gb_val="$gb_val $gb_main_dir/$gb_dir"
|
||||
fi
|
||||
fi
|
||||
gb_find_dir=yes
|
||||
else
|
||||
gb_new_file_list="$gb_new_file_list $gb_file"
|
||||
fi
|
||||
|
||||
done
|
||||
|
||||
gb_file_list=$gb_new_file_list
|
||||
|
||||
if test "x$gb_file_list" = "x " || test "x$gb_file_list" = "x"; then
|
||||
break 3
|
||||
fi
|
||||
|
||||
done
|
||||
done
|
||||
fi
|
||||
done
|
||||
|
||||
if test "x$gb_file_list" != "x " && test "x$gb_file_list" != "x"; then
|
||||
gb_val=no
|
||||
fi
|
||||
|
||||
cd $gb_save
|
||||
])
|
|
@ -0,0 +1,692 @@
|
|||
# generated automatically by aclocal 1.13.3 -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
|
||||
|
||||
# This file 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.
|
||||
|
||||
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
|
||||
m4_ifndef([AC_AUTOCONF_VERSION],
|
||||
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
||||
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
|
||||
[m4_warning([this file was generated for autoconf 2.69.
|
||||
You have another version of autoconf. It may work, but is not guaranteed to.
|
||||
If you have problems, you may need to regenerate the build system entirely.
|
||||
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
|
||||
|
||||
# Copyright (C) 2002-2013 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# AM_AUTOMAKE_VERSION(VERSION)
|
||||
# ----------------------------
|
||||
# Automake X.Y traces this macro to ensure aclocal.m4 has been
|
||||
# generated from the m4 files accompanying Automake X.Y.
|
||||
# (This private macro should not be called outside this file.)
|
||||
AC_DEFUN([AM_AUTOMAKE_VERSION],
|
||||
[am__api_version='1.13'
|
||||
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
|
||||
dnl require some minimum version. Point them to the right macro.
|
||||
m4_if([$1], [1.13.3], [],
|
||||
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
|
||||
])
|
||||
|
||||
# _AM_AUTOCONF_VERSION(VERSION)
|
||||
# -----------------------------
|
||||
# aclocal traces this macro to find the Autoconf version.
|
||||
# This is a private macro too. Using m4_define simplifies
|
||||
# the logic in aclocal, which can simply ignore this definition.
|
||||
m4_define([_AM_AUTOCONF_VERSION], [])
|
||||
|
||||
# AM_SET_CURRENT_AUTOMAKE_VERSION
|
||||
# -------------------------------
|
||||
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
|
||||
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
|
||||
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
|
||||
[AM_AUTOMAKE_VERSION([1.13.3])dnl
|
||||
m4_ifndef([AC_AUTOCONF_VERSION],
|
||||
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
||||
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
|
||||
|
||||
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
|
||||
# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
|
||||
# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
|
||||
#
|
||||
# Of course, Automake must honor this variable whenever it calls a
|
||||
# tool from the auxiliary directory. The problem is that $srcdir (and
|
||||
# therefore $ac_aux_dir as well) can be either absolute or relative,
|
||||
# depending on how configure is run. This is pretty annoying, since
|
||||
# it makes $ac_aux_dir quite unusable in subdirectories: in the top
|
||||
# source directory, any form will work fine, but in subdirectories a
|
||||
# relative path needs to be adjusted first.
|
||||
#
|
||||
# $ac_aux_dir/missing
|
||||
# fails when called from a subdirectory if $ac_aux_dir is relative
|
||||
# $top_srcdir/$ac_aux_dir/missing
|
||||
# fails if $ac_aux_dir is absolute,
|
||||
# fails when called from a subdirectory in a VPATH build with
|
||||
# a relative $ac_aux_dir
|
||||
#
|
||||
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
|
||||
# are both prefixed by $srcdir. In an in-source build this is usually
|
||||
# harmless because $srcdir is '.', but things will broke when you
|
||||
# start a VPATH build or use an absolute $srcdir.
|
||||
#
|
||||
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
|
||||
# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
|
||||
# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
|
||||
# and then we would define $MISSING as
|
||||
# MISSING="\${SHELL} $am_aux_dir/missing"
|
||||
# This will work as long as MISSING is not called from configure, because
|
||||
# unfortunately $(top_srcdir) has no meaning in configure.
|
||||
# However there are other variables, like CC, which are often used in
|
||||
# configure, and could therefore not use this "fixed" $ac_aux_dir.
|
||||
#
|
||||
# Another solution, used here, is to always expand $ac_aux_dir to an
|
||||
# absolute PATH. The drawback is that using absolute paths prevent a
|
||||
# configured tree to be moved without reconfiguration.
|
||||
|
||||
AC_DEFUN([AM_AUX_DIR_EXPAND],
|
||||
[dnl Rely on autoconf to set up CDPATH properly.
|
||||
AC_PREREQ([2.50])dnl
|
||||
# expand $ac_aux_dir to an absolute path
|
||||
am_aux_dir=`cd $ac_aux_dir && pwd`
|
||||
])
|
||||
|
||||
# Do all the work for Automake. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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 macro actually does too much. Some checks are only needed if
|
||||
# your package does certain things. But this isn't really a big deal.
|
||||
|
||||
# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
|
||||
# AM_INIT_AUTOMAKE([OPTIONS])
|
||||
# -----------------------------------------------
|
||||
# The call with PACKAGE and VERSION arguments is the old style
|
||||
# call (pre autoconf-2.50), which is being phased out. PACKAGE
|
||||
# and VERSION should now be passed to AC_INIT and removed from
|
||||
# the call to AM_INIT_AUTOMAKE.
|
||||
# We support both call styles for the transition. After
|
||||
# the next Automake release, Autoconf can make the AC_INIT
|
||||
# arguments mandatory, and then we can depend on a new Autoconf
|
||||
# release and drop the old call support.
|
||||
AC_DEFUN([AM_INIT_AUTOMAKE],
|
||||
[AC_PREREQ([2.65])dnl
|
||||
dnl Autoconf wants to disallow AM_ names. We explicitly allow
|
||||
dnl the ones we care about.
|
||||
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
|
||||
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
|
||||
AC_REQUIRE([AC_PROG_INSTALL])dnl
|
||||
if test "`cd $srcdir && pwd`" != "`pwd`"; then
|
||||
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
|
||||
# is not polluted with repeated "-I."
|
||||
AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
|
||||
# test to see if srcdir already configured
|
||||
if test -f $srcdir/config.status; then
|
||||
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
|
||||
fi
|
||||
fi
|
||||
|
||||
# test whether we have cygpath
|
||||
if test -z "$CYGPATH_W"; then
|
||||
if (cygpath --version) >/dev/null 2>/dev/null; then
|
||||
CYGPATH_W='cygpath -w'
|
||||
else
|
||||
CYGPATH_W=echo
|
||||
fi
|
||||
fi
|
||||
AC_SUBST([CYGPATH_W])
|
||||
|
||||
# Define the identity of the package.
|
||||
dnl Distinguish between old-style and new-style calls.
|
||||
m4_ifval([$2],
|
||||
[AC_DIAGNOSE([obsolete],
|
||||
[$0: two- and three-arguments forms are deprecated.])
|
||||
m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
|
||||
AC_SUBST([PACKAGE], [$1])dnl
|
||||
AC_SUBST([VERSION], [$2])],
|
||||
[_AM_SET_OPTIONS([$1])dnl
|
||||
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
|
||||
m4_if(
|
||||
m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
|
||||
[ok:ok],,
|
||||
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
|
||||
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
|
||||
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
|
||||
|
||||
_AM_IF_OPTION([no-define],,
|
||||
[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
|
||||
AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
|
||||
|
||||
# Some tools Automake needs.
|
||||
AC_REQUIRE([AM_SANITY_CHECK])dnl
|
||||
AC_REQUIRE([AC_ARG_PROGRAM])dnl
|
||||
AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
|
||||
AM_MISSING_PROG([AUTOCONF], [autoconf])
|
||||
AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
|
||||
AM_MISSING_PROG([AUTOHEADER], [autoheader])
|
||||
AM_MISSING_PROG([MAKEINFO], [makeinfo])
|
||||
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
|
||||
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
|
||||
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
|
||||
# For better backward compatibility. To be removed once Automake 1.9.x
|
||||
# dies out for good. For more background, see:
|
||||
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
|
||||
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
|
||||
AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
|
||||
# We need awk for the "check" target. The system "awk" is bad on
|
||||
# some platforms.
|
||||
AC_REQUIRE([AC_PROG_AWK])dnl
|
||||
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
|
||||
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
|
||||
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
|
||||
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
|
||||
[_AM_PROG_TAR([v7])])])
|
||||
_AM_IF_OPTION([no-dependencies],,
|
||||
[AC_PROVIDE_IFELSE([AC_PROG_CC],
|
||||
[_AM_DEPENDENCIES([CC])],
|
||||
[m4_define([AC_PROG_CC],
|
||||
m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
|
||||
AC_PROVIDE_IFELSE([AC_PROG_CXX],
|
||||
[_AM_DEPENDENCIES([CXX])],
|
||||
[m4_define([AC_PROG_CXX],
|
||||
m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
|
||||
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
|
||||
[_AM_DEPENDENCIES([OBJC])],
|
||||
[m4_define([AC_PROG_OBJC],
|
||||
m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
|
||||
AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
|
||||
[_AM_DEPENDENCIES([OBJCXX])],
|
||||
[m4_define([AC_PROG_OBJCXX],
|
||||
m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
|
||||
])
|
||||
AC_REQUIRE([AM_SILENT_RULES])dnl
|
||||
dnl The testsuite driver may need to know about EXEEXT, so add the
|
||||
dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
|
||||
dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
|
||||
AC_CONFIG_COMMANDS_PRE(dnl
|
||||
[m4_provide_if([_AM_COMPILER_EXEEXT],
|
||||
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
|
||||
])
|
||||
|
||||
dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
|
||||
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
|
||||
dnl mangled by Autoconf and run in a shell conditional statement.
|
||||
m4_define([_AC_COMPILER_EXEEXT],
|
||||
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
|
||||
|
||||
|
||||
# When config.status generates a header, we must update the stamp-h file.
|
||||
# This file resides in the same directory as the config header
|
||||
# that is generated. The stamp files are numbered to have different names.
|
||||
|
||||
# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
|
||||
# loop where config.status creates the headers, so we can generate
|
||||
# our stamp files there.
|
||||
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
|
||||
[# Compute $1's index in $config_headers.
|
||||
_am_arg=$1
|
||||
_am_stamp_count=1
|
||||
for _am_header in $config_headers :; do
|
||||
case $_am_header in
|
||||
$_am_arg | $_am_arg:* )
|
||||
break ;;
|
||||
* )
|
||||
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
||||
esac
|
||||
done
|
||||
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
|
||||
|
||||
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# AM_PROG_INSTALL_SH
|
||||
# ------------------
|
||||
# Define $install_sh.
|
||||
AC_DEFUN([AM_PROG_INSTALL_SH],
|
||||
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
||||
if test x"${install_sh}" != xset; then
|
||||
case $am_aux_dir in
|
||||
*\ * | *\ *)
|
||||
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
|
||||
*)
|
||||
install_sh="\${SHELL} $am_aux_dir/install-sh"
|
||||
esac
|
||||
fi
|
||||
AC_SUBST([install_sh])])
|
||||
|
||||
# Copyright (C) 2003-2013 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# Check whether the underlying file-system supports filenames
|
||||
# with a leading dot. For instance MS-DOS doesn't.
|
||||
AC_DEFUN([AM_SET_LEADING_DOT],
|
||||
[rm -rf .tst 2>/dev/null
|
||||
mkdir .tst 2>/dev/null
|
||||
if test -d .tst; then
|
||||
am__leading_dot=.
|
||||
else
|
||||
am__leading_dot=_
|
||||
fi
|
||||
rmdir .tst 2>/dev/null
|
||||
AC_SUBST([am__leading_dot])])
|
||||
|
||||
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1997-2013 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# AM_MISSING_PROG(NAME, PROGRAM)
|
||||
# ------------------------------
|
||||
AC_DEFUN([AM_MISSING_PROG],
|
||||
[AC_REQUIRE([AM_MISSING_HAS_RUN])
|
||||
$1=${$1-"${am_missing_run}$2"}
|
||||
AC_SUBST($1)])
|
||||
|
||||
# AM_MISSING_HAS_RUN
|
||||
# ------------------
|
||||
# Define MISSING if not defined so far and test if it is modern enough.
|
||||
# If it is, set am_missing_run to use it, otherwise, to nothing.
|
||||
AC_DEFUN([AM_MISSING_HAS_RUN],
|
||||
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
||||
AC_REQUIRE_AUX_FILE([missing])dnl
|
||||
if test x"${MISSING+set}" != xset; then
|
||||
case $am_aux_dir in
|
||||
*\ * | *\ *)
|
||||
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
|
||||
*)
|
||||
MISSING="\${SHELL} $am_aux_dir/missing" ;;
|
||||
esac
|
||||
fi
|
||||
# Use eval to expand $SHELL
|
||||
if eval "$MISSING --is-lightweight"; then
|
||||
am_missing_run="$MISSING "
|
||||
else
|
||||
am_missing_run=
|
||||
AC_MSG_WARN(['missing' script is too old or missing])
|
||||
fi
|
||||
])
|
||||
|
||||
# Helper functions for option handling. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# _AM_MANGLE_OPTION(NAME)
|
||||
# -----------------------
|
||||
AC_DEFUN([_AM_MANGLE_OPTION],
|
||||
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
|
||||
|
||||
# _AM_SET_OPTION(NAME)
|
||||
# --------------------
|
||||
# Set option NAME. Presently that only means defining a flag for this option.
|
||||
AC_DEFUN([_AM_SET_OPTION],
|
||||
[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
|
||||
|
||||
# _AM_SET_OPTIONS(OPTIONS)
|
||||
# ------------------------
|
||||
# OPTIONS is a space-separated list of Automake options.
|
||||
AC_DEFUN([_AM_SET_OPTIONS],
|
||||
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
|
||||
|
||||
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
|
||||
# -------------------------------------------
|
||||
# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
|
||||
AC_DEFUN([_AM_IF_OPTION],
|
||||
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
|
||||
|
||||
# Check to make sure that the build environment is sane. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# AM_SANITY_CHECK
|
||||
# ---------------
|
||||
AC_DEFUN([AM_SANITY_CHECK],
|
||||
[AC_MSG_CHECKING([whether build environment is sane])
|
||||
# Reject unsafe characters in $srcdir or the absolute working directory
|
||||
# name. Accept space and tab only in the latter.
|
||||
am_lf='
|
||||
'
|
||||
case `pwd` in
|
||||
*[[\\\"\#\$\&\'\`$am_lf]]*)
|
||||
AC_MSG_ERROR([unsafe absolute working directory name]);;
|
||||
esac
|
||||
case $srcdir in
|
||||
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
|
||||
AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
|
||||
esac
|
||||
|
||||
# Do 'set' in a subshell so we don't clobber the current shell's
|
||||
# arguments. Must try -L first in case configure is actually a
|
||||
# symlink; some systems play weird games with the mod time of symlinks
|
||||
# (eg FreeBSD returns the mod time of the symlink's containing
|
||||
# directory).
|
||||
if (
|
||||
am_has_slept=no
|
||||
for am_try in 1 2; do
|
||||
echo "timestamp, slept: $am_has_slept" > conftest.file
|
||||
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
|
||||
if test "$[*]" = "X"; then
|
||||
# -L didn't work.
|
||||
set X `ls -t "$srcdir/configure" conftest.file`
|
||||
fi
|
||||
if test "$[*]" != "X $srcdir/configure conftest.file" \
|
||||
&& test "$[*]" != "X conftest.file $srcdir/configure"; then
|
||||
|
||||
# If neither matched, then we have a broken ls. This can happen
|
||||
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
||||
# broken ls alias from the environment. This has actually
|
||||
# happened. Such a system could not be considered "sane".
|
||||
AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
|
||||
alias in your environment])
|
||||
fi
|
||||
if test "$[2]" = conftest.file || test $am_try -eq 2; then
|
||||
break
|
||||
fi
|
||||
# Just in case.
|
||||
sleep 1
|
||||
am_has_slept=yes
|
||||
done
|
||||
test "$[2]" = conftest.file
|
||||
)
|
||||
then
|
||||
# Ok.
|
||||
:
|
||||
else
|
||||
AC_MSG_ERROR([newly created file is older than distributed files!
|
||||
Check your system clock])
|
||||
fi
|
||||
AC_MSG_RESULT([yes])
|
||||
# If we didn't sleep, we still need to ensure time stamps of config.status and
|
||||
# generated files are strictly newer.
|
||||
am_sleep_pid=
|
||||
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
|
||||
( sleep 1 ) &
|
||||
am_sleep_pid=$!
|
||||
fi
|
||||
AC_CONFIG_COMMANDS_PRE(
|
||||
[AC_MSG_CHECKING([that generated files are newer than configure])
|
||||
if test -n "$am_sleep_pid"; then
|
||||
# Hide warnings about reused PIDs.
|
||||
wait $am_sleep_pid 2>/dev/null
|
||||
fi
|
||||
AC_MSG_RESULT([done])])
|
||||
rm -f conftest.file
|
||||
])
|
||||
|
||||
# Copyright (C) 2009-2013 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# AM_SILENT_RULES([DEFAULT])
|
||||
# --------------------------
|
||||
# Enable less verbose build rules; with the default set to DEFAULT
|
||||
# ("yes" being less verbose, "no" or empty being verbose).
|
||||
AC_DEFUN([AM_SILENT_RULES],
|
||||
[AC_ARG_ENABLE([silent-rules], [dnl
|
||||
AS_HELP_STRING(
|
||||
[--enable-silent-rules],
|
||||
[less verbose build output (undo: "make V=1")])
|
||||
AS_HELP_STRING(
|
||||
[--disable-silent-rules],
|
||||
[verbose build output (undo: "make V=0")])dnl
|
||||
])
|
||||
case $enable_silent_rules in @%:@ (((
|
||||
yes) AM_DEFAULT_VERBOSITY=0;;
|
||||
no) AM_DEFAULT_VERBOSITY=1;;
|
||||
*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
|
||||
esac
|
||||
dnl
|
||||
dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
|
||||
dnl do not support nested variable expansions.
|
||||
dnl See automake bug#9928 and bug#10237.
|
||||
am_make=${MAKE-make}
|
||||
AC_CACHE_CHECK([whether $am_make supports nested variables],
|
||||
[am_cv_make_support_nested_variables],
|
||||
[if AS_ECHO([['TRUE=$(BAR$(V))
|
||||
BAR0=false
|
||||
BAR1=true
|
||||
V=1
|
||||
am__doit:
|
||||
@$(TRUE)
|
||||
.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
|
||||
am_cv_make_support_nested_variables=yes
|
||||
else
|
||||
am_cv_make_support_nested_variables=no
|
||||
fi])
|
||||
if test $am_cv_make_support_nested_variables = yes; then
|
||||
dnl Using '$V' instead of '$(V)' breaks IRIX make.
|
||||
AM_V='$(V)'
|
||||
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
|
||||
else
|
||||
AM_V=$AM_DEFAULT_VERBOSITY
|
||||
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
|
||||
fi
|
||||
AC_SUBST([AM_V])dnl
|
||||
AM_SUBST_NOTMAKE([AM_V])dnl
|
||||
AC_SUBST([AM_DEFAULT_V])dnl
|
||||
AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
|
||||
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
|
||||
AM_BACKSLASH='\'
|
||||
AC_SUBST([AM_BACKSLASH])dnl
|
||||
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
|
||||
])
|
||||
|
||||
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# AM_PROG_INSTALL_STRIP
|
||||
# ---------------------
|
||||
# One issue with vendor 'install' (even GNU) is that you can't
|
||||
# specify the program used to strip binaries. This is especially
|
||||
# annoying in cross-compiling environments, where the build's strip
|
||||
# is unlikely to handle the host's binaries.
|
||||
# Fortunately install-sh will honor a STRIPPROG variable, so we
|
||||
# always use install-sh in "make install-strip", and initialize
|
||||
# STRIPPROG with the value of the STRIP variable (set by the user).
|
||||
AC_DEFUN([AM_PROG_INSTALL_STRIP],
|
||||
[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
|
||||
# Installed binaries are usually stripped using 'strip' when the user
|
||||
# run "make install-strip". However 'strip' might not be the right
|
||||
# tool to use in cross-compilation environments, therefore Automake
|
||||
# will honor the 'STRIP' environment variable to overrule this program.
|
||||
dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
|
||||
if test "$cross_compiling" != no; then
|
||||
AC_CHECK_TOOL([STRIP], [strip], :)
|
||||
fi
|
||||
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
||||
AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
||||
|
||||
# Copyright (C) 2006-2013 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# _AM_SUBST_NOTMAKE(VARIABLE)
|
||||
# ---------------------------
|
||||
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
|
||||
# This macro is traced by Automake.
|
||||
AC_DEFUN([_AM_SUBST_NOTMAKE])
|
||||
|
||||
# AM_SUBST_NOTMAKE(VARIABLE)
|
||||
# --------------------------
|
||||
# Public sister of _AM_SUBST_NOTMAKE.
|
||||
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
|
||||
|
||||
# Check how to create a tarball. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 2004-2013 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# _AM_PROG_TAR(FORMAT)
|
||||
# --------------------
|
||||
# Check how to create a tarball in format FORMAT.
|
||||
# FORMAT should be one of 'v7', 'ustar', or 'pax'.
|
||||
#
|
||||
# Substitute a variable $(am__tar) that is a command
|
||||
# writing to stdout a FORMAT-tarball containing the directory
|
||||
# $tardir.
|
||||
# tardir=directory && $(am__tar) > result.tar
|
||||
#
|
||||
# Substitute a variable $(am__untar) that extract such
|
||||
# a tarball read from stdin.
|
||||
# $(am__untar) < result.tar
|
||||
#
|
||||
AC_DEFUN([_AM_PROG_TAR],
|
||||
[# Always define AMTAR for backward compatibility. Yes, it's still used
|
||||
# in the wild :-( We should find a proper way to deprecate it ...
|
||||
AC_SUBST([AMTAR], ['$${TAR-tar}'])
|
||||
|
||||
# We'll loop over all known methods to create a tar archive until one works.
|
||||
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
|
||||
|
||||
m4_if([$1], [v7],
|
||||
[am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
|
||||
|
||||
[m4_case([$1],
|
||||
[ustar],
|
||||
[# The POSIX 1988 'ustar' format is defined with fixed-size fields.
|
||||
# There is notably a 21 bits limit for the UID and the GID. In fact,
|
||||
# the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
|
||||
# and bug#13588).
|
||||
am_max_uid=2097151 # 2^21 - 1
|
||||
am_max_gid=$am_max_uid
|
||||
# The $UID and $GID variables are not portable, so we need to resort
|
||||
# to the POSIX-mandated id(1) utility. Errors in the 'id' calls
|
||||
# below are definitely unexpected, so allow the users to see them
|
||||
# (that is, avoid stderr redirection).
|
||||
am_uid=`id -u || echo unknown`
|
||||
am_gid=`id -g || echo unknown`
|
||||
AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
|
||||
if test $am_uid -le $am_max_uid; then
|
||||
AC_MSG_RESULT([yes])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
_am_tools=none
|
||||
fi
|
||||
AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
|
||||
if test $am_gid -le $am_max_gid; then
|
||||
AC_MSG_RESULT([yes])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
_am_tools=none
|
||||
fi],
|
||||
|
||||
[pax],
|
||||
[],
|
||||
|
||||
[m4_fatal([Unknown tar format])])
|
||||
|
||||
AC_MSG_CHECKING([how to create a $1 tar archive])
|
||||
|
||||
# Go ahead even if we have the value already cached. We do so because we
|
||||
# need to set the values for the 'am__tar' and 'am__untar' variables.
|
||||
_am_tools=${am_cv_prog_tar_$1-$_am_tools}
|
||||
|
||||
for _am_tool in $_am_tools; do
|
||||
case $_am_tool in
|
||||
gnutar)
|
||||
for _am_tar in tar gnutar gtar; do
|
||||
AM_RUN_LOG([$_am_tar --version]) && break
|
||||
done
|
||||
am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
|
||||
am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
|
||||
am__untar="$_am_tar -xf -"
|
||||
;;
|
||||
plaintar)
|
||||
# Must skip GNU tar: if it does not support --format= it doesn't create
|
||||
# ustar tarball either.
|
||||
(tar --version) >/dev/null 2>&1 && continue
|
||||
am__tar='tar chf - "$$tardir"'
|
||||
am__tar_='tar chf - "$tardir"'
|
||||
am__untar='tar xf -'
|
||||
;;
|
||||
pax)
|
||||
am__tar='pax -L -x $1 -w "$$tardir"'
|
||||
am__tar_='pax -L -x $1 -w "$tardir"'
|
||||
am__untar='pax -r'
|
||||
;;
|
||||
cpio)
|
||||
am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
|
||||
am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
|
||||
am__untar='cpio -i -H $1 -d'
|
||||
;;
|
||||
none)
|
||||
am__tar=false
|
||||
am__tar_=false
|
||||
am__untar=false
|
||||
;;
|
||||
esac
|
||||
|
||||
# If the value was cached, stop now. We just wanted to have am__tar
|
||||
# and am__untar set.
|
||||
test -n "${am_cv_prog_tar_$1}" && break
|
||||
|
||||
# tar/untar a dummy directory, and stop if the command works.
|
||||
rm -rf conftest.dir
|
||||
mkdir conftest.dir
|
||||
echo GrepMe > conftest.dir/file
|
||||
AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
|
||||
rm -rf conftest.dir
|
||||
if test -s conftest.tar; then
|
||||
AM_RUN_LOG([$am__untar <conftest.tar])
|
||||
AM_RUN_LOG([cat conftest.dir/file])
|
||||
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
|
||||
fi
|
||||
done
|
||||
rm -rf conftest.dir
|
||||
|
||||
AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
|
||||
AC_MSG_RESULT([$am_cv_prog_tar_$1])])
|
||||
|
||||
AC_SUBST([am__tar])
|
||||
AC_SUBST([am__untar])
|
||||
]) # _AM_PROG_TAR
|
||||
|
||||
m4_include([acinclude.m4])
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,8 @@
|
|||
dnl -- package generated with gambas3 ide --
|
||||
|
||||
AC_INIT(configure.ac)
|
||||
GB_INIT_PROJECT(i-nex)
|
||||
|
||||
dnl -- create makefile --
|
||||
|
||||
AC_OUTPUT(Makefile)
|
|
@ -24,7 +24,7 @@ Url=http://i-nex.linux.pl/
|
|||
License=General Public Licence
|
||||
PackageName=i-nex-0.6.4
|
||||
Packager=1
|
||||
Systems=ubuntu
|
||||
Systems=autotools
|
||||
Menus=archlinux:"Applications/System/Administration"
|
||||
Categories=archlinux:"System"
|
||||
Groups=archlinux:"admin"
|
||||
|
|
|
@ -48,8 +48,8 @@ File[20]=".src/Input_Devices.module:15.70"
|
|||
File[21]=".src/net.module:15.70"
|
||||
File[22]="Data/report-ng.sh:5.3"
|
||||
File[23]=".src/Distribution_Detect.module:15.70"
|
||||
File[24]=".src/FFlags.module:70.20"
|
||||
File[25]=".src/Finfosys.class:997.28"
|
||||
File[24]=".src/FFlags.module:70.19"
|
||||
File[25]=".src/Finfosys.class:911.0"
|
||||
File[26]=".src/FDF.form"
|
||||
File[27]=".src/FDF.class:15.70"
|
||||
File[28]=".src/FNET_R_T.form"
|
||||
|
|
|
@ -0,0 +1,527 @@
|
|||
#!/bin/sh
|
||||
# install - install a program, script, or datafile
|
||||
|
||||
scriptversion=2011-11-20.07; # UTC
|
||||
|
||||
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
||||
# later released in X11R6 (xc/config/util/install.sh) with the
|
||||
# following copyright and license.
|
||||
#
|
||||
# Copyright (C) 1994 X Consortium
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to
|
||||
# deal in the Software without restriction, including without limitation the
|
||||
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
# sell copies of the Software, and to permit persons to whom the Software is
|
||||
# furnished to do so, subject to the following conditions:
|
||||
#
|
||||
# The above copyright notice and this permission notice shall be included in
|
||||
# all copies or substantial portions of the Software.
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
||||
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
|
||||
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#
|
||||
# Except as contained in this notice, the name of the X Consortium shall not
|
||||
# be used in advertising or otherwise to promote the sale, use or other deal-
|
||||
# ings in this Software without prior written authorization from the X Consor-
|
||||
# tium.
|
||||
#
|
||||
#
|
||||
# FSF changes to this file are in the public domain.
|
||||
#
|
||||
# Calling this script install-sh is preferred over install.sh, to prevent
|
||||
# 'make' implicit rules from creating a file called install from it
|
||||
# when there is no Makefile.
|
||||
#
|
||||
# This script is compatible with the BSD install script, but was written
|
||||
# from scratch.
|
||||
|
||||
nl='
|
||||
'
|
||||
IFS=" "" $nl"
|
||||
|
||||
# set DOITPROG to echo to test this script
|
||||
|
||||
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
||||
doit=${DOITPROG-}
|
||||
if test -z "$doit"; then
|
||||
doit_exec=exec
|
||||
else
|
||||
doit_exec=$doit
|
||||
fi
|
||||
|
||||
# Put in absolute file names if you don't have them in your path;
|
||||
# or use environment vars.
|
||||
|
||||
chgrpprog=${CHGRPPROG-chgrp}
|
||||
chmodprog=${CHMODPROG-chmod}
|
||||
chownprog=${CHOWNPROG-chown}
|
||||
cmpprog=${CMPPROG-cmp}
|
||||
cpprog=${CPPROG-cp}
|
||||
mkdirprog=${MKDIRPROG-mkdir}
|
||||
mvprog=${MVPROG-mv}
|
||||
rmprog=${RMPROG-rm}
|
||||
stripprog=${STRIPPROG-strip}
|
||||
|
||||
posix_glob='?'
|
||||
initialize_posix_glob='
|
||||
test "$posix_glob" != "?" || {
|
||||
if (set -f) 2>/dev/null; then
|
||||
posix_glob=
|
||||
else
|
||||
posix_glob=:
|
||||
fi
|
||||
}
|
||||
'
|
||||
|
||||
posix_mkdir=
|
||||
|
||||
# Desired mode of installed file.
|
||||
mode=0755
|
||||
|
||||
chgrpcmd=
|
||||
chmodcmd=$chmodprog
|
||||
chowncmd=
|
||||
mvcmd=$mvprog
|
||||
rmcmd="$rmprog -f"
|
||||
stripcmd=
|
||||
|
||||
src=
|
||||
dst=
|
||||
dir_arg=
|
||||
dst_arg=
|
||||
|
||||
copy_on_change=false
|
||||
no_target_directory=
|
||||
|
||||
usage="\
|
||||
Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
|
||||
or: $0 [OPTION]... SRCFILES... DIRECTORY
|
||||
or: $0 [OPTION]... -t DIRECTORY SRCFILES...
|
||||
or: $0 [OPTION]... -d DIRECTORIES...
|
||||
|
||||
In the 1st form, copy SRCFILE to DSTFILE.
|
||||
In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
|
||||
In the 4th, create DIRECTORIES.
|
||||
|
||||
Options:
|
||||
--help display this help and exit.
|
||||
--version display version info and exit.
|
||||
|
||||
-c (ignored)
|
||||
-C install only if different (preserve the last data modification time)
|
||||
-d create directories instead of installing files.
|
||||
-g GROUP $chgrpprog installed files to GROUP.
|
||||
-m MODE $chmodprog installed files to MODE.
|
||||
-o USER $chownprog installed files to USER.
|
||||
-s $stripprog installed files.
|
||||
-t DIRECTORY install into DIRECTORY.
|
||||
-T report an error if DSTFILE is a directory.
|
||||
|
||||
Environment variables override the default commands:
|
||||
CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
|
||||
RMPROG STRIPPROG
|
||||
"
|
||||
|
||||
while test $# -ne 0; do
|
||||
case $1 in
|
||||
-c) ;;
|
||||
|
||||
-C) copy_on_change=true;;
|
||||
|
||||
-d) dir_arg=true;;
|
||||
|
||||
-g) chgrpcmd="$chgrpprog $2"
|
||||
shift;;
|
||||
|
||||
--help) echo "$usage"; exit $?;;
|
||||
|
||||
-m) mode=$2
|
||||
case $mode in
|
||||
*' '* | *' '* | *'
|
||||
'* | *'*'* | *'?'* | *'['*)
|
||||
echo "$0: invalid mode: $mode" >&2
|
||||
exit 1;;
|
||||
esac
|
||||
shift;;
|
||||
|
||||
-o) chowncmd="$chownprog $2"
|
||||
shift;;
|
||||
|
||||
-s) stripcmd=$stripprog;;
|
||||
|
||||
-t) dst_arg=$2
|
||||
# Protect names problematic for 'test' and other utilities.
|
||||
case $dst_arg in
|
||||
-* | [=\(\)!]) dst_arg=./$dst_arg;;
|
||||
esac
|
||||
shift;;
|
||||
|
||||
-T) no_target_directory=true;;
|
||||
|
||||
--version) echo "$0 $scriptversion"; exit $?;;
|
||||
|
||||
--) shift
|
||||
break;;
|
||||
|
||||
-*) echo "$0: invalid option: $1" >&2
|
||||
exit 1;;
|
||||
|
||||
*) break;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
|
||||
# When -d is used, all remaining arguments are directories to create.
|
||||
# When -t is used, the destination is already specified.
|
||||
# Otherwise, the last argument is the destination. Remove it from $@.
|
||||
for arg
|
||||
do
|
||||
if test -n "$dst_arg"; then
|
||||
# $@ is not empty: it contains at least $arg.
|
||||
set fnord "$@" "$dst_arg"
|
||||
shift # fnord
|
||||
fi
|
||||
shift # arg
|
||||
dst_arg=$arg
|
||||
# Protect names problematic for 'test' and other utilities.
|
||||
case $dst_arg in
|
||||
-* | [=\(\)!]) dst_arg=./$dst_arg;;
|
||||
esac
|
||||
done
|
||||
fi
|
||||
|
||||
if test $# -eq 0; then
|
||||
if test -z "$dir_arg"; then
|
||||
echo "$0: no input file specified." >&2
|
||||
exit 1
|
||||
fi
|
||||
# It's OK to call 'install-sh -d' without argument.
|
||||
# This can happen when creating conditional directories.
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if test -z "$dir_arg"; then
|
||||
do_exit='(exit $ret); exit $ret'
|
||||
trap "ret=129; $do_exit" 1
|
||||
trap "ret=130; $do_exit" 2
|
||||
trap "ret=141; $do_exit" 13
|
||||
trap "ret=143; $do_exit" 15
|
||||
|
||||
# Set umask so as not to create temps with too-generous modes.
|
||||
# However, 'strip' requires both read and write access to temps.
|
||||
case $mode in
|
||||
# Optimize common cases.
|
||||
*644) cp_umask=133;;
|
||||
*755) cp_umask=22;;
|
||||
|
||||
*[0-7])
|
||||
if test -z "$stripcmd"; then
|
||||
u_plus_rw=
|
||||
else
|
||||
u_plus_rw='% 200'
|
||||
fi
|
||||
cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
|
||||
*)
|
||||
if test -z "$stripcmd"; then
|
||||
u_plus_rw=
|
||||
else
|
||||
u_plus_rw=,u+rw
|
||||
fi
|
||||
cp_umask=$mode$u_plus_rw;;
|
||||
esac
|
||||
fi
|
||||
|
||||
for src
|
||||
do
|
||||
# Protect names problematic for 'test' and other utilities.
|
||||
case $src in
|
||||
-* | [=\(\)!]) src=./$src;;
|
||||
esac
|
||||
|
||||
if test -n "$dir_arg"; then
|
||||
dst=$src
|
||||
dstdir=$dst
|
||||
test -d "$dstdir"
|
||||
dstdir_status=$?
|
||||
else
|
||||
|
||||
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
||||
# might cause directories to be created, which would be especially bad
|
||||
# if $src (and thus $dsttmp) contains '*'.
|
||||
if test ! -f "$src" && test ! -d "$src"; then
|
||||
echo "$0: $src does not exist." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if test -z "$dst_arg"; then
|
||||
echo "$0: no destination specified." >&2
|
||||
exit 1
|
||||
fi
|
||||
dst=$dst_arg
|
||||
|
||||
# If destination is a directory, append the input filename; won't work
|
||||
# if double slashes aren't ignored.
|
||||
if test -d "$dst"; then
|
||||
if test -n "$no_target_directory"; then
|
||||
echo "$0: $dst_arg: Is a directory" >&2
|
||||
exit 1
|
||||
fi
|
||||
dstdir=$dst
|
||||
dst=$dstdir/`basename "$src"`
|
||||
dstdir_status=0
|
||||
else
|
||||
# Prefer dirname, but fall back on a substitute if dirname fails.
|
||||
dstdir=`
|
||||
(dirname "$dst") 2>/dev/null ||
|
||||
expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
||||
X"$dst" : 'X\(//\)[^/]' \| \
|
||||
X"$dst" : 'X\(//\)$' \| \
|
||||
X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
|
||||
echo X"$dst" |
|
||||
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
/^X\(\/\/\)[^/].*/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
/^X\(\/\/\)$/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
/^X\(\/\).*/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
s/.*/./; q'
|
||||
`
|
||||
|
||||
test -d "$dstdir"
|
||||
dstdir_status=$?
|
||||
fi
|
||||
fi
|
||||
|
||||
obsolete_mkdir_used=false
|
||||
|
||||
if test $dstdir_status != 0; then
|
||||
case $posix_mkdir in
|
||||
'')
|
||||
# Create intermediate dirs using mode 755 as modified by the umask.
|
||||
# This is like FreeBSD 'install' as of 1997-10-28.
|
||||
umask=`umask`
|
||||
case $stripcmd.$umask in
|
||||
# Optimize common cases.
|
||||
*[2367][2367]) mkdir_umask=$umask;;
|
||||
.*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
|
||||
|
||||
*[0-7])
|
||||
mkdir_umask=`expr $umask + 22 \
|
||||
- $umask % 100 % 40 + $umask % 20 \
|
||||
- $umask % 10 % 4 + $umask % 2
|
||||
`;;
|
||||
*) mkdir_umask=$umask,go-w;;
|
||||
esac
|
||||
|
||||
# With -d, create the new directory with the user-specified mode.
|
||||
# Otherwise, rely on $mkdir_umask.
|
||||
if test -n "$dir_arg"; then
|
||||
mkdir_mode=-m$mode
|
||||
else
|
||||
mkdir_mode=
|
||||
fi
|
||||
|
||||
posix_mkdir=false
|
||||
case $umask in
|
||||
*[123567][0-7][0-7])
|
||||
# POSIX mkdir -p sets u+wx bits regardless of umask, which
|
||||
# is incompatible with FreeBSD 'install' when (umask & 300) != 0.
|
||||
;;
|
||||
*)
|
||||
tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
|
||||
trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
|
||||
|
||||
if (umask $mkdir_umask &&
|
||||
exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
|
||||
then
|
||||
if test -z "$dir_arg" || {
|
||||
# Check for POSIX incompatibilities with -m.
|
||||
# HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
|
||||
# other-writable bit of parent directory when it shouldn't.
|
||||
# FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
|
||||
ls_ld_tmpdir=`ls -ld "$tmpdir"`
|
||||
case $ls_ld_tmpdir in
|
||||
d????-?r-*) different_mode=700;;
|
||||
d????-?--*) different_mode=755;;
|
||||
*) false;;
|
||||
esac &&
|
||||
$mkdirprog -m$different_mode -p -- "$tmpdir" && {
|
||||
ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
|
||||
test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
|
||||
}
|
||||
}
|
||||
then posix_mkdir=:
|
||||
fi
|
||||
rmdir "$tmpdir/d" "$tmpdir"
|
||||
else
|
||||
# Remove any dirs left behind by ancient mkdir implementations.
|
||||
rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
|
||||
fi
|
||||
trap '' 0;;
|
||||
esac;;
|
||||
esac
|
||||
|
||||
if
|
||||
$posix_mkdir && (
|
||||
umask $mkdir_umask &&
|
||||
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
|
||||
)
|
||||
then :
|
||||
else
|
||||
|
||||
# The umask is ridiculous, or mkdir does not conform to POSIX,
|
||||
# or it failed possibly due to a race condition. Create the
|
||||
# directory the slow way, step by step, checking for races as we go.
|
||||
|
||||
case $dstdir in
|
||||
/*) prefix='/';;
|
||||
[-=\(\)!]*) prefix='./';;
|
||||
*) prefix='';;
|
||||
esac
|
||||
|
||||
eval "$initialize_posix_glob"
|
||||
|
||||
oIFS=$IFS
|
||||
IFS=/
|
||||
$posix_glob set -f
|
||||
set fnord $dstdir
|
||||
shift
|
||||
$posix_glob set +f
|
||||
IFS=$oIFS
|
||||
|
||||
prefixes=
|
||||
|
||||
for d
|
||||
do
|
||||
test X"$d" = X && continue
|
||||
|
||||
prefix=$prefix$d
|
||||
if test -d "$prefix"; then
|
||||
prefixes=
|
||||
else
|
||||
if $posix_mkdir; then
|
||||
(umask=$mkdir_umask &&
|
||||
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
|
||||
# Don't fail if two instances are running concurrently.
|
||||
test -d "$prefix" || exit 1
|
||||
else
|
||||
case $prefix in
|
||||
*\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
|
||||
*) qprefix=$prefix;;
|
||||
esac
|
||||
prefixes="$prefixes '$qprefix'"
|
||||
fi
|
||||
fi
|
||||
prefix=$prefix/
|
||||
done
|
||||
|
||||
if test -n "$prefixes"; then
|
||||
# Don't fail if two instances are running concurrently.
|
||||
(umask $mkdir_umask &&
|
||||
eval "\$doit_exec \$mkdirprog $prefixes") ||
|
||||
test -d "$dstdir" || exit 1
|
||||
obsolete_mkdir_used=true
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if test -n "$dir_arg"; then
|
||||
{ test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
|
||||
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
|
||||
{ test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
|
||||
test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
|
||||
else
|
||||
|
||||
# Make a couple of temp file names in the proper directory.
|
||||
dsttmp=$dstdir/_inst.$$_
|
||||
rmtmp=$dstdir/_rm.$$_
|
||||
|
||||
# Trap to clean up those temp files at exit.
|
||||
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
|
||||
|
||||
# Copy the file name to the temp name.
|
||||
(umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
|
||||
|
||||
# and set any options; do chmod last to preserve setuid bits.
|
||||
#
|
||||
# If any of these fail, we abort the whole thing. If we want to
|
||||
# ignore errors from any of these, just make sure not to ignore
|
||||
# errors from the above "$doit $cpprog $src $dsttmp" command.
|
||||
#
|
||||
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
|
||||
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
|
||||
{ test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
|
||||
{ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
|
||||
|
||||
# If -C, don't bother to copy if it wouldn't change the file.
|
||||
if $copy_on_change &&
|
||||
old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
|
||||
new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
|
||||
|
||||
eval "$initialize_posix_glob" &&
|
||||
$posix_glob set -f &&
|
||||
set X $old && old=:$2:$4:$5:$6 &&
|
||||
set X $new && new=:$2:$4:$5:$6 &&
|
||||
$posix_glob set +f &&
|
||||
|
||||
test "$old" = "$new" &&
|
||||
$cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
|
||||
then
|
||||
rm -f "$dsttmp"
|
||||
else
|
||||
# Rename the file to the real destination.
|
||||
$doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
|
||||
|
||||
# The rename failed, perhaps because mv can't rename something else
|
||||
# to itself, or perhaps because mv is so ancient that it does not
|
||||
# support -f.
|
||||
{
|
||||
# Now remove or move aside any old file at destination location.
|
||||
# We try this two ways since rm can't unlink itself on some
|
||||
# systems and the destination file might be busy for other
|
||||
# reasons. In this case, the final cleanup might fail but the new
|
||||
# file should still install successfully.
|
||||
{
|
||||
test ! -f "$dst" ||
|
||||
$doit $rmcmd -f "$dst" 2>/dev/null ||
|
||||
{ $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
|
||||
{ $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
|
||||
} ||
|
||||
{ echo "$0: cannot unlink or rename $dst" >&2
|
||||
(exit 1); exit 1
|
||||
}
|
||||
} &&
|
||||
|
||||
# Now rename the file to the real destination.
|
||||
$doit $mvcmd "$dsttmp" "$dst"
|
||||
}
|
||||
fi || exit 1
|
||||
|
||||
trap '' 0
|
||||
fi
|
||||
done
|
||||
|
||||
# Local variables:
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-time-zone: "UTC"
|
||||
# time-stamp-end: "; # UTC"
|
||||
# End:
|
|
@ -0,0 +1,215 @@
|
|||
#! /bin/sh
|
||||
# Common wrapper for a few potentially missing GNU programs.
|
||||
|
||||
scriptversion=2012-06-26.16; # UTC
|
||||
|
||||
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
|
||||
# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
|
||||
|
||||
# This program 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, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
if test $# -eq 0; then
|
||||
echo 1>&2 "Try '$0 --help' for more information"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
case $1 in
|
||||
|
||||
--is-lightweight)
|
||||
# Used by our autoconf macros to check whether the available missing
|
||||
# script is modern enough.
|
||||
exit 0
|
||||
;;
|
||||
|
||||
--run)
|
||||
# Back-compat with the calling convention used by older automake.
|
||||
shift
|
||||
;;
|
||||
|
||||
-h|--h|--he|--hel|--help)
|
||||
echo "\
|
||||
$0 [OPTION]... PROGRAM [ARGUMENT]...
|
||||
|
||||
Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
|
||||
to PROGRAM being missing or too old.
|
||||
|
||||
Options:
|
||||
-h, --help display this help and exit
|
||||
-v, --version output version information and exit
|
||||
|
||||
Supported PROGRAM values:
|
||||
aclocal autoconf autoheader autom4te automake makeinfo
|
||||
bison yacc flex lex help2man
|
||||
|
||||
Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
|
||||
'g' are ignored when checking the name.
|
||||
|
||||
Send bug reports to <bug-automake@gnu.org>."
|
||||
exit $?
|
||||
;;
|
||||
|
||||
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
|
||||
echo "missing $scriptversion (GNU Automake)"
|
||||
exit $?
|
||||
;;
|
||||
|
||||
-*)
|
||||
echo 1>&2 "$0: unknown '$1' option"
|
||||
echo 1>&2 "Try '$0 --help' for more information"
|
||||
exit 1
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
# Run the given program, remember its exit status.
|
||||
"$@"; st=$?
|
||||
|
||||
# If it succeeded, we are done.
|
||||
test $st -eq 0 && exit 0
|
||||
|
||||
# Also exit now if we it failed (or wasn't found), and '--version' was
|
||||
# passed; such an option is passed most likely to detect whether the
|
||||
# program is present and works.
|
||||
case $2 in --version|--help) exit $st;; esac
|
||||
|
||||
# Exit code 63 means version mismatch. This often happens when the user
|
||||
# tries to use an ancient version of a tool on a file that requires a
|
||||
# minimum version.
|
||||
if test $st -eq 63; then
|
||||
msg="probably too old"
|
||||
elif test $st -eq 127; then
|
||||
# Program was missing.
|
||||
msg="missing on your system"
|
||||
else
|
||||
# Program was found and executed, but failed. Give up.
|
||||
exit $st
|
||||
fi
|
||||
|
||||
perl_URL=http://www.perl.org/
|
||||
flex_URL=http://flex.sourceforge.net/
|
||||
gnu_software_URL=http://www.gnu.org/software
|
||||
|
||||
program_details ()
|
||||
{
|
||||
case $1 in
|
||||
aclocal|automake)
|
||||
echo "The '$1' program is part of the GNU Automake package:"
|
||||
echo "<$gnu_software_URL/automake>"
|
||||
echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
|
||||
echo "<$gnu_software_URL/autoconf>"
|
||||
echo "<$gnu_software_URL/m4/>"
|
||||
echo "<$perl_URL>"
|
||||
;;
|
||||
autoconf|autom4te|autoheader)
|
||||
echo "The '$1' program is part of the GNU Autoconf package:"
|
||||
echo "<$gnu_software_URL/autoconf/>"
|
||||
echo "It also requires GNU m4 and Perl in order to run:"
|
||||
echo "<$gnu_software_URL/m4/>"
|
||||
echo "<$perl_URL>"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
give_advice ()
|
||||
{
|
||||
# Normalize program name to check for.
|
||||
normalized_program=`echo "$1" | sed '
|
||||
s/^gnu-//; t
|
||||
s/^gnu//; t
|
||||
s/^g//; t'`
|
||||
|
||||
printf '%s\n' "'$1' is $msg."
|
||||
|
||||
configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
|
||||
case $normalized_program in
|
||||
autoconf*)
|
||||
echo "You should only need it if you modified 'configure.ac',"
|
||||
echo "or m4 files included by it."
|
||||
program_details 'autoconf'
|
||||
;;
|
||||
autoheader*)
|
||||
echo "You should only need it if you modified 'acconfig.h' or"
|
||||
echo "$configure_deps."
|
||||
program_details 'autoheader'
|
||||
;;
|
||||
automake*)
|
||||
echo "You should only need it if you modified 'Makefile.am' or"
|
||||
echo "$configure_deps."
|
||||
program_details 'automake'
|
||||
;;
|
||||
aclocal*)
|
||||
echo "You should only need it if you modified 'acinclude.m4' or"
|
||||
echo "$configure_deps."
|
||||
program_details 'aclocal'
|
||||
;;
|
||||
autom4te*)
|
||||
echo "You might have modified some maintainer files that require"
|
||||
echo "the 'automa4te' program to be rebuilt."
|
||||
program_details 'autom4te'
|
||||
;;
|
||||
bison*|yacc*)
|
||||
echo "You should only need it if you modified a '.y' file."
|
||||
echo "You may want to install the GNU Bison package:"
|
||||
echo "<$gnu_software_URL/bison/>"
|
||||
;;
|
||||
lex*|flex*)
|
||||
echo "You should only need it if you modified a '.l' file."
|
||||
echo "You may want to install the Fast Lexical Analyzer package:"
|
||||
echo "<$flex_URL>"
|
||||
;;
|
||||
help2man*)
|
||||
echo "You should only need it if you modified a dependency" \
|
||||
"of a man page."
|
||||
echo "You may want to install the GNU Help2man package:"
|
||||
echo "<$gnu_software_URL/help2man/>"
|
||||
;;
|
||||
makeinfo*)
|
||||
echo "You should only need it if you modified a '.texi' file, or"
|
||||
echo "any other file indirectly affecting the aspect of the manual."
|
||||
echo "You might want to install the Texinfo package:"
|
||||
echo "<$gnu_software_URL/texinfo/>"
|
||||
echo "The spurious makeinfo call might also be the consequence of"
|
||||
echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
|
||||
echo "want to install GNU make:"
|
||||
echo "<$gnu_software_URL/make/>"
|
||||
;;
|
||||
*)
|
||||
echo "You might have modified some files without having the proper"
|
||||
echo "tools for further handling them. Check the 'README' file, it"
|
||||
echo "often tells you about the needed prerequisites for installing"
|
||||
echo "this package. You may also peek at any GNU archive site, in"
|
||||
echo "case some other package contains this missing '$1' program."
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
give_advice "$1" | sed -e '1s/^/WARNING: /' \
|
||||
-e '2,$s/^/ /' >&2
|
||||
|
||||
# Propagate the correct exit status (expected to be 127 for a program
|
||||
# not found, 63 for a program that failed due to version mismatch).
|
||||
exit $st
|
||||
|
||||
# Local variables:
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-time-zone: "UTC"
|
||||
# time-stamp-end: "; # UTC"
|
||||
# End:
|
Loading…
Reference in New Issue