File: staticLib.sh

package info (click to toggle)
mtink 1.0.16-10
  • links: PTS
  • area: main
  • in suites: buster
  • size: 3,808 kB
  • sloc: ansic: 19,264; sh: 1,008; python: 626; xml: 444; makefile: 76
file content (25 lines) | stat: -rwxr-xr-x 517 bytes parent folder | download | duplicates (9)
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
#!/bin/sh

#set -x
dirs='/usr/X11R6/lib /usr/openwin/lib /usr/dt/lib'

libs='Xm ICE SM Xp Xext Xt X11'


for d in $dirs
do
   for f in $libs
   do
      if [ -f $d/lib${f}.a ]
      then
         ln -s $d/lib${f}.a lib${f}.a
      fi
   done
done

#LFLAGS=' -L/usr/X11R6/lib -L/usr/openwin/lib -L/usr/dt/lib  -s -L. -lXm -lXp -lXext -lSM -lICE -lXt -lX11'
#OBJ='mtink.o d4lib.o d4libh.o cfg1.o fsb.o cfg2.o alignbt.o scrtxt.o cmd.o tooltip.c' 
#rm mtink >/dev/null 2>&1
#gcc -s -o mtink $OBJ $LFLAGS $LFLAGS

#rm *.a