Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
f4ee98c5
Commit
f4ee98c5
authored
Sep 05, 2011
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build define OS_POSIX added
parent
75d117a3
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
16 additions
and
16 deletions
+16
-16
src/exp/com/src/os_freebsd/wb_rtt_appl.sh
src/exp/com/src/os_freebsd/wb_rtt_appl.sh
+1
-1
src/exp/com/src/os_linux/hw_arm/wb_rtt_comppicture.sh
src/exp/com/src/os_linux/hw_arm/wb_rtt_comppicture.sh
+2
-2
src/exp/com/src/os_macos/wb_rtt_appl.sh
src/exp/com/src/os_macos/wb_rtt_appl.sh
+1
-1
src/exp/com/src/os_openbsd/wb_rtt_appl.sh
src/exp/com/src/os_openbsd/wb_rtt_appl.sh
+1
-1
src/exp/com/src/os_templ/wb_rtt_appl.sh
src/exp/com/src/os_templ/wb_rtt_appl.sh
+2
-2
src/exp/com/src/os_templ/wb_rtt_comppicture.sh
src/exp/com/src/os_templ/wb_rtt_comppicture.sh
+2
-2
src/exp/inc/src/pwrp_rules.mk
src/exp/inc/src/pwrp_rules.mk
+1
-1
src/tools/pwre/src/os_freebsd/pwre_configure.sh
src/tools/pwre/src/os_freebsd/pwre_configure.sh
+1
-1
src/tools/pwre/src/os_linux/pwre_configure.sh
src/tools/pwre/src/os_linux/pwre_configure.sh
+1
-1
src/tools/pwre/src/os_macos/pwre_configure.sh
src/tools/pwre/src/os_macos/pwre_configure.sh
+1
-1
wb/exp/com/src/os_templ/wb_gcg.sh
wb/exp/com/src/os_templ/wb_gcg.sh
+3
-3
No files found.
src/exp/com/src/os_freebsd/wb_rtt_appl.sh
View file @
f4ee98c5
...
...
@@ -102,7 +102,7 @@ then
# echo "Compile"
cc
=
gcc
cinc
=
"-I
$pwr_inc
-I
$pwrp_rttbld
-I
$pwrp_inc
-I
$pwrp_cmn
/common/inc -I-"
cflags
=
"-DOS_FREEBSD=1 -DOS=freebsd -DHW_X86_64=1 -DHW=x86_64 -O3 -DGNU_SOURCE -DPWR_NDEBUG -D_REENTRANT"
cflags
=
"-DOS_FREEBSD=1 -DOS
_POSIX -DOS
=freebsd -DHW_X86_64=1 -DHW=x86_64 -O3 -DGNU_SOURCE -DPWR_NDEBUG -D_REENTRANT"
${
cc
}
-c
-o
$pwrp_obj
/
${
applname
}
.o
\
$pwrp_rtt
/
${
applname
}
.c
\
...
...
src/exp/com/src/os_linux/hw_arm/wb_rtt_comppicture.sh
View file @
f4ee98c5
...
...
@@ -56,7 +56,7 @@ then
cc
=
$pwre_cc
cinc
=
"-I
$pwr_inc
-I
$pwrp_rttbld
"
cflags
=
"-DOS_LINUX -DOS=linux -DHW_ARM=1 -DPOSIX_SOURCE -DWall"
cflags
=
"-DOS_LINUX -DOS
_POSIX -DOS
=linux -DHW_ARM=1 -DPOSIX_SOURCE -DWall"
${
cc
}
-c
-o
$pwrp_obj
/
${
name
}
.o
$pwrp_rttbld
/
${
name
}
.c
${
cinc
}
${
cflags
}
ar rc
${
ar_name_pict
}
$pwrp_obj
/
${
name
}
.o
else
...
...
@@ -67,7 +67,7 @@ then
cc
=
$pwre_cc
cinc
=
"-I
$pwr_inc
-I
${
bld_dir
}
"
cflags
=
"-DOS_LINUX -DOS=linux -DHW_ARM=1 -DPOSIX_SOURCE -DWall"
cflags
=
"-DOS_LINUX -DOS
_POSIX -DOS
=linux -DHW_ARM=1 -DPOSIX_SOURCE -DWall"
${
cc
}
-c
-o
${
bld_dir
}
/
${
name
}
.o
\
${
bld_dir
}
/
${
name
}
.c
${
cinc
}
${
cflags
}
ar rc
${
ar_name_pict
}
${
bld_dir
}
/
${
name
}
.o
...
...
src/exp/com/src/os_macos/wb_rtt_appl.sh
View file @
f4ee98c5
...
...
@@ -102,7 +102,7 @@ then
# echo "Compile"
cc
=
gcc
cinc
=
"-I
$pwr_inc
-I
$pwrp_rttbld
-I
$pwrp_inc
-I
$pwrp_cmn
/common/inc -I-"
cflags
=
"-DOS_MACOS=1 -DOS=macos -DHW_X86_64=1 -DHW=x86_64 -O3 -DGNU_SOURCE -DPWR_NDEBUG -D_REENTRANT"
cflags
=
"-DOS_MACOS=1 -DOS
_POSIX -DOS
=macos -DHW_X86_64=1 -DHW=x86_64 -O3 -DGNU_SOURCE -DPWR_NDEBUG -D_REENTRANT"
${
cc
}
-c
-o
$pwrp_obj
/
${
applname
}
.o
\
$pwrp_rtt
/
${
applname
}
.c
\
...
...
src/exp/com/src/os_openbsd/wb_rtt_appl.sh
View file @
f4ee98c5
...
...
@@ -102,7 +102,7 @@ then
# echo "Compile"
cc
=
gcc
cinc
=
"-I
$pwr_inc
-I
$pwrp_rttbld
-I
$pwrp_inc
-I
$pwrp_cmn
/common/inc -I-"
cflags
=
"-DOS_
FREEBSD=1
-DOS=freebsd -DHW_X86_64=1 -DHW=x86_64 -O3 -DGNU_SOURCE -DPWR_NDEBUG -D_REENTRANT"
cflags
=
"-DOS_
OPENBSD=1 -DOS_POSIX
-DOS=freebsd -DHW_X86_64=1 -DHW=x86_64 -O3 -DGNU_SOURCE -DPWR_NDEBUG -D_REENTRANT"
${
cc
}
-c
-o
$pwrp_obj
/
${
applname
}
.o
\
$pwrp_rtt
/
${
applname
}
.c
\
...
...
src/exp/com/src/os_templ/wb_rtt_appl.sh
View file @
f4ee98c5
...
...
@@ -80,7 +80,7 @@ then
cc
=
gcc
cinc
=
"-I
$pwr_inc
-I
$pwrp_rttbld
-I-"
cflags
=
"-DOS_LINUX=1 -DOS=linux -DHW_X86=1 -DHW=x86 -O3 -DGNU_SOURCE -DPWR_NDEBUG -D_REENTRANT"
cflags
=
"-DOS_LINUX=1 -DOS
_POSIX -DOS
=linux -DHW_X86=1 -DHW=x86 -O3 -DGNU_SOURCE -DPWR_NDEBUG -D_REENTRANT"
${
cc
}
-c
-o
$pwrp_obj
/
${
menuname
}
.o
\
$pwrp_rttbld
/
${
menuname
}
.c
\
...
...
@@ -102,7 +102,7 @@ then
# echo "Compile"
cc
=
gcc
cinc
=
"-I
$pwr_inc
-I
$pwrp_rttbld
-I
$pwrp_inc
-I
$pwrp_cmn
/common/inc -I-"
cflags
=
"-DOS_LINUX=1 -DOS=linux -DHW_X86=1 -DHW=x86 -O3 -DGNU_SOURCE -DPWR_NDEBUG -D_REENTRANT"
cflags
=
"-DOS_LINUX=1 -DOS
_POSIX -DOS
=linux -DHW_X86=1 -DHW=x86 -O3 -DGNU_SOURCE -DPWR_NDEBUG -D_REENTRANT"
${
cc
}
-c
-o
$pwrp_obj
/
${
applname
}
.o
\
$pwrp_rtt
/
${
applname
}
.c
\
...
...
src/exp/com/src/os_templ/wb_rtt_comppicture.sh
View file @
f4ee98c5
...
...
@@ -56,7 +56,7 @@ then
cc
=
gcc
cinc
=
"-I
$pwr_inc
-I
$pwrp_rttbld
"
cflags
=
"-DOS_LINUX -DOS=linux -DHW_X86=1 -DPOSIX_SOURCE -DWall"
cflags
=
"-DOS_LINUX -DOS
_POSIX -DOS
=linux -DHW_X86=1 -DPOSIX_SOURCE -DWall"
${
cc
}
-c
-o
$pwrp_obj
/
${
name
}
.o
$pwrp_rttbld
/
${
name
}
.c
${
cinc
}
${
cflags
}
ar rc
${
ar_name_pict
}
$pwrp_obj
/
${
name
}
.o
else
...
...
@@ -67,7 +67,7 @@ then
cc
=
gcc
cinc
=
"-I
$pwr_inc
-I
${
bld_dir
}
"
cflags
=
"-DOS_LINUX -DOS=linux -DHW_X86=1 -DPOSIX_SOURCE -DWall"
cflags
=
"-DOS_LINUX -DOS
_POSIX -DOS
=linux -DHW_X86=1 -DPOSIX_SOURCE -DWall"
${
cc
}
-c
-o
${
bld_dir
}
/
${
name
}
.o
\
${
bld_dir
}
/
${
name
}
.c
${
cinc
}
${
cflags
}
ar rc
${
ar_name_pict
}
${
bld_dir
}
/
${
name
}
.o
...
...
src/exp/inc/src/pwrp_rules.mk
View file @
f4ee98c5
...
...
@@ -14,7 +14,7 @@ cflags := -c -g -Wall -D_GNU_SOURCE -D_REENTRANT
cxxflags
:=
$(cflags)
-Wno-deprecated
f77flags
:=
linkflags
:=
-g
-L
/usr/local/lib
-L
$(pwr_lib)
-L
$(pwrp_lib)
-lrt
csetos
:=
-DOS_LINUX
=
1
-DOS
=
linux
-DHW_X86
=
1
-DHW
=
x86
csetos
:=
-DOS_LINUX
=
1
-DOS
_POSIX
=
1
-DOS
=
linux
-DHW_X86
=
1
-DHW
=
x86
cinc
:=
-I
$(pwr_inc)
-I
$(pwrp_inc)
$(PWR_EXT_INC)
-I
/usr/local/include
-I
/usr/X11R6/include
-I
$(jdk)
/include
-I
$(jdk)
/include/linux
f77inc
:=
-I
$(pwr_inc)
-I
$(pwrp_inc)
...
...
src/tools/pwre/src/os_freebsd/pwre_configure.sh
View file @
f4ee98c5
...
...
@@ -182,7 +182,7 @@ pwre_create_makedir()
cfile
=
"
$pwre_broot
/pwre_
${
pwre_hw
:3
}
_
${
pwre_os
:3
}
.cnf"
dos
=
`
eval echo
${
pwre_os
}
|
tr
[
:lower:]
[
:upper:]
`
dhw
=
`
eval echo
${
pwre_hw
}
|
tr
[
:lower:]
[
:upper:]
`
conf_cc_define
=
"-D
$dos
=1 -D
$dhw
=1 -DOS=
${
pwre_os
:3
}
-DHW=
${
pwre_hw
:3
}
-D_
${
dos
:3
}
"
conf_cc_define
=
"-D
$dos
=1 -D
OS_POSIX -D
$dhw
=1 -DOS=
${
pwre_os
:3
}
-DHW=
${
pwre_hw
:3
}
-D_
${
dos
:3
}
"
conf_lib
=
""
conf_libgtk
=
""
conf_libmotif
=
""
...
...
src/tools/pwre/src/os_linux/pwre_configure.sh
View file @
f4ee98c5
...
...
@@ -222,7 +222,7 @@ pwre_create_makedir()
cfile
=
"
$pwre_broot
/pwre_
${
pwre_hw
:3
}
_
${
pwre_os
:3
}
.cnf"
dos
=
`
eval echo
${
pwre_os
}
|
tr
[
:lower:]
[
:upper:]
`
dhw
=
`
eval echo
${
pwre_hw
}
|
tr
[
:lower:]
[
:upper:]
`
conf_cc_define
=
"-D
$dos
=1 -D
$dhw
=1 -DOS=
${
pwre_os
:3
}
-DHW=
${
pwre_hw
:3
}
-D_
${
dos
:3
}
"
conf_cc_define
=
"-D
$dos
=1 -D
OS_POSIX -D
$dhw
=1 -DOS=
${
pwre_os
:3
}
-DHW=
${
pwre_hw
:3
}
-D_
${
dos
:3
}
"
conf_lib
=
""
conf_libwb
=
""
conf_libmq
=
""
...
...
src/tools/pwre/src/os_macos/pwre_configure.sh
View file @
f4ee98c5
...
...
@@ -180,7 +180,7 @@ pwre_create_makedir()
cfile
=
"
$pwre_broot
/pwre_
${
pwre_hw
:3
}
_
${
pwre_os
:3
}
.cnf"
dos
=
`
eval echo
${
pwre_os
}
|
tr
[
:lower:]
[
:upper:]
`
dhw
=
`
eval echo
${
pwre_hw
}
|
tr
[
:lower:]
[
:upper:]
`
conf_cc_define
=
"-D
$dos
=1 -D
$dhw
=1 -DOS=
${
pwre_os
:3
}
-DHW=
${
pwre_hw
:3
}
-D_
${
dos
:3
}
"
conf_cc_define
=
"-D
$dos
=1 -D
OS_POSIX -D
$dhw
=1 -DOS=
${
pwre_os
:3
}
-DHW=
${
pwre_hw
:3
}
-D_
${
dos
:3
}
"
conf_lib
=
""
conf_libgtk
=
""
conf_libmotif
=
""
...
...
wb/exp/com/src/os_templ/wb_gcg.sh
View file @
f4ee98c5
...
...
@@ -348,7 +348,7 @@ if [ $OpSys -eq $OpSys_PPC_LINUX ]; then
pwrp_gc
=
"
$pwrp_tmp
"
# Suppress all warnings, -x
cc_cmd
=
"
$cc
-c -x c -w
$cc_debug
-D_REENTRANT -DOS_LINUX -I
$pwr_inc
-I
$pwrp_inc
-I
$pwrp_tmp
$PWR_EXT_INC
"
cc_cmd
=
"
$cc
-c -x c -w
$cc_debug
-D_REENTRANT -DOS_LINUX -
DOS_POSIX -
I
$pwr_inc
-I
$pwrp_inc
-I
$pwrp_tmp
$PWR_EXT_INC
"
FileTypeStr
=
"
`
echo
$vFileType
|
cut
-f
$FileTypeIdx
-d
,
`
"
...
...
@@ -361,7 +361,7 @@ elif [ $OpSys -eq $OpSys_X86_LINUX ]; then
# Suppress all warnings, -x
if
[
$CurrentOpSys
-eq
$OpSys
]
;
then
cc_cmd
=
"
$cc
-c -x c -w
$cc_debug
-D_REENTRANT -DOS_LINUX -I
$pwr_inc
-I
$pwrp_inc
-I
$pwrp_tmp
$PWR_EXT_INC
"
cc_cmd
=
"
$cc
-c -x c -w
$cc_debug
-D_REENTRANT -DOS_LINUX -
DOS_POSIX -
I
$pwr_inc
-I
$pwrp_inc
-I
$pwrp_tmp
$PWR_EXT_INC
"
FileTypeStr
=
"
`
echo
$vFileType
|
cut
-f
$FileTypeIdx
-d
,
`
"
...
...
@@ -377,7 +377,7 @@ elif [ $OpSys -eq $OpSys_X86_64_LINUX ]; then
# Suppress all warnings, -x
if
[
$CurrentOpSys
-eq
$OpSys
]
;
then
cc_cmd
=
"
$cc
-c -x c -w
$cc_debug
-D_REENTRANT -DOS_LINUX -I
$pwr_inc
-I
$pwrp_inc
-I
$pwrp_tmp
$PWR_EXT_INC
"
cc_cmd
=
"
$cc
-c -x c -w
$cc_debug
-D_REENTRANT -DOS_LINUX -
DOS_POSIX -
I
$pwr_inc
-I
$pwrp_inc
-I
$pwrp_tmp
$PWR_EXT_INC
"
FileTypeStr
=
"
`
echo
$vFileType
|
cut
-f
$FileTypeIdx
-d
,
`
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment