-
Notifications
You must be signed in to change notification settings - Fork 0
/
linker.in
39 lines (34 loc) · 1.24 KB
/
linker.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/sh
##----------------------------------------------------------------------------
##
## Автоматизированная система организации и управления воздушным движением
##
##----------------------------------------------------------------------------
##! <Copyright>
##! Copyright (C) 2005 ТехноСерв А/С
##!
##! <Unit> adalinker.in
##! <Purpose>
##! A script for running the Ada programming language editor from
##! the libtool package.
##!
##! <Effects>
##! <ImplementationNotes>
##! The initial version is based on a similar module from the
##! PolyORB package.
##!
##! <PortabilityIssues>
##! <AnticipatedChanges>
##----------------------------------------------------------------------------
## $Revision: 3417 $ $Author: godunko $
## $Date: 2006-09-16 13:14:47 +0400 (Сбт, 16 Сен 2006) $
##----------------------------------------------------------------------------
ADA="@ADA@"
abs_top_builddir="@abs_top_builddir@"
if test ${2%.la} != ${2}; then
# Build the library.
${abs_top_builddir}/libtool --tag=CC --mode=link $ADA "$@"
else
# Link the program.
${abs_top_builddir}/libtool --tag=CC --mode=link ${abs_top_builddir}/adalinker "$@" -bargs -E
fi