+ FreeBSD lazarus project

git-svn-id: trunk@11756 -
This commit is contained in:
florian 2008-09-13 08:58:54 +00:00
parent 7c82bbcbcd
commit fa9858cec2
3 changed files with 86 additions and 0 deletions

2
.gitattributes vendored
View File

@ -5163,6 +5163,8 @@ rtl/fpmake.pp svneol=native#text/plain
rtl/freebsd/Makefile svneol=native#text/plain
rtl/freebsd/Makefile.fpc svneol=native#text/plain
rtl/freebsd/bsdport.txt svneol=native#text/plain
rtl/freebsd/buildrtl.lpi svneol=native#text/plain
rtl/freebsd/buildrtl.pp svneol=native#text/plain
rtl/freebsd/console.pp svneol=native#text/plain
rtl/freebsd/errno.inc svneol=native#text/plain
rtl/freebsd/errnostr.inc -text

64
rtl/freebsd/buildrtl.lpi Normal file
View File

@ -0,0 +1,64 @@
<?xml version="1.0"?>
<CONFIG>
<ProjectOptions>
<PathDelim Value="/"/>
<Version Value="6"/>
<General>
<Flags>
<MainUnitHasUsesSectionForAllUnits Value="False"/>
<MainUnitHasCreateFormStatements Value="False"/>
<MainUnitHasTitleStatement Value="False"/>
<Runnable Value="False"/>
</Flags>
<SessionStorage Value="InProjectDir"/>
<MainUnit Value="0"/>
<IconPath Value="./"/>
<TargetFileExt Value=".exe"/>
<Title Value="buildrtl"/>
</General>
<VersionInfo>
<ProjectVersion Value=""/>
</VersionInfo>
<PublishOptions>
<Version Value="2"/>
<IgnoreBinaries Value="False"/>
<IncludeFileFilter Value="*.(pas|pp|inc|lfm|lpr|lrs|lpi|lpk|sh|xml)"/>
<ExcludeFileFilter Value="*.(bak|ppu|ppw|o|so);*~;backup"/>
</PublishOptions>
<RunParams>
<local>
<FormatVersion Value="1"/>
<LaunchingApplication PathPlusParams="/usr/X11R6/bin/xterm -T 'Lazarus Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)"/>
</local>
</RunParams>
<Units Count="1">
<Unit0>
<Filename Value="buildrtl.pp"/>
<IsPartOfProject Value="True"/>
<UnitName Value="buildrtl"/>
</Unit0>
</Units>
</ProjectOptions>
<CompilerOptions>
<Version Value="8"/>
<SearchPaths>
<IncludeFiles Value="../inc/;../$(TargetCPU)/;../unix/;../objpas/classes/;../objpas/sysutils/;../objpas/"/>
<OtherUnitFiles Value="../objpas/;../objpas/classes/;../objpas/sysutils/;../inc/;../unix/;../$(TargetCPU)/"/>
<UnitOutputDirectory Value="../units/$(TargetCPU)-freebsd"/>
</SearchPaths>
<Parsing>
<Style Value="2"/>
</Parsing>
<Other>
<Verbosity>
<ShowNotes Value="False"/>
<ShowHints Value="False"/>
</Verbosity>
<CompilerPath Value="$(CompPath)"/>
<ExecuteBefore>
<Command Value="cmd.exe /c &quot;if not exist ../units/$(TargetCPU)-freebsd mkdir ../units/$(TargetCPU)-freebsd&quot;"/>
<ShowAllMessages Value="True"/>
</ExecuteBefore>
</Other>
</CompilerOptions>
</CONFIG>

20
rtl/freebsd/buildrtl.pp Normal file
View File

@ -0,0 +1,20 @@
{ This unit is only used to edit the rtl with lazarus }
unit buildrtl;
interface
uses
system, unixtype, ctypes, baseunix, strings, objpas,b macpas, syscall, unixutil,
fpintres, heaptrc, lineinfo, lnfodwrf,
termio, unix, freebsd, initc, cmem, mmx,
crt, printer,
sysutils, typinfo, math, matrix, varutils,
charset, ucomplex, getopts,
errors, sockets, gpm, ipc, serial, terminfo, dl, dynlibs,
video, mouse, keyboard, variants, types, dateutils, sysconst, fmtbcd,
cthreads, classes, fgl, convutils, stdconvs, strutils, rtlconsts, dos, objects, cwstring, fpcylix, clocale,
exeinfo;
implementation
end.