2 %define Version @VERSION@
8 Summary : Compile SFD files into someting useful
9 Group : Development
/Tools
11 URL : http
://www.lysator.liu.se
/~lcs
/files
/gg
-cross
/
13 Source0 : http
://www.lysator.liu.se
/~lcs
/files
/gg
-cross
/%{Name}-%{Version}.tar.gz
14 BuildRoot : /tmp
/%{Name}-%{Version}
19 sfdc is an open
source replacement
for Amiga
, Inc.'s sfd tool
,
20 distributed with NDK
3.9. It is also an replacement
for fd2inline.
22 The basis
for all work performed by sfdc is the SFD file
, which contains
23 all required information about the module and the functions provided.
24 From this information
, sfdc can
:
26 * Generate an old
-style FD file
for futher processing with other
29 * Generate a C prototype file
, such as those normally found
in the
30 Include
/clib
/ directory.
32 * Generate gcc inlines
(actually preprocessor macros
) or pragmas
for
33 direct library
function calls
(without going via library stubs
).
35 * Generate the Include
/proto
/ file
, which includes the
36 Include
/clib
/ file and either the inlines or pragmas.
38 * Generate an assembler LVO file
, which contains the library offset of
39 all functions
in the library.
41 * Generate C stubs
, which can be compiled and archived into a stub
44 * Generate library gateway stubs
, which can be used as part of your
45 module as glue between the module
function table and your C
48 Additionally
, sfdc does all this
for several Amiga
-like operating
49 systems
: traditional AmigaOS
, native Amithlon
, AROS and MorphOS.
53 %setup -q
-n
%{Name}-%{Version}
61 rm -rf $
{RPM_BUILD_ROOT
}
66 rm -rf $
{RPM_BUILD_ROOT
}
76 * Fri Nov
12 2004 Martin Blom
<martin@blom.org
>
79 * Thu Jul
27 2003 Martin Blom
<martin@blom.org
>