* fpmake for gtk1

git-svn-id: trunk@9980 -
This commit is contained in:
marco 2008-01-26 21:22:36 +00:00
parent b86e7ac639
commit 6b636b868f
2 changed files with 291 additions and 0 deletions

1
.gitattributes vendored
View File

@ -3792,6 +3792,7 @@ packages/gtk1/examples/tutorial/tut6_2.pp svneol=native#text/plain
packages/gtk1/examples/tutorial/tut6_3.pp svneol=native#text/plain
packages/gtk1/examples/tutorial/tut6_4.pp svneol=native#text/plain
packages/gtk1/examples/tutorial/tut8_5.pp svneol=native#text/plain
packages/gtk1/fpmake.pp svneol=native#text/plain
packages/gtk1/gdk/gdk.pp svneol=native#text/plain
packages/gtk1/gdk/gdkkeysyms.pp svneol=native#text/plain
packages/gtk1/gdk/gdkmain.pp svneol=native#text/plain

290
packages/gtk1/fpmake.pp Normal file
View File

@ -0,0 +1,290 @@
{$ifndef ALLPACKAGES}
{$mode objfpc}{$H+}
program fpmake;
uses fpmkunit;
Var
P : TPackage;
T : TTarget;
begin
With Installer do
begin
{$endif ALLPACKAGES}
P:=AddPackage('gtk1');
{$ifdef ALLPACKAGES}
P.Directory:='gtk1';
{$endif ALLPACKAGES}
P.Version:='2.0.0';
P.SourcePath.Add('gtk');
P.SourcePath.Add('gdk');
P.SourcePath.Add('glib');
P.SourcePath.Add('gtkgl');
T:=P.Targets.AddUnit('gdkpixbuf.pp');
with T.Dependencies do
begin
AddUnit('glib');
AddUnit('gdk');
AddUnit('gtk');
end;
T:=P.Targets.AddUnit('gdk.pp');
with T.Dependencies do
begin
AddInclude('gdktypes.pp');
AddInclude('gdkkeysyms.pp');
AddInclude('gdkprivate.pp');
AddInclude('gdkrgb.pp');
AddInclude('gdkx.pp');
AddInclude('gdkmain.pp');
AddInclude('gdktypes.pp');
AddInclude('gdkkeysyms.pp');
AddInclude('gdkprivate.pp');
AddInclude('gdkrgb.pp');
AddInclude('gdkx.pp');
AddInclude('gdkmain.pp');
AddUnit('glib');
end;
T:=P.Targets.AddUnit('glib.pp');
T:=P.Targets.AddUnit('gmodule.pp');
with T.Dependencies do
begin
AddUnit('glib');
end;
T:=P.Targets.AddUnit('gtkglarea.pp');
with T.Dependencies do
begin
AddUnit('gdk');
AddUnit('gtk');
end;
T:=P.Targets.AddUnit('gtk.pp');
with T.Dependencies do
begin
AddInclude('gtkincludes.pp');
AddInclude('gtkfeatures.pp');
AddInclude('gtkenums.pp');
AddInclude('gtkobjects.pp');
AddInclude('gtktypeutils.pp');
AddInclude('gtkdata.pp');
AddInclude('gtkadjustment.pp');
AddInclude('gtkaccelgroup.pp');
AddInclude('gtkwidget.pp');
AddInclude('gtkstyle.pp');
AddInclude('gtkmisc.pp');
AddInclude('gtklabel.pp');
AddInclude('gtkprivate.pp');
AddInclude('gtkaccellabel.pp');
AddInclude('gtkthemes.pp');
AddInclude('gtkmain.pp');
AddInclude('gtkdrawingarea.pp');
AddInclude('gtkcontainer.pp');
AddInclude('gtkbin.pp');
AddInclude('gtksignal.pp');
AddInclude('gtkitem.pp');
AddInclude('gtkarg.pp');
AddInclude('gtkmarshal.pp');
AddInclude('gtkbindings.pp');
AddInclude('gtkinvisible.pp');
AddInclude('gtkalignment.pp');
AddInclude('gtkwindow.pp');
AddInclude('gtkplug.pp');
AddInclude('gtksocket.pp');
AddInclude('gtkpacker.pp');
AddInclude('gtklayout.pp');
AddInclude('gtkframe.pp');
AddInclude('gtkaspectframe.pp');
AddInclude('gtkviewport.pp');
AddInclude('gtkrange.pp');
AddInclude('gtkrc.pp');
AddInclude('gtkeditable.pp');
AddInclude('gtktext.pp');
AddInclude('gtkarrow.pp');
AddInclude('gtkpixmap.pp');
AddInclude('gtkbutton.pp');
AddInclude('gtktogglebutton.pp');
AddInclude('gtkcheckbutton.pp');
AddInclude('gtkmenuitem.pp');
AddInclude('gtkcheckmenuitem.pp');
AddInclude('gtktearoffmenuitem.pp');
AddInclude('gtkcurve.pp');
AddInclude('gtkdialog.pp');
AddInclude('gtkentry.pp');
AddInclude('gtkeventbox.pp');
AddInclude('gtkfilesel.pp');
AddInclude('gtkfixed.pp');
AddInclude('gtkgc.pp');
AddInclude('gtkhandlebox.pp');
AddInclude('gtkimage.pp');
AddInclude('gtkinputdialog.pp');
AddInclude('gtklist.pp');
AddInclude('gtklistitem.pp');
AddInclude('gtkmenushell.pp');
AddInclude('gtkmenufactory.pp');
AddInclude('gtkmenu.pp');
AddInclude('gtkmenubar.pp');
AddInclude('gtkoptionmenu.pp');
AddInclude('gtkpreview.pp');
AddInclude('gtkitemfactory.pp');
AddInclude('gtkprogress.pp');
AddInclude('gtkprogressbar.pp');
AddInclude('gtkradiobutton.pp');
AddInclude('gtkradiomenuitem.pp');
AddInclude('gtkscrolledwindow.pp');
AddInclude('gtkselection.pp');
AddInclude('gtkdnd.pp');
AddInclude('gtkspinbutton.pp');
AddInclude('gtktable.pp');
AddInclude('gtktipsquery.pp');
AddInclude('gtktooltips.pp');
AddInclude('gtktoolbar.pp');
AddInclude('gtktreeitem.pp');
AddInclude('gtktree.pp');
AddInclude('gtkbox.pp');
AddInclude('gtkhbox.pp');
AddInclude('gtkvbox.pp');
AddInclude('gtkbbox.pp');
AddInclude('gtkhbbox.pp');
AddInclude('gtkvbbox.pp');
AddInclude('gtkpaned.pp');
AddInclude('gtkhpaned.pp');
AddInclude('gtkvpaned.pp');
AddInclude('gtkruler.pp');
AddInclude('gtkhruler.pp');
AddInclude('gtkvruler.pp');
AddInclude('gtkscale.pp');
AddInclude('gtkhscale.pp');
AddInclude('gtkvscale.pp');
AddInclude('gtkscrollbar.pp');
AddInclude('gtkhscrollbar.pp');
AddInclude('gtkvscrollbar.pp');
AddInclude('gtkseparator.pp');
AddInclude('gtkhseparator.pp');
AddInclude('gtkvseparator.pp');
AddInclude('gtkcombo.pp');
AddInclude('gtkstatusbar.pp');
AddInclude('gtkcolorsel.pp');
AddInclude('gtkgamma.pp');
AddInclude('gtkclist.pp');
AddInclude('gtknotebook.pp');
AddInclude('gtkctree.pp');
AddInclude('gtkcalendar.pp');
AddInclude('gtkfontsel.pp');
AddInclude('gtkincludes.pp');
AddInclude('gtkfeatures.pp');
AddInclude('gtkenums.pp');
AddInclude('gtkobjects.pp');
AddInclude('gtktypeutils.pp');
AddInclude('gtkdata.pp');
AddInclude('gtkadjustment.pp');
AddInclude('gtkaccelgroup.pp');
AddInclude('gtkwidget.pp');
AddInclude('gtkstyle.pp');
AddInclude('gtkmisc.pp');
AddInclude('gtklabel.pp');
AddInclude('gtkprivate.pp');
AddInclude('gtkaccellabel.pp');
AddInclude('gtkthemes.pp');
AddInclude('gtkmain.pp');
AddInclude('gtkdrawingarea.pp');
AddInclude('gtkcontainer.pp');
AddInclude('gtkbin.pp');
AddInclude('gtksignal.pp');
AddInclude('gtkitem.pp');
AddInclude('gtkarg.pp');
AddInclude('gtkmarshal.pp');
AddInclude('gtkbindings.pp');
AddInclude('gtkinvisible.pp');
AddInclude('gtkalignment.pp');
AddInclude('gtkwindow.pp');
AddInclude('gtkplug.pp');
AddInclude('gtksocket.pp');
AddInclude('gtkpacker.pp');
AddInclude('gtklayout.pp');
AddInclude('gtkframe.pp');
AddInclude('gtkaspectframe.pp');
AddInclude('gtkviewport.pp');
AddInclude('gtkrange.pp');
AddInclude('gtkrc.pp');
AddInclude('gtkeditable.pp');
AddInclude('gtktext.pp');
AddInclude('gtkarrow.pp');
AddInclude('gtkpixmap.pp');
AddInclude('gtkbutton.pp');
AddInclude('gtktogglebutton.pp');
AddInclude('gtkcheckbutton.pp');
AddInclude('gtkmenuitem.pp');
AddInclude('gtkcheckmenuitem.pp');
AddInclude('gtktearoffmenuitem.pp');
AddInclude('gtkcurve.pp');
AddInclude('gtkdialog.pp');
AddInclude('gtkentry.pp');
AddInclude('gtkeventbox.pp');
AddInclude('gtkfilesel.pp');
AddInclude('gtkfixed.pp');
AddInclude('gtkgc.pp');
AddInclude('gtkhandlebox.pp');
AddInclude('gtkimage.pp');
AddInclude('gtkinputdialog.pp');
AddInclude('gtklist.pp');
AddInclude('gtklistitem.pp');
AddInclude('gtkmenushell.pp');
AddInclude('gtkmenufactory.pp');
AddInclude('gtkmenu.pp');
AddInclude('gtkmenubar.pp');
AddInclude('gtkoptionmenu.pp');
AddInclude('gtkpreview.pp');
AddInclude('gtkitemfactory.pp');
AddInclude('gtkprogress.pp');
AddInclude('gtkprogressbar.pp');
AddInclude('gtkradiobutton.pp');
AddInclude('gtkradiomenuitem.pp');
AddInclude('gtkscrolledwindow.pp');
AddInclude('gtkselection.pp');
AddInclude('gtkdnd.pp');
AddInclude('gtkspinbutton.pp');
AddInclude('gtktable.pp');
AddInclude('gtktipsquery.pp');
AddInclude('gtktooltips.pp');
AddInclude('gtktoolbar.pp');
AddInclude('gtktreeitem.pp');
AddInclude('gtktree.pp');
AddInclude('gtkbox.pp');
AddInclude('gtkhbox.pp');
AddInclude('gtkvbox.pp');
AddInclude('gtkbbox.pp');
AddInclude('gtkhbbox.pp');
AddInclude('gtkvbbox.pp');
AddInclude('gtkpaned.pp');
AddInclude('gtkhpaned.pp');
AddInclude('gtkvpaned.pp');
AddInclude('gtkruler.pp');
AddInclude('gtkhruler.pp');
AddInclude('gtkvruler.pp');
AddInclude('gtkscale.pp');
AddInclude('gtkhscale.pp');
AddInclude('gtkvscale.pp');
AddInclude('gtkscrollbar.pp');
AddInclude('gtkhscrollbar.pp');
AddInclude('gtkvscrollbar.pp');
AddInclude('gtkseparator.pp');
AddInclude('gtkhseparator.pp');
AddInclude('gtkvseparator.pp');
AddInclude('gtkcombo.pp');
AddInclude('gtkstatusbar.pp');
AddInclude('gtkcolorsel.pp');
AddInclude('gtkgamma.pp');
AddInclude('gtkclist.pp');
AddInclude('gtknotebook.pp');
AddInclude('gtkctree.pp');
AddInclude('gtkcalendar.pp');
AddInclude('gtkfontsel.pp');
AddUnit('glib');
AddUnit('gdk');
end;
{$ifndef ALLPACKAGES}
Run;
end;
end.
{$endif ALLPACKAGES}