PageRenderTime 36ms CodeModel.GetById 19ms app.highlight 14ms RepoModel.GetById 0ms app.codeStats 0ms

/packages/gnome1/fpmake.pp

https://github.com/slibre/freepascal
Puppet | 245 lines | 236 code | 9 blank | 0 comment | 2 complexity | bf2b5fd86c0be8b7e9236a393be81c6a MD5 | raw file
Possible License(s): LGPL-2.0, LGPL-2.1, LGPL-3.0
  1{$ifndef ALLPACKAGES}
  2{$mode objfpc}{$H+}
  3program fpmake;
  4
  5uses fpmkunit;
  6
  7Var
  8  P : TPackage;
  9  T : TTarget;
 10begin
 11  With Installer do
 12    begin
 13{$endif ALLPACKAGES}
 14
 15    P:=AddPackage('gnome1');
 16{$ifdef ALLPACKAGES}
 17    P.Directory:='gnome1';
 18{$endif ALLPACKAGES}
 19    P.Version:='2.7.1';
 20    P.OSes:=AllUnixOSes-[darwin,iphonesim];
 21    if Defaults.CPU<>arm then
 22      P.OSes := P.OSes + [darwin];
 23
 24    P.Author := 'Library: Gnome project, header: FPC team';
 25    P.License := 'Library: LGPL2 or later, header: LGPL2 with modification, ';
 26    P.HomepageURL := 'www.freepascal.org';
 27    P.Email := '';
 28    P.Description := 'Header for main library of Gnome (1?).';
 29    P.NeedLibC:= true;  // true for headers that indirectly link to libc?
 30
 31    P.Dependencies.Add('gtk1');
 32    P.Dependencies.Add('imlib');
 33
 34    T:=P.Targets.AddUnit('src/gconfclient/gconfclient.pp');
 35      T.IncludePath.Add('src/gconfclient');
 36      with T.Dependencies do
 37        begin
 38          AddInclude('gconflisteners.inc');
 39          AddInclude('gconfchangeset.inc');
 40          AddInclude('gconflisteners.inc');
 41          AddInclude('gconfchangeset.inc');
 42          AddUnit('gconf');
 43        end;
 44    T:=P.Targets.AddUnit('src/gconf/gconf.pp');
 45      T.IncludePath.Add('src/gconf');
 46      with T.Dependencies do
 47        begin
 48          AddInclude('gconfglibpublic.inc');
 49          AddInclude('gconferror.inc');
 50          AddInclude('gconfvalue.inc');
 51          AddInclude('gconfschema.inc');
 52          AddInclude('gconfengine.inc');
 53          AddInclude('gconfglibpublic.inc');
 54          AddInclude('gconferror.inc');
 55          AddInclude('gconfvalue.inc');
 56          AddInclude('gconfschema.inc');
 57          AddInclude('gconfengine.inc');
 58        end;
 59    T:=P.Targets.AddUnit('src/libart.pp');
 60    T:=P.Targets.AddUnit('src/libgnome/libgnome.pp');
 61      T.IncludePath.Add('src/libgnome');
 62      with T.Dependencies do
 63        begin
 64          AddInclude('gnomeutil.inc');
 65          AddInclude('gnomeconfig.inc');
 66          AddInclude('gnomedentry.inc');
 67          AddInclude('gnomeexec.inc');
 68          AddInclude('gnomehelp.inc');
 69          AddInclude('gnomei18n.inc');
 70          AddInclude('gnomemetadata.inc');
 71          AddInclude('gnomemime.inc');
 72          AddInclude('gnomemimeinfo.inc');
 73          AddInclude('gnomepaper.inc');
 74          AddInclude('gnomeremote.inc');
 75          AddInclude('gnomescore.inc');
 76          AddInclude('gnomesound.inc');
 77          AddInclude('gnometriggers.inc');
 78          AddInclude('gnomeurl.inc');
 79          AddInclude('gnomeutil.inc');
 80          AddInclude('gnomeconfig.inc');
 81          AddInclude('gnomedentry.inc');
 82          AddInclude('gnomeexec.inc');
 83          AddInclude('gnomehelp.inc');
 84          AddInclude('gnomei18n.inc');
 85          AddInclude('gnomemetadata.inc');
 86          AddInclude('gnomemime.inc');
 87          AddInclude('gnomemimeinfo.inc');
 88          AddInclude('gnomepaper.inc');
 89          AddInclude('gnomeremote.inc');
 90          AddInclude('gnomescore.inc');
 91          AddInclude('gnomesound.inc');
 92          AddInclude('gnometriggers.inc');
 93          AddInclude('gnomeurl.inc');
 94         end;
 95    T:=P.Targets.AddUnit('src/libgnomeui/libgnomeui.pp');
 96      T.IncludePath.Add('src/libgnomeui');
 97      with T.Dependencies do
 98        begin
 99          AddInclude('gnomeinit.inc');
100          AddInclude('gtkpixmapmenuitem.inc');
101          AddInclude('gtkclock.inc');
102          AddInclude('gtkdial.inc');
103          AddInclude('gnomeuidefs.inc');
104          AddInclude('gnomegeometry.inc');
105          AddInclude('gnometypebuiltins.inc');
106          AddInclude('gnomeicontext.inc');
107          AddInclude('gnomewinhints.inc');
108          AddInclude('gnomedentryedit.inc');
109          AddInclude('gnomepixmap.inc');
110          AddInclude('gnomedialog.inc');
111          AddInclude('gnomemessagebox.inc');
112          AddInclude('gnomeclient.inc');
113          AddInclude('gnomeabout.inc');
114          AddInclude('gnomedock.inc');
115          AddInclude('gnomeapp.inc');
116          AddInclude('gnomeappbar.inc');
117          AddInclude('gnomestock.inc');
118          AddInclude('gnomeapphelper.inc');
119          AddInclude('gnomedialogutil.inc');
120          AddInclude('gnomeapputil.inc');
121          AddInclude('gnomepopupmenu.inc');
122          AddInclude('gnomepopuphelp.inc');
123          AddInclude('gnomedateedit.inc');
124          AddInclude('gnomeentry.inc');
125          AddInclude('gnomefileentry.inc');
126          AddInclude('gnomeiconentry.inc');
127          AddInclude('gnomenumberentry.inc');
128          AddInclude('gnomepixmapentry.inc');
129          AddInclude('gnomecolorpicker.inc');
130          AddInclude('gnomefontpicker.inc');
131          AddInclude('gnomepaperselector.inc');
132          AddInclude('gnomeiconsel.inc');
133          AddInclude('gnomemdichild.inc');
134          AddInclude('gnomemdigenericchild.inc');
135          AddInclude('gnomemdi.inc');
136          AddInclude('gnomemdisession.inc');
137          AddInclude('gnomecanvas.inc');
138          AddInclude('gnomecanvasline.inc');
139          AddInclude('gnomecanvasimage.inc');
140          AddInclude('gnomecanvasload.inc');
141          AddInclude('gnomecanvasrectellipse.inc');
142          AddInclude('gnomecanvaspolygon.inc');
143          AddInclude('gnomecanvastext.inc');
144          AddInclude('gnomecanvaswidget.inc');
145          AddInclude('gnomeiconitem.inc');
146          AddInclude('gnomecanvasutil.inc');
147          AddInclude('gnomecalculator.inc');
148          AddInclude('gnomeiconlist.inc');
149          AddInclude('gnomehref.inc');
150          AddInclude('gnomeprocbar.inc');
151          AddInclude('gnomeanimator.inc');
152          AddInclude('gnomescores.inc');
153          AddInclude('gnomepropertybox.inc');
154          AddInclude('gnomedruidpage.inc');
155          AddInclude('gnomedruidpagestart.inc');
156          AddInclude('gnomedruidpagestandard.inc');
157          AddInclude('gnomedruidpagefinish.inc');
158          AddInclude('gnomedruid.inc');
159          AddInclude('gtkpixmapmenuitem.inc');
160          AddInclude('gtkclock.inc');
161          AddInclude('gtkdial.inc');
162          AddInclude('gnomeuidefs.inc');
163          AddInclude('gnomegeometry.inc');
164          AddInclude('gnomeicontext.inc');
165          AddInclude('gnometypebuiltins.inc');
166          AddInclude('gnomewinhints.inc');
167          AddInclude('gnomedentryedit.inc');
168          AddInclude('gnomepixmap.inc');
169          AddInclude('gnomedialog.inc');
170          AddInclude('gnomemessagebox.inc');
171          AddInclude('gnomeclient.inc');
172          AddInclude('gnomeabout.inc');
173          AddInclude('gnomedock.inc');
174          AddInclude('gnomeapp.inc');
175          AddInclude('gnomeappbar.inc');
176          AddInclude('gnomestock.inc');
177          AddInclude('gnomeapphelper.inc');
178          AddInclude('gnomedialogutil.inc');
179          AddInclude('gnomeapputil.inc');
180          AddInclude('gnomepopupmenu.inc');
181          AddInclude('gnomepopuphelp.inc');
182          AddInclude('gnomedateedit.inc');
183          AddInclude('gnomeentry.inc');
184          AddInclude('gnomefileentry.inc');
185          AddInclude('gnomeiconentry.inc');
186          AddInclude('gnomenumberentry.inc');
187          AddInclude('gnomepixmapentry.inc');
188          AddInclude('gnomecolorpicker.inc');
189          AddInclude('gnomefontpicker.inc');
190          AddInclude('gnomepaperselector.inc');
191          AddInclude('gnomeiconsel.inc');
192          AddInclude('gnomemdichild.inc');
193          AddInclude('gnomemdigenericchild.inc');
194          AddInclude('gnomemdi.inc');
195          AddInclude('gnomemdisession.inc');
196          AddInclude('gnomecanvas.inc');
197          AddInclude('gnomecanvasline.inc');
198          AddInclude('gnomecanvasimage.inc');
199          AddInclude('gnomecanvasload.inc');
200          AddInclude('gnomecanvasrectellipse.inc');
201          AddInclude('gnomecanvaspolygon.inc');
202          AddInclude('gnomecanvastext.inc');
203          AddInclude('gnomecanvaswidget.inc');
204          AddInclude('gnomeiconitem.inc');
205          AddInclude('gnomecanvasutil.inc');
206          AddInclude('gnomecalculator.inc');
207          AddInclude('gnomeiconlist.inc');
208          AddInclude('gnomehref.inc');
209          AddInclude('gnomeprocbar.inc');
210          AddInclude('gnomeanimator.inc');
211          AddInclude('gnomescores.inc');
212          AddInclude('gnomepropertybox.inc');
213          AddInclude('gnomedruidpage.inc');
214          AddInclude('gnomedruidpagestart.inc');
215          AddInclude('gnomedruidpagestandard.inc');
216          AddInclude('gnomedruidpagefinish.inc');
217          AddInclude('gnomedruid.inc');
218          AddUnit('libgnome');
219          AddUnit('libart');
220        end;
221    T:=P.Targets.AddUnit('src/zvt/libzvt.pp');
222      T.IncludePath.Add('src/zvt');
223      with T.Dependencies do
224        begin
225          AddInclude('lists.inc');
226          AddInclude('vt.inc');
227          AddInclude('vtx.inc');
228          AddInclude('lists.inc');
229          AddInclude('vt.inc');
230          AddInclude('vtx.inc');
231        end;
232
233    P.ExamplePath.Add('examples');
234    P.Targets.AddExampleProgram('examples/testzvt.pp');
235    P.Targets.AddExampleProgram('examples/gconfcallback2.pp');
236    P.Targets.AddExampleProgram('examples/gconfexample.pp');
237    P.Targets.AddExampleProgram('examples/gconfcallback1.pp');
238    P.Targets.AddExampleProgram('examples/gnometest.pp');
239
240
241{$ifndef ALLPACKAGES}
242    Run;
243    end;
244end.
245{$endif ALLPACKAGES}