~ubuntu-branches/ubuntu/feisty/fpc/feisty

« back to all changes in this revision

Viewing changes to rtl/common/fpmake.pp

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2007-01-27 20:08:50 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070127200850-9mrptaqqjsx9nwa7
Tags: 2.0.4-5
* Fixed Build-Depends.
* Add myself to Uploaders in debian/control.
* Make sure that the sources are really patched before building them.
* Build unit 'libc' on powerpc too.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
program fpmake;
 
2
 
 
3
{$mode objfpc}{$H+}
 
4
 
 
5
uses
 
6
  fpmkunit
 
7
  { add your units here };
 
8
 
 
9
begin
 
10
  With Installer Do
 
11
    begin
 
12
    StartPackage('Mypackage');
 
13
    Version:='1.0';
 
14
    URL:='http://www.freepascal.org/';
 
15
    Targets.AddUnit('myunit');
 
16
    Targets['myunit'].OS:=[Win32,Linux];
 
17
    Targets['myunit'].Resourcestrings:=True;
 
18
    Targets.AddUnit('testbuild/myotherunit').OS:=[Linux];
 
19
    Targets.AddProgram('myprog');
 
20
    EndPackage;
 
21
    Run;
 
22
    end;
 
23
end.
 
24