|
Last change
on this file since 66 was 22, checked in by gb, 20 years ago |
|
Allow -pthread*, since some GCC frontends accept -pthreads as well as -pthread.
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
|
File size:
370 bytes
|
| Line | |
|---|
| 1 | while [ $# -gt 1 ]
|
|---|
| 2 | do
|
|---|
| 3 | case ${1} in
|
|---|
| 4 | -pthread*)
|
|---|
| 5 | CFLAGS="${CFLAGS} -D_REENTRANT"
|
|---|
| 6 | shift
|
|---|
| 7 | ;;
|
|---|
| 8 | -x)
|
|---|
| 9 | shift
|
|---|
| 10 | shift
|
|---|
| 11 | ;;
|
|---|
| 12 | *)
|
|---|
| 13 | CFLAGS="${CFLAGS} ${1}"
|
|---|
| 14 | shift
|
|---|
| 15 | ;;
|
|---|
| 16 | esac
|
|---|
| 17 | done
|
|---|
| 18 |
|
|---|
| 19 | echo +++ ${1}
|
|---|
| 20 | mkdir -p .`dirname ${1}`
|
|---|
| 21 | OFILE=.`dirname ${1}`/`basename ${1} .h`.ffi
|
|---|
| 22 | ${GEN} ${CFLAGS} -o ${OFILE} ${1}
|
|---|
| 23 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.