From fa9858cec209ca073b5a424abcd8626a50a4f87f Mon Sep 17 00:00:00 2001 From: florian Date: Sat, 13 Sep 2008 08:58:54 +0000 Subject: [PATCH] + FreeBSD lazarus project git-svn-id: trunk@11756 - --- .gitattributes | 2 ++ rtl/freebsd/buildrtl.lpi | 64 ++++++++++++++++++++++++++++++++++++++++ rtl/freebsd/buildrtl.pp | 20 +++++++++++++ 3 files changed, 86 insertions(+) create mode 100644 rtl/freebsd/buildrtl.lpi create mode 100644 rtl/freebsd/buildrtl.pp diff --git a/.gitattributes b/.gitattributes index 597a966f4c..98a902232f 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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 diff --git a/rtl/freebsd/buildrtl.lpi b/rtl/freebsd/buildrtl.lpi new file mode 100644 index 0000000000..00886e8508 --- /dev/null +++ b/rtl/freebsd/buildrtl.lpi @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + </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 "if not exist ../units/$(TargetCPU)-freebsd mkdir ../units/$(TargetCPU)-freebsd""/> + <ShowAllMessages Value="True"/> + </ExecuteBefore> + </Other> + </CompilerOptions> +</CONFIG> diff --git a/rtl/freebsd/buildrtl.pp b/rtl/freebsd/buildrtl.pp new file mode 100644 index 0000000000..4cd001bbb5 --- /dev/null +++ b/rtl/freebsd/buildrtl.pp @@ -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.