mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-01 14:29:33 +01:00
* unixutil moved
git-svn-id: trunk@9962 -
This commit is contained in:
parent
e0e6e9f38b
commit
b11c5670e3
4
.gitattributes
vendored
4
.gitattributes
vendored
@ -4412,6 +4412,10 @@ packages/sqlite/src/sqlitedb.pas svneol=native#text/plain
|
||||
packages/sqlite/tests/test.pas svneol=native#text/plain
|
||||
packages/sqlite/tests/testapiv3x.README svneol=native#text/plain
|
||||
packages/sqlite/tests/testapiv3x.pp svneol=native#text/plain
|
||||
packages/unixutil/Makefile svneol=native#text/plain
|
||||
packages/unixutil/Makefile.fpc svneol=native#text/plain
|
||||
packages/unixutil/fpmake.pp svneol=native#text/plain
|
||||
packages/unixutil/src/unixutils.pp svneol=native#text/plain
|
||||
packages/unzip/Makefile svneol=native#text/plain
|
||||
packages/unzip/Makefile.fpc svneol=native#text/plain
|
||||
packages/unzip/fpmake.pp svneol=native#text/plain
|
||||
|
||||
@ -241,7 +241,7 @@ UNITSDIR:=$(wildcard $(FPCDIR)/units/$(OS_TARGET))
|
||||
endif
|
||||
PACKAGESDIR:=$(wildcard $(FPCDIR) $(FPCDIR)/packages $(FPCDIR)/packages/base $(FPCDIR)/packages/extra)
|
||||
ifeq ($(FULL_TARGET),i386-linux)
|
||||
override TARGET_DIRS+=base fv hash pasjpeg paszlib fpmkunit fcl-base fcl-db fcl-image fcl-net fcl-passrc fcl-registry fcl-xml fcl-fpcunit fcl-json extra fcl-process unzip regexpr fcl-web fcl-async ibase mysql ncurses unzip zlib oracle dbus odbc postgres sqlite pthreads imagemagick gdbint libpng libc
|
||||
override TARGET_DIRS+=base fv hash pasjpeg paszlib fpmkunit fcl-base fcl-db fcl-image fcl-net fcl-passrc fcl-registry fcl-xml fcl-fpcunit fcl-json extra fcl-process unzip regexpr fcl-web fcl-async ibase mysql ncurses unzip zlib oracle dbus odbc postgres sqlite pthreads imagemagick gdbint libpng libc unixutil
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-go32v2)
|
||||
override TARGET_DIRS+=base fv hash pasjpeg paszlib fpmkunit fcl-base fcl-db fcl-image fcl-net fcl-passrc fcl-registry fcl-xml fcl-fpcunit fcl-json extra fcl-process unzip regexpr
|
||||
@ -1515,6 +1515,7 @@ TARGET_DIRS_IMAGEMAGICK=1
|
||||
TARGET_DIRS_GDBINT=1
|
||||
TARGET_DIRS_LIBPNG=1
|
||||
TARGET_DIRS_LIBC=1
|
||||
TARGET_DIRS_UNIXUTIL=1
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-go32v2)
|
||||
TARGET_DIRS_BASE=1
|
||||
@ -4526,6 +4527,51 @@ libc:
|
||||
$(MAKE) -C libc all
|
||||
.PHONY: libc_all libc_debug libc_smart libc_release libc_units libc_examples libc_shared libc_install libc_sourceinstall libc_exampleinstall libc_distinstall libc_zipinstall libc_zipsourceinstall libc_zipexampleinstall libc_zipdistinstall libc_clean libc_distclean libc_cleanall libc_info libc_makefiles libc
|
||||
endif
|
||||
ifdef TARGET_DIRS_UNIXUTIL
|
||||
unixutil_all:
|
||||
$(MAKE) -C unixutil all
|
||||
unixutil_debug:
|
||||
$(MAKE) -C unixutil debug
|
||||
unixutil_smart:
|
||||
$(MAKE) -C unixutil smart
|
||||
unixutil_release:
|
||||
$(MAKE) -C unixutil release
|
||||
unixutil_units:
|
||||
$(MAKE) -C unixutil units
|
||||
unixutil_examples:
|
||||
$(MAKE) -C unixutil examples
|
||||
unixutil_shared:
|
||||
$(MAKE) -C unixutil shared
|
||||
unixutil_install:
|
||||
$(MAKE) -C unixutil install
|
||||
unixutil_sourceinstall:
|
||||
$(MAKE) -C unixutil sourceinstall
|
||||
unixutil_exampleinstall:
|
||||
$(MAKE) -C unixutil exampleinstall
|
||||
unixutil_distinstall:
|
||||
$(MAKE) -C unixutil distinstall
|
||||
unixutil_zipinstall:
|
||||
$(MAKE) -C unixutil zipinstall
|
||||
unixutil_zipsourceinstall:
|
||||
$(MAKE) -C unixutil zipsourceinstall
|
||||
unixutil_zipexampleinstall:
|
||||
$(MAKE) -C unixutil zipexampleinstall
|
||||
unixutil_zipdistinstall:
|
||||
$(MAKE) -C unixutil zipdistinstall
|
||||
unixutil_clean:
|
||||
$(MAKE) -C unixutil clean
|
||||
unixutil_distclean:
|
||||
$(MAKE) -C unixutil distclean
|
||||
unixutil_cleanall:
|
||||
$(MAKE) -C unixutil cleanall
|
||||
unixutil_info:
|
||||
$(MAKE) -C unixutil info
|
||||
unixutil_makefiles:
|
||||
$(MAKE) -C unixutil makefiles
|
||||
unixutil:
|
||||
$(MAKE) -C unixutil all
|
||||
.PHONY: unixutil_all unixutil_debug unixutil_smart unixutil_release unixutil_units unixutil_examples unixutil_shared unixutil_install unixutil_sourceinstall unixutil_exampleinstall unixutil_distinstall unixutil_zipinstall unixutil_zipsourceinstall unixutil_zipexampleinstall unixutil_zipdistinstall unixutil_clean unixutil_distclean unixutil_cleanall unixutil_info unixutil_makefiles unixutil
|
||||
endif
|
||||
ifdef TARGET_DIRS_WINUNITS-BASE
|
||||
winunits-base_all:
|
||||
$(MAKE) -C winunits-base all
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
|
||||
[target]
|
||||
dirs=base fv hash pasjpeg paszlib fpmkunit fcl-base fcl-db fcl-image fcl-net fcl-passrc fcl-registry fcl-xml fcl-fpcunit fcl-json extra fcl-process unzip regexpr
|
||||
dirs_linux_i386=libc
|
||||
dirs_linux_i386=libc unixutil
|
||||
dirs_freebsd=fcl-web fcl-async ibase mysql ncurses zlib oracle odbc postgres sqlite pthreads imagemagick \
|
||||
gdbint libpng
|
||||
dirs_darwin=fcl-web fcl-async ibase mysql ncurses zlib oracle odbc postgres sqlite pthreads imagemagick \
|
||||
|
||||
@ -241,7 +241,7 @@ UNITSDIR:=$(wildcard $(FPCDIR)/units/$(OS_TARGET))
|
||||
endif
|
||||
PACKAGESDIR:=$(wildcard $(FPCDIR) $(FPCDIR)/packages $(FPCDIR)/packages/base $(FPCDIR)/packages/extra)
|
||||
ifeq ($(FULL_TARGET),i386-linux)
|
||||
override TARGET_DIRS+=chm fftw x11 opengl gtk gtk2 syslog forms svgalib ggi libgd utmp bfd gdbm tcl cdrom imlib gnome1 fpgtk newt uuid ldap openal mad oggvorbis a52 modplug dts openssl pcap libcurl cairo aspell unixutil lua sdl graph
|
||||
override TARGET_DIRS+=chm fftw x11 opengl gtk gtk2 syslog forms svgalib ggi libgd utmp bfd gdbm tcl cdrom imlib gnome1 fpgtk newt uuid ldap openal mad oggvorbis a52 modplug dts openssl pcap libcurl cairo aspell lua sdl graph
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-go32v2)
|
||||
override TARGET_DIRS+=chm graph
|
||||
@ -1512,7 +1512,6 @@ TARGET_DIRS_PCAP=1
|
||||
TARGET_DIRS_LIBCURL=1
|
||||
TARGET_DIRS_CAIRO=1
|
||||
TARGET_DIRS_ASPELL=1
|
||||
TARGET_DIRS_UNIXUTIL=1
|
||||
TARGET_DIRS_LUA=1
|
||||
TARGET_DIRS_SDL=1
|
||||
TARGET_DIRS_GRAPH=1
|
||||
@ -3723,51 +3722,6 @@ aspell:
|
||||
$(MAKE) -C aspell all
|
||||
.PHONY: aspell_all aspell_debug aspell_smart aspell_release aspell_units aspell_examples aspell_shared aspell_install aspell_sourceinstall aspell_exampleinstall aspell_distinstall aspell_zipinstall aspell_zipsourceinstall aspell_zipexampleinstall aspell_zipdistinstall aspell_clean aspell_distclean aspell_cleanall aspell_info aspell_makefiles aspell
|
||||
endif
|
||||
ifdef TARGET_DIRS_UNIXUTIL
|
||||
unixutil_all:
|
||||
$(MAKE) -C unixutil all
|
||||
unixutil_debug:
|
||||
$(MAKE) -C unixutil debug
|
||||
unixutil_smart:
|
||||
$(MAKE) -C unixutil smart
|
||||
unixutil_release:
|
||||
$(MAKE) -C unixutil release
|
||||
unixutil_units:
|
||||
$(MAKE) -C unixutil units
|
||||
unixutil_examples:
|
||||
$(MAKE) -C unixutil examples
|
||||
unixutil_shared:
|
||||
$(MAKE) -C unixutil shared
|
||||
unixutil_install:
|
||||
$(MAKE) -C unixutil install
|
||||
unixutil_sourceinstall:
|
||||
$(MAKE) -C unixutil sourceinstall
|
||||
unixutil_exampleinstall:
|
||||
$(MAKE) -C unixutil exampleinstall
|
||||
unixutil_distinstall:
|
||||
$(MAKE) -C unixutil distinstall
|
||||
unixutil_zipinstall:
|
||||
$(MAKE) -C unixutil zipinstall
|
||||
unixutil_zipsourceinstall:
|
||||
$(MAKE) -C unixutil zipsourceinstall
|
||||
unixutil_zipexampleinstall:
|
||||
$(MAKE) -C unixutil zipexampleinstall
|
||||
unixutil_zipdistinstall:
|
||||
$(MAKE) -C unixutil zipdistinstall
|
||||
unixutil_clean:
|
||||
$(MAKE) -C unixutil clean
|
||||
unixutil_distclean:
|
||||
$(MAKE) -C unixutil distclean
|
||||
unixutil_cleanall:
|
||||
$(MAKE) -C unixutil cleanall
|
||||
unixutil_info:
|
||||
$(MAKE) -C unixutil info
|
||||
unixutil_makefiles:
|
||||
$(MAKE) -C unixutil makefiles
|
||||
unixutil:
|
||||
$(MAKE) -C unixutil all
|
||||
.PHONY: unixutil_all unixutil_debug unixutil_smart unixutil_release unixutil_units unixutil_examples unixutil_shared unixutil_install unixutil_sourceinstall unixutil_exampleinstall unixutil_distinstall unixutil_zipinstall unixutil_zipsourceinstall unixutil_zipexampleinstall unixutil_zipdistinstall unixutil_clean unixutil_distclean unixutil_cleanall unixutil_info unixutil_makefiles unixutil
|
||||
endif
|
||||
ifdef TARGET_DIRS_LUA
|
||||
lua_all:
|
||||
$(MAKE) -C lua all
|
||||
|
||||
@ -10,7 +10,7 @@ dirs_linux= fftw \
|
||||
imlib gnome1 fpgtk newt uuid \
|
||||
ldap openal mad oggvorbis a52 \
|
||||
modplug dts openssl pcap libcurl cairo aspell
|
||||
dirs_i386_linux=unixutil lua sdl graph
|
||||
dirs_i386_linux= lua sdl graph
|
||||
dirs_x86_64_linux=sdl graph
|
||||
dirs_powerpc_linux=sdl graph
|
||||
dirs_powerpc64_linux=graph
|
||||
|
||||
2659
packages/unixutil/Makefile
Normal file
2659
packages/unixutil/Makefile
Normal file
File diff suppressed because it is too large
Load Diff
28
packages/unixutil/Makefile.fpc
Normal file
28
packages/unixutil/Makefile.fpc
Normal file
@ -0,0 +1,28 @@
|
||||
#
|
||||
# Makefile.fpc for libc binding
|
||||
#
|
||||
|
||||
[package]
|
||||
name=unixutil
|
||||
version=2.0.0
|
||||
|
||||
[target]
|
||||
units=unixutils
|
||||
rsts=unixutils
|
||||
|
||||
[require]
|
||||
libc=y
|
||||
packages=libc fcl-base
|
||||
|
||||
[compiler]
|
||||
includedir=src
|
||||
sourcedir=src tests
|
||||
|
||||
[install]
|
||||
fpcpackage=y
|
||||
|
||||
[default]
|
||||
fpcdir=../..
|
||||
|
||||
[rules]
|
||||
.NOTPARALLEL:
|
||||
32
packages/unixutil/fpmake.pp
Normal file
32
packages/unixutil/fpmake.pp
Normal file
@ -0,0 +1,32 @@
|
||||
{$ifndef ALLPACKAGES}
|
||||
{$mode objfpc}{$H+}
|
||||
program fpmake;
|
||||
|
||||
uses fpmkunit;
|
||||
|
||||
Var
|
||||
P : TPackage;
|
||||
T : TTarget;
|
||||
begin
|
||||
With Installer do
|
||||
begin
|
||||
{$endif ALLPACKAGES}
|
||||
|
||||
P:=AddPackage('unixutil');
|
||||
{$ifdef ALLPACKAGES}
|
||||
P.Directory:='unixutil';
|
||||
{$endif ALLPACKAGES}
|
||||
P.Version:='2.0.0';
|
||||
P.SourcePath.Add('src');
|
||||
|
||||
T:=P.Targets.AddUnit('unixutils.pp');
|
||||
with T.Dependencies do
|
||||
begin
|
||||
AddUnit('libc');
|
||||
end;
|
||||
|
||||
{$ifndef ALLPACKAGES}
|
||||
Run;
|
||||
end;
|
||||
end.
|
||||
{$endif ALLPACKAGES}
|
||||
1188
packages/unixutil/src/unixutils.pp
Normal file
1188
packages/unixutil/src/unixutils.pp
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user