summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2009-06-15 09:28:25 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2009-06-15 09:28:25 +0200
commitae23a75397b4a3376e2ea10f6f4b3faa98908412 (patch)
tree2fccd5b708f17e79feee31a2fa0533962005f3fe /src
parent4f748a56fe03282d65b6647c76b6da843e906a41 (diff)
parent5fd9dc4718d2f5fbcf422cea9d7062d4d9e8b0ee (diff)
downloadfpGUI-ae23a75397b4a3376e2ea10f6f4b3faa98908412.tar.xz
Merge branch 'master' of ssh://graemeg@fpgui.git.sourceforge.net/gitroot/fpgui
Diffstat (limited to 'src')
-rw-r--r--src/fpmake.pas23
1 files changed, 21 insertions, 2 deletions
diff --git a/src/fpmake.pas b/src/fpmake.pas
index 80e0be3d..d6f9383d 100644
--- a/src/fpmake.pas
+++ b/src/fpmake.pas
@@ -48,7 +48,13 @@ var
begin
with Installer do begin
P := AddPackage('fpgui');
- P.Version := '0.6_svn';
+ P.Version := '0.6.3';
+ P.Author := 'Graeme Geldenhuys';
+ P.Email := 'graemeg@gmail.com';
+ P.License := 'Modified LGPL';
+ P.Description := 'fpGUI Toolkit - a custom written GUI toolkit for Free Pascal.';
+
+// P.Dependencies.Add('fcl');
{ Fill in more package details here }
{ This shouldn't really be here. fpmake will install to the local
@@ -88,9 +94,19 @@ begin
P.IncludePath.Add('gui');
{ todo: add unit and include dependency for all }
+ P.Sources.AddSrcFiles('corelib/*.pas');
+ P.Sources.AddSrcFiles('gui/*.pas');
+ if Defaults.OS in AllUnixOSes
+ then P.Sources.AddSrcFiles('corelib/x11/*.pas')
+ else P.Sources.AddSrcFiles('corelib/gdi/*.pas');
{ x11 and gdi common }
- T := P.Targets.AddUnit('fpg_impl.pas');
+// if Defaults.OS in AllUnixOSes
+// then
+ P.Targets.AddUnit('corelib/x11/fpg_impl.pas', AllWindowsOSes);
+// else
+ P.Targets.AddUnit('corelib/gdi/fpg_impl.pas', AllUnixOSes);
+// T := P.Targets.AddUnit('fpg_impl.pas');
{ corelib/x11 }
T := P.Targets.AddUnit('fpg_keyconv_x11.pas', AllUnixOSes);
@@ -128,6 +144,9 @@ begin
T := P.Targets.AddUnit('fpg_pofiles.pas');
T := P.Targets.AddUnit('fpg_stringutils.pas');
+ { corelib include files }
+// T := P.Sources.AddSrc('keys.inc');
+
{ gui/db }
T := P.Targets.AddUnit('fpgui_db.pas');