~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to config/Makefile.aix

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Generated automatically from Makefile.aix.in by configure.
 
2
# Copyright INRIA
 
3
LLD = ld -bh:4 -T512 -H512 -o /tmp/scilex-1 -bnodelcsect /lib/crt0.o
 
4
LLD1 = ld -bh:4 -T512 -H512 -o $@ -bnodelcsect -bE:bin/scilex.exp /lib/crt0.o
 
5
LLDLF = -lxlf90 -lxlf -lm -lc
 
6
 
 
7
bin/scilex: scilex-lib
 
8
        @x=1;if [ -f $@ ] ; then \
 
9
                x=`find $(DEFAULTS) $(LIBR) \( -name '*.a' -o -name '*.o' \) \
 
10
                -newer $@ -print | wc -l `; \
 
11
        fi;\
 
12
        if [ $$x -ne 0 ] ; then \
 
13
                echo "linking";\
 
14
                $(RM) $@ ;\
 
15
                $(RM) /tmp/scilex-1;\
 
16
                $(LLD) $(DEFAULTS) $(LIBR) $(LD_LDFLAGS) $(TCLTK_LIBS) \
 
17
                        $(XLIBS) $(TERMCAPLIB) $(LLDLF);\
 
18
                (echo "#!$(SCIDIR)/bin/scilex"; /usr/bin/nm -B -gp /tmp/scilex-1\
 
19
                        | sed -n -e '/.* T \./s///p' -e '/.* [DB] /s///p' \
 
20
                        | sort -u) > bin/scilex.exp ;\
 
21
                $(RM) /tmp/scilex-1 ;\
 
22
                $(LLD1) $(DEFAULTS) $(LIBR) $(LD_LDFLAGS) $(TCLTK_LIBS) \
 
23
                        $(XLIBS) $(TERMCAPLIB) $(LLDLF);\
 
24
        else \
 
25
                echo bin/scilex is up to date ;\
 
26
        fi