File: compose.sh

package info (click to toggle)
libvideo-capture-v4l-perl 0.902-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 584 kB
  • sloc: perl: 2,749; ansic: 1,494; sh: 22; makefile: 3
file content (41 lines) | stat: -rwxr-xr-x 744 bytes parent folder | download | duplicates (8)
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
40
41
#!/bin/sh

#DCTOBJS="RTdct_std RTidct_std"
DCTOBJS="RTdct_aan RTidct_aan"

#YUVOBJS="RTcolor_std"
#YUVOBJS="RTcolor_tbl"
#YUVOBJS="RTcolor_tbl2"
YUVOBJS="RTcolor_int"
#YUVOBJS="RTcolor_grey"

QOBJS="RTquant"
#QOBJS="RTquant_mmx"

BOBJS="RTb2s RTs2b"
#BOBJS="RTb2s_raw RTs2b_raw"

OBJS="RTinc ${BOBJS} ${QOBJS} ${YUVOBJS} ${DCTOBJS} RTmain"

echo "/* Autogenerated by compose.sh */" > RTjpeg.c
echo "#include \"RTjpeg.h\"" >> RTjpeg.c
echo "" >> RTjpeg.c

echo "****    Init files    ****"

for i in ${OBJS}; do
 if [ -f modules/${i}.ct ]; then
  echo ${i}.ct
  cat modules/$i.ct >> RTjpeg.c
 fi
done

echo "****    Code files    ****"

for i in ${OBJS}; do
 if [ -f modules/${i}.c ]; then
  echo ${i}.c
  cat modules/$i.c >> RTjpeg.c
 fi
done