Debian Codegraph @

mingw-w64-tools/widl/wine-import.sh

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2
3 set -e
4
5 WINE_DIR=$1
6 WINE_BUILD_DIR=$2
7
8 if testscip-shell system . . test. -z $WINE_DIR; then
9 echoscip-shell system . . echo. "Usage: wine-import.sh wine_dir [wine_build_dir]"
10 exit 1
11 fi
12
13 for f in attribute.c client.c expr.c expr.h hash.c hash.h header.c header.h parser.h parser.l parser.tab.c parser.tab.h parser.y \
14 parser.yy.c proxy.c register.c server.c typegen.c typegen.h typelib.c typelib.h typelib_struct.h typetree.c typetree.h \
15 utils.c utils.h widl.c widl.h widltypes.h write_sltg.c write_msft.c metadata.c
16 do
17 if [scip-shell system . . `[`. ! -f $WINE_DIR/tools/widl/$f ] && [scip-shell system . . `[`. -f $WINE_BUILD_DIR/tools/widl/$f ]; then
18 cpscip-shell system . . cp. $WINE_BUILD_DIR/tools/widl/$f src
19 else
20 cpscip-shell system . . cp. $WINE_DIR/tools/widl/$f src
21 fi
22 done
23
24 for f in ppl.l ppl.yy.c ppy.tab.c ppy.tab.h ppy.y wpp.c wpp_private.h
25 do
26 if [scip-shell system . . `[`. ! -f $WINE_DIR/tools/wrc/$f ] && [scip-shell system . . `[`. -f $WINE_BUILD_DIR/tools/wrc/$f ]; then
27 cpscip-shell system . . cp. $WINE_BUILD_DIR/tools/wrc/$f src
28 else
29 cpscip-shell system . . cp. $WINE_DIR/tools/wrc/$f src
30 fi
31 done
32
33 for f in tools.h
34 do
35 if [scip-shell system . . `[`. ! -f $WINE_DIR/tools/$f ] && [scip-shell system . . `[`. -f $WINE_BUILD_DIR/tools/$f ]; then
36 cpscip-shell system . . cp. $WINE_BUILD_DIR/tools/$f .
37 else
38 cpscip-shell system . . cp. $WINE_DIR/tools/$f .
39 fi
40 done
41
42 for f in apisetcconv.h basetsd.h concurrencysal.h driverspecs.h guiddef.h excpt.h memoryapi.h namespaceapi.h ndrtypes.h poppack.h pshpack1.h \
43 processthreadsapi.h pshpack2.h pshpack4.h pshpack8.h realtimeapiset.h sal.h specstrings.h specstrings_strict.h threadpoolapiset.h \
44 timezoneapi.h winbase.h windef.h winerror.h winnls.h winnt.h winnt.rh synchapi.h winapifamily.h minwindef.h minwinbase.h fibersapi.h \
45 sysinfoapi.h wincrypt.h bcrypt.h ncrypt.h
46 do
47 cpscip-shell system . . cp. $WINE_DIR/include/$f include
48 done
49
50 for f in list.h
51 do
52 cpscip-shell system . . cp. $WINE_DIR/include/wine/$f include/wine
53 done
54
55 sedscip-shell system . . sed. s/Wine/WIDL/ < $WINE_DIR/VERSION >VERSION
56 for f in patches/*
57 do
58 patchscip-shell system . . patch. -p3 < $f
59 done
60 autoconf