Compare commits
438 Commits
R3.14.8.1
...
R3.14.9-rc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d468d7f462 | ||
|
|
8dfea0ce50 | ||
|
|
cda58de74a | ||
|
|
2d031c46a2 | ||
|
|
5e4b2d03ad | ||
|
|
db067c9780 | ||
|
|
3ec09adf20 | ||
|
|
57e9e59714 | ||
|
|
cde78f0b70 | ||
|
|
6ed4f091b2 | ||
|
|
bb625c7f25 | ||
|
|
47f5203faa | ||
|
|
287743f140 | ||
|
|
a841a79194 | ||
|
|
9e2c64ecfd | ||
|
|
6fb7d5255b | ||
|
|
00fc1ce769 | ||
|
|
852afdc4d8 | ||
|
|
ae06349563 | ||
|
|
a710bff122 | ||
|
|
fe2b0e599d | ||
|
|
255751f420 | ||
|
|
7787f5906d | ||
|
|
de34f5de03 | ||
|
|
40bb69f5fd | ||
|
|
6ce83fc9e4 | ||
|
|
e0b4715c98 | ||
|
|
e989af9b01 | ||
|
|
3c1b10dfce | ||
|
|
27342322ec | ||
|
|
3d3ad47e47 | ||
|
|
f2154fec35 | ||
|
|
6bed83c70e | ||
|
|
4f2cb790e5 | ||
|
|
15f3358e39 | ||
|
|
285f1e03ba | ||
|
|
03e9ce2855 | ||
|
|
c5563644db | ||
|
|
75aa6bbf97 | ||
|
|
8b8b61b797 | ||
|
|
8540fdd813 | ||
|
|
23c1596d22 | ||
|
|
9e292ca085 | ||
|
|
410eca1633 | ||
|
|
44d742e147 | ||
|
|
abe127c6f9 | ||
|
|
beacc52519 | ||
|
|
5a9e8d156e | ||
|
|
239cd857a8 | ||
|
|
dea42bdf66 | ||
|
|
196f107432 | ||
|
|
2a7c2e9d26 | ||
|
|
556724f050 | ||
|
|
0f0ff1eec0 | ||
|
|
b937142ff3 | ||
|
|
a6527232cf | ||
|
|
d820ed034a | ||
|
|
4452f97536 | ||
|
|
c48bf48f52 | ||
|
|
bf77401cea | ||
|
|
d4adf4a0d6 | ||
|
|
f2fac70923 | ||
|
|
a00a246b0d | ||
|
|
537f9954bf | ||
|
|
d206dd92f6 | ||
|
|
f50c49131c | ||
|
|
55986a1e92 | ||
|
|
5fa24ad581 | ||
|
|
9a81831a85 | ||
|
|
11a865805e | ||
|
|
bcc41d0e72 | ||
|
|
fc4b09f84d | ||
|
|
682bb4150c | ||
|
|
fc98fe2335 | ||
|
|
8a4e442705 | ||
|
|
11ef0bca03 | ||
|
|
1e9986a2ed | ||
|
|
2e9bd68b2f | ||
|
|
4840787079 | ||
|
|
2c9414a881 | ||
|
|
99e9d60725 | ||
|
|
f16d241662 | ||
|
|
cc9473339d | ||
|
|
a400c37cc7 | ||
|
|
c25282bf58 | ||
|
|
3fe19655a1 | ||
|
|
724a589fe1 | ||
|
|
b8bcfdcdda | ||
|
|
da75453a22 | ||
|
|
d25e7107a7 | ||
|
|
e93b833c27 | ||
|
|
f0b99cc9c1 | ||
|
|
94dfec0999 | ||
|
|
88c68422af | ||
|
|
db9f3d81a3 | ||
|
|
947822da70 | ||
|
|
f48fe4c1c0 | ||
|
|
4d30f6adaa | ||
|
|
9fb0faf86e | ||
|
|
f42e4195c5 | ||
|
|
a3808ec393 | ||
|
|
41786fef1f | ||
|
|
82d59c8d75 | ||
|
|
0fa08d07c8 | ||
|
|
a4ab66c867 | ||
|
|
565d931b4b | ||
|
|
e372769b45 | ||
|
|
f011531538 | ||
|
|
52e28d7a7a | ||
|
|
f4d3632afd | ||
|
|
22d9f942e2 | ||
|
|
29c43d0cdb | ||
|
|
318e5247f1 | ||
|
|
bdd9d96603 | ||
|
|
afc4bdd3be | ||
|
|
ce17ed5ae2 | ||
|
|
e553c3ec56 | ||
|
|
bac905a5a9 | ||
|
|
049e054c31 | ||
|
|
634f37c225 | ||
|
|
0dd205f750 | ||
|
|
ee8eec3fdb | ||
|
|
8de0f7bf7a | ||
|
|
fb15db1454 | ||
|
|
577b65a67f | ||
|
|
6c5dedead5 | ||
|
|
514bb7f897 | ||
|
|
9785a839b7 | ||
|
|
f2cc4a73e9 | ||
|
|
d443b72d29 | ||
|
|
d3069f12bc | ||
|
|
3b50639eef | ||
|
|
39128f134e | ||
|
|
6802509e6d | ||
|
|
5b6a358fab | ||
|
|
bdc071f3c5 | ||
|
|
de19586072 | ||
|
|
b61e4bcb59 | ||
|
|
4a98bdd599 | ||
|
|
54ab39d0cf | ||
|
|
af35f163ec | ||
|
|
936f194885 | ||
|
|
5150a9404c | ||
|
|
ecb43bedd9 | ||
|
|
1707e28d2e | ||
|
|
91e3c129df | ||
|
|
b50c8f5882 | ||
|
|
47d7b63b4f | ||
|
|
522e090992 | ||
|
|
e16dc7852e | ||
|
|
48337e2382 | ||
|
|
d23b8bb1d0 | ||
|
|
ce55fe1c78 | ||
|
|
aa08e33707 | ||
|
|
c51438c597 | ||
|
|
0b481a519d | ||
|
|
ec8e064333 | ||
|
|
257c7fd23b | ||
|
|
1e72aa61f0 | ||
|
|
deeda7b04f | ||
|
|
e7655058d0 | ||
|
|
78afaf42f3 | ||
|
|
44ef13d8b2 | ||
|
|
e9c984ff06 | ||
|
|
e100e141a6 | ||
|
|
26f27b3a69 | ||
|
|
52896cc78a | ||
|
|
52584a53e0 | ||
|
|
8fd5f456ce | ||
|
|
db3407a3ab | ||
|
|
945182eac9 | ||
|
|
b9acd32dfa | ||
|
|
60d6328016 | ||
|
|
de6ce2f679 | ||
|
|
ffb5e239f2 | ||
|
|
4bf25982fa | ||
|
|
e308021980 | ||
|
|
b0e5ae5a58 | ||
|
|
01f39d3e47 | ||
|
|
7b461161fc | ||
|
|
d2404e93a5 | ||
|
|
e9a208a78f | ||
|
|
a8ed82801f | ||
|
|
f3f56fb2bc | ||
|
|
a6d8cf0cec | ||
|
|
2fdf182a5d | ||
|
|
2988a11e25 | ||
|
|
4195457cdd | ||
|
|
4aa661f418 | ||
|
|
e03effe257 | ||
|
|
8a255f913e | ||
|
|
962e36768e | ||
|
|
dde131368d | ||
|
|
3b481d69c2 | ||
|
|
6f361280c3 | ||
|
|
0f75477dfa | ||
|
|
e68859beee | ||
|
|
83569ffcbc | ||
|
|
533b4696ea | ||
|
|
e1e6ae787d | ||
|
|
bc9fab6417 | ||
|
|
291e5b89cf | ||
|
|
7ee4842463 | ||
|
|
0f3461a808 | ||
|
|
1ad998c0d6 | ||
|
|
0f200c25c8 | ||
|
|
c3e3f6be37 | ||
|
|
a2739882f2 | ||
|
|
b7bad20900 | ||
|
|
34316144bd | ||
|
|
207171d336 | ||
|
|
ae4199eb82 | ||
|
|
1dfdf98f87 | ||
|
|
6217ec86af | ||
|
|
cfefdbf067 | ||
|
|
60c8cbbb7b | ||
|
|
ada4b680b2 | ||
|
|
b6d618cf5d | ||
|
|
1995c7cd5e | ||
|
|
ecac0269dd | ||
|
|
27fcfac8b8 | ||
|
|
ad7f71d41c | ||
|
|
a4948d15fd | ||
|
|
6cbcb67e56 | ||
|
|
e48d957906 | ||
|
|
ad1f8f9925 | ||
|
|
6911c54755 | ||
|
|
c89bfe8cf1 | ||
|
|
31547e98f5 | ||
|
|
4ad9f05421 | ||
|
|
2998cff567 | ||
|
|
20ede98a35 | ||
|
|
e661027615 | ||
|
|
d58e5e2a77 | ||
|
|
cbedb32d50 | ||
|
|
7b7bdb82a6 | ||
|
|
fc0fd6ec0d | ||
|
|
343efa2028 | ||
|
|
4ca2bc86e5 | ||
|
|
e66768314f | ||
|
|
2c23952b9c | ||
|
|
db0d1f1156 | ||
|
|
52b7171576 | ||
|
|
de29cb834f | ||
|
|
242a7b9027 | ||
|
|
62963c7d5d | ||
|
|
6c19051727 | ||
|
|
d8b9856252 | ||
|
|
6536905f85 | ||
|
|
8c8b77d767 | ||
|
|
e91873e3f6 | ||
|
|
927951ec18 | ||
|
|
d7d3bf4a13 | ||
|
|
23a8c76db2 | ||
|
|
dac306887d | ||
|
|
333c97ee23 | ||
|
|
2d136ebc29 | ||
|
|
eca624545b | ||
|
|
5d62cd2b5b | ||
|
|
0563bebee0 | ||
|
|
39a8d90553 | ||
|
|
f046ff86be | ||
|
|
fd81d5f7ca | ||
|
|
8f5c1bb7a3 | ||
|
|
6c10ea0ad4 | ||
|
|
a1e28f3dec | ||
|
|
20d6352d66 | ||
|
|
5a561ca613 | ||
|
|
5ee8b58411 | ||
|
|
54ad02986b | ||
|
|
5dd24b7ad2 | ||
|
|
594a28d221 | ||
|
|
a16bc712d8 | ||
|
|
c2755088e6 | ||
|
|
8264714ea7 | ||
|
|
7dc2eec5aa | ||
|
|
5c7fa0e3be | ||
|
|
b75bdb1930 | ||
|
|
394222ac72 | ||
|
|
e98b305246 | ||
|
|
3725609bc8 | ||
|
|
e4a80f2350 | ||
|
|
eeac94ca3b | ||
|
|
7001736104 | ||
|
|
ad55de7aa4 | ||
|
|
3c9b4d761e | ||
|
|
2d96451345 | ||
|
|
4bc1aabc0f | ||
|
|
2c914b5183 | ||
|
|
f0f6716352 | ||
|
|
61600b730a | ||
|
|
54c09890dd | ||
|
|
e01a41c418 | ||
|
|
db3ba46ab0 | ||
|
|
67ff3dfb6a | ||
|
|
952731fdd9 | ||
|
|
178f8e9008 | ||
|
|
622f3333e0 | ||
|
|
e768a7b7c6 | ||
|
|
ca95134827 | ||
|
|
bbd210d626 | ||
|
|
641bbb29a0 | ||
|
|
a1a8b1a7e7 | ||
|
|
e44add07df | ||
|
|
d359e6629d | ||
|
|
26938a98ed | ||
|
|
2db98a08fe | ||
|
|
b874c0afaa | ||
|
|
7dcd682f7d | ||
|
|
b3ff995884 | ||
|
|
eff6f305c8 | ||
|
|
3d06949492 | ||
|
|
61239a7be6 | ||
|
|
d6deb6920b | ||
|
|
b64d58145c | ||
|
|
ee7c2ed829 | ||
|
|
70a15c335d | ||
|
|
7b8c42ec38 | ||
|
|
b2012ebf80 | ||
|
|
82513dfcc6 | ||
|
|
402d22eac6 | ||
|
|
2bed5dd8bf | ||
|
|
0e4f45dac5 | ||
|
|
679d754891 | ||
|
|
ad093ea6a2 | ||
|
|
a3e0f538f7 | ||
|
|
73e3411beb | ||
|
|
bf45ed3869 | ||
|
|
d432014104 | ||
|
|
6a830abc9d | ||
|
|
5b54b481e8 | ||
|
|
e1ca1a907a | ||
|
|
cad78cca41 | ||
|
|
cd0a488fad | ||
|
|
0aa4a34c2a | ||
|
|
fa34d5c8f3 | ||
|
|
d077e5cbf5 | ||
|
|
d20b063cb2 | ||
|
|
d7e9b9738e | ||
|
|
1faaada240 | ||
|
|
6ca51a8f52 | ||
|
|
abfd3f0186 | ||
|
|
d7016a007c | ||
|
|
4d67f3596a | ||
|
|
97a5aa16a0 | ||
|
|
e9e4e34fdf | ||
|
|
62dee96808 | ||
|
|
8496fae43c | ||
|
|
ffc6368931 | ||
|
|
3caf5e10c4 | ||
|
|
93bab7d518 | ||
|
|
3162d19551 | ||
|
|
3431eb4a08 | ||
|
|
ef3e27625c | ||
|
|
055c451ab9 | ||
|
|
5c8b48e8f0 | ||
|
|
30b0520b78 | ||
|
|
2ae9d6ac55 | ||
|
|
12f8a7bf2a | ||
|
|
e477be1e94 | ||
|
|
85399c435c | ||
|
|
6bb604313d | ||
|
|
6b43fe312e | ||
|
|
8823924561 | ||
|
|
daf8f033fa | ||
|
|
cd3806e189 | ||
|
|
976febd1ac | ||
|
|
d29a589bff | ||
|
|
c0a6adb516 | ||
|
|
8774f97acd | ||
|
|
e1018e3edf | ||
|
|
ae8b8295a6 | ||
|
|
3ee2785894 | ||
|
|
d43342f06f | ||
|
|
e7f78a7d69 | ||
|
|
51018ac066 | ||
|
|
f648ab5f09 | ||
|
|
db49484d32 | ||
|
|
097e551f43 | ||
|
|
fc2e1fd651 | ||
|
|
cf231b5af3 | ||
|
|
4ee5d5130e | ||
|
|
8e9e846c34 | ||
|
|
f4068d6a49 | ||
|
|
a49961afe6 | ||
|
|
88e7ae91b0 | ||
|
|
233d65ea0d | ||
|
|
0a5f63db7b | ||
|
|
f83e11167d | ||
|
|
034936e8a9 | ||
|
|
99d1b3dd04 | ||
|
|
b1b5bbab0e | ||
|
|
d208fdf7cf | ||
|
|
7e841f73fe | ||
|
|
45fae9aeac | ||
|
|
c035a50677 | ||
|
|
319ab854d7 | ||
|
|
0fb9b9feda | ||
|
|
13ce4feb1b | ||
|
|
1ea5b179d5 | ||
|
|
7d6f60121a | ||
|
|
ea23dcabb9 | ||
|
|
df07bfc9e9 | ||
|
|
c542b4f4d1 | ||
|
|
edd2499824 | ||
|
|
a4a3ddfcdf | ||
|
|
14ad2c5055 | ||
|
|
6e2049d678 | ||
|
|
3fb500856d | ||
|
|
a57f10fb90 | ||
|
|
0f4acafeae | ||
|
|
7b383a18b4 | ||
|
|
b55729875d | ||
|
|
a5b4cb0766 | ||
|
|
dd63c3177d | ||
|
|
ceb11f1fb4 | ||
|
|
85eacf584c | ||
|
|
d6b6955903 | ||
|
|
4074b45a30 | ||
|
|
ba9499c786 | ||
|
|
dbac42746c | ||
|
|
7fe5335da7 | ||
|
|
6347d8f065 | ||
|
|
9516692138 | ||
|
|
a0dd3c1a9d | ||
|
|
d4abe3a8af | ||
|
|
3fee378da2 | ||
|
|
d6ae543a1e | ||
|
|
17c437048f | ||
|
|
2942594c37 | ||
|
|
e9b49d233b | ||
|
|
16e0409813 | ||
|
|
10c03d3e19 | ||
|
|
7aa6a2ca98 | ||
|
|
705d8ccf98 | ||
|
|
ae27b2ad0e | ||
|
|
8d3dc9eb33 | ||
|
|
1e821d866e |
2
Makefile
2
Makefile
@@ -15,7 +15,7 @@ TOP = .
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
ifeq ($(findstring YES,$(COMPAT_313) $(COMPAT_TOOLS_313)),YES)
|
||||
DIRS += config config/tools
|
||||
DIRS += config
|
||||
endif
|
||||
DIRS += configure src
|
||||
|
||||
|
||||
@@ -96,13 +96,14 @@ ACC_SLIBS_NO=
|
||||
# Use of /Za would dissable DLL import/export keywords which
|
||||
# EPICS include/excludes using architecture neutral macros
|
||||
#
|
||||
# /GX support C++ exceptions
|
||||
# /EHsc support C++ exceptions
|
||||
# /GR generate RTTI information
|
||||
#
|
||||
CCC = cl /GX /GR
|
||||
CCC = cl /EHsc /GR
|
||||
CCC_NORMAL = $(CCC) /nologo /D__STDC__=0
|
||||
CCC_STRICT = $(CCC) /nologo /D__STDC__=0
|
||||
CCC_TEMPL_INST_FLAG =
|
||||
ARCH_DEP_CPPFLAGS += /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE
|
||||
|
||||
#
|
||||
# /W<N> use warning level N
|
||||
@@ -269,3 +270,14 @@ LINK.cc = $(WINLINK) -nologo $(LDFLAGS) -out:$@
|
||||
# Overrides for CONFIG_COMMON default
|
||||
POSIX_CPPFLAGS_YES =
|
||||
|
||||
#--------------------------------------------------
|
||||
# UseManifestTool.pl checks MS Visual c++ compiler version number to
|
||||
# decide whether or not to use the Manifest Tool command to embed the
|
||||
# linker created .manifest file into a library or product target.
|
||||
# useManifestTool.pl returns 0(don't use) or 1(use).
|
||||
#
|
||||
ifeq ($(shell $(PERL) $(EPICS_BASE_TOOLS)/useManifestTool.pl),1)
|
||||
MT_DLL_COMMAND = mt.exe /manifest $@.manifest "/outputresource:$@;\#2"
|
||||
MT_EXE_COMMAND = mt.exe /manifest $@.manifest "/outputresource:$@;\#1"
|
||||
endif
|
||||
|
||||
|
||||
13
config/CONFIG.Host.cygwin-x86
Normal file
13
config/CONFIG.Host.cygwin-x86
Normal file
@@ -0,0 +1,13 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
|
||||
# cygwin-x86 is the new name for cygwin32
|
||||
-include $(EPICS_BASE)/config/CONFIG.Host.cygwin32
|
||||
@@ -20,6 +20,17 @@ include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon
|
||||
|
||||
EXE=.exe
|
||||
|
||||
#==========================
|
||||
#These overrides remove -ansi because -ansi eliminates strdup
|
||||
GCC_ANSI = $(GCC)
|
||||
GCC_STRICT = $(GCC) -pedantic
|
||||
G++_NORMAL = $(G++) -pedantic
|
||||
G++_STRICT = $(G++) -pedantic
|
||||
|
||||
#==========================
|
||||
#This override will eliminate warnings for old R3.13 extensions
|
||||
#GCC_WARN_YES =
|
||||
|
||||
#==========================
|
||||
# These are overrides of ANSI and CPLUSPLUS values in CONFIG_SITE
|
||||
# since OS vendor compilers ACC and CCC are not defined here for cygwin32
|
||||
@@ -32,7 +43,7 @@ SHARED_LIBRARIES=NO
|
||||
#OP_SYS_INCLUDES += /usr/local/include/g++
|
||||
#==========================
|
||||
|
||||
ARCH_DEP_CFLAGS = -DCYGWIN32 -U_WIN32
|
||||
ARCH_DEP_CPPFLAGS = -DCYGWIN32 -U_WIN32
|
||||
ARCH_DEP_LDLIBS =
|
||||
OP_SYS_LDLIBS =
|
||||
|
||||
@@ -41,7 +52,9 @@ OP_SYS_LDLIBS =
|
||||
GCC_DEP_CFLAGS = -D_REENTRANT
|
||||
G++_DEP_CFLAGS = -D_REENTRANT
|
||||
|
||||
POSIX_CPPFLAGS_YES = -D_POSIX_SOURCE
|
||||
#POSIX_SOURCE eliminates select()
|
||||
#POSIX_CPPFLAGS_YES = -D_POSIX_SOURCE
|
||||
POSIX_CPPFLAGS_YES = -D_POSIX_THREADS -D_POSIX_TIMERS
|
||||
|
||||
# Runtime ldflags
|
||||
RUNTIME_LIBS =$(EPICS_BASE)/lib/$(EPICS_HOST_ARCH)\
|
||||
|
||||
14
config/CONFIG.Host.darwin-ppcx86
Normal file
14
config/CONFIG.Host.darwin-ppcx86
Normal file
@@ -0,0 +1,14 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
|
||||
-include $(EPICS_BASE)/config/CONFIG.Host.Darwin
|
||||
OP_SYS_CFLAGS += "-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386"
|
||||
OP_SYS_LDFLAGS += "-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386"
|
||||
12
config/CONFIG.Host.darwin-x86
Normal file
12
config/CONFIG.Host.darwin-x86
Normal file
@@ -0,0 +1,12 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
|
||||
-include $(EPICS_BASE)/config/CONFIG.Host.Darwin
|
||||
35
config/CONFIG.Host.freebsd
Normal file
35
config/CONFIG.Host.freebsd
Normal file
@@ -0,0 +1,35 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2006 UChicago Argonne LLC, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE is distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
#
|
||||
# This file is maintained by the EPICS community.
|
||||
# Sites may override these definitions in CONFIG_SITE.Host.freebsd
|
||||
|
||||
OS_CLASS = freebsd
|
||||
|
||||
# Include definitions common to all Unix archs
|
||||
include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon
|
||||
|
||||
CODE_CPPFLAGS = -D_REENTRANT
|
||||
|
||||
POSIX_CPPFLAGS = -D_POSIX_THREADS
|
||||
POSIX_LDLIBS = -lpthread
|
||||
|
||||
# -D_BSD_SOURCE for gethostname() in unistd.h as needed by cacChannelIO.cpp.
|
||||
OP_SYS_CPPFLAGS += -D_BSD_SOURCE
|
||||
OP_SYS_CPPFLAGS += -Dfreebsd
|
||||
|
||||
# Set runtime path for shared libraries
|
||||
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_FULLPATHDIRS:%=-Wl,-rpath,%)
|
||||
|
||||
# Definitions used when COMMANDLINE_LIBRARY is READLINE
|
||||
LDLIBS_READLINE = -lreadline -lcurses
|
||||
|
||||
GNU_LDLIBS_YES = -lgcc_pic
|
||||
|
||||
15
config/CONFIG.Host.freebsd-x86
Normal file
15
config/CONFIG.Host.freebsd-x86
Normal file
@@ -0,0 +1,15 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2006 UChicago Argonne LLC, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE is distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
|
||||
ARCH_CLASS = x86
|
||||
|
||||
-include $(EPICS_BASE)/config/CONFIG.Host.freebsd
|
||||
|
||||
ARCH_DEP_CPPFLAGS += -D_X86_
|
||||
15
config/CONFIG.Host.freebsd-x86_64
Normal file
15
config/CONFIG.Host.freebsd-x86_64
Normal file
@@ -0,0 +1,15 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2006 UChicago Argonne LLC, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE is distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
|
||||
ARCH_CLASS = x86_64
|
||||
|
||||
-include $(EPICS_BASE)/config/CONFIG.Host.freebsd
|
||||
|
||||
ARCH_DEP_CPPFLAGS += -D_X86_64_
|
||||
@@ -7,18 +7,18 @@
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
TOP=../..
|
||||
-include $(EPICS_BASE)/config/CONFIG.Host.Linux
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
ARCH_CLASS = ppc
|
||||
|
||||
ifeq ($(findstring YES,$(COMPAT_313) $(COMPAT_TOOLS_313)),YES)
|
||||
SCRIPTS_HOST += $(subst ../,,$(wildcard ../*.pl))
|
||||
SCRIPTS_HOST += installEpics
|
||||
endif
|
||||
ARCH_DEP_CPPFLAGS += -D_ppc_
|
||||
|
||||
include $(TOP)/configure/RULES
|
||||
GNU_DIR = /usr
|
||||
|
||||
GCC = $(GNU_BIN)/gcc
|
||||
G++ = $(GNU_BIN)/g++
|
||||
|
||||
ARCH_DEP_LDLIBS = -lgcc
|
||||
|
||||
12
config/CONFIG.Host.linux-x86-debug
Normal file
12
config/CONFIG.Host.linux-x86-debug
Normal file
@@ -0,0 +1,12 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
|
||||
-include $(EPICS_BASE)/config/CONFIG.Host.Linux
|
||||
17
config/CONFIG.Host.linux-x86_64
Normal file
17
config/CONFIG.Host.linux-x86_64
Normal file
@@ -0,0 +1,17 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
|
||||
-include $(EPICS_BASE)/config/CONFIG.Host.Linux
|
||||
|
||||
ARCH_CLASS = Linux
|
||||
|
||||
ARCH_DEP_CFLAGS = -D_X86_64_ -Dlinux
|
||||
|
||||
13
config/CONFIG.Host.linux-x86_64-debug
Normal file
13
config/CONFIG.Host.linux-x86_64-debug
Normal file
@@ -0,0 +1,13 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
|
||||
-include $(EPICS_BASE)/config/CONFIG.Host.linux-x86_64
|
||||
|
||||
20
config/CONFIG.Host.osf-alpha-gnu
Normal file
20
config/CONFIG.Host.osf-alpha-gnu
Normal file
@@ -0,0 +1,20 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
|
||||
# osf-alpha is the new name for alpha
|
||||
-include $(EPICS_BASE)/config/CONFIG.Host.alpha
|
||||
|
||||
#==========================
|
||||
# These are overrides of ANSI and CPLUSPLUS values in CONFIG_SITE
|
||||
ANSI=GCC
|
||||
CPLUSPLUS=G++
|
||||
#==========================
|
||||
|
||||
@@ -71,16 +71,19 @@ POSIX_CPPFLAGS_YES += -D__EXTENSIONS__ -mt
|
||||
|
||||
ARCH_DEP_LDFLAGS += -mt
|
||||
|
||||
# socket and nsl needed by libca.a
|
||||
# socket and nsl needed by libca.a when SHARED_LIBRARIES = NO
|
||||
ARCH_DEP_LDLIBS += -lsocket -lnsl
|
||||
ARCH_DEP_LDLIBS += -lposix4 -lpthread
|
||||
ARCH_DEP_LDLIBS_8 = -lCrun
|
||||
ARCH_DEP_LDLIBS_9 = -lCrun
|
||||
|
||||
ARCH_DEP_LDLIBS_8 += -lCrun -lc -lCstd
|
||||
ARCH_DEP_LDLIBS_9 += -lCrun -lc -lCstd
|
||||
ARCH_DEP_LDLIBS_10 += -lCrun -lc -lCstd
|
||||
ARCH_DEP_LDLIBS += $(ARCH_DEP_LDLIBS_$(SOLARIS_VERSION))
|
||||
|
||||
#Allows R3.13 built extensions to load R3.14 shared libs
|
||||
SYS_DLL_LIBS_solaris_8 = Crun
|
||||
SYS_DLL_LIBS_solaris_9 = Crun
|
||||
SYS_DLL_LIBS_solaris_10 = Crun
|
||||
SYS_DLL_LIBS_solaris += posix4 pthread $(SYS_DLL_LIBS_solaris_$(SOLARIS_VERSION))
|
||||
|
||||
# Runtime ldflags
|
||||
|
||||
18
config/CONFIG.Host.solaris-sparc64
Normal file
18
config/CONFIG.Host.solaris-sparc64
Normal file
@@ -0,0 +1,18 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
|
||||
# solaris-sparc is the new name for solaris
|
||||
-include $(EPICS_BASE)/config/CONFIG.Host.solaris
|
||||
|
||||
ARCH_DEP_CFLAGS += -xarch=generic64
|
||||
ARCH_DEP_CXXFLAGS += -xarch=generic64
|
||||
ARCH_DEP_LDFLAGS += -xarch=generic64
|
||||
|
||||
18
config/CONFIG.Host.solaris-sparc64-gnu
Normal file
18
config/CONFIG.Host.solaris-sparc64-gnu
Normal file
@@ -0,0 +1,18 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
|
||||
# solaris-sparc is the new name for solaris
|
||||
-include $(EPICS_BASE)/config/CONFIG.Host.solarisGnu
|
||||
|
||||
ARCH_DEP_CFLAGS += -mcpu=v9 -m64
|
||||
ARCH_DEP_CXXFLAGS += -mcpu=v9 -m64
|
||||
ARCH_DEP_LDFLAGS += -mcpu=v9 -m64
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# CONFIG.Host.solaris-x86
|
||||
# CONFIG.Host.solaris-x86-gnu
|
||||
#
|
||||
# This file is maintained by the EPICS community.
|
||||
# Sites may override these definitions in CONFIG_SITE.Host.solaris-x86
|
||||
|
||||
@@ -12,20 +12,7 @@
|
||||
# This file is maintained by the EPICS community.
|
||||
# Sites may override these definitions in CONFIG_SITE.Host.solarisGnu
|
||||
|
||||
ARCH_CLASS = solaris
|
||||
|
||||
# Include definitions common to all Unix archs
|
||||
include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon
|
||||
|
||||
#
|
||||
# required by sun's C++ compiler
|
||||
#
|
||||
AR = ar
|
||||
_AR = $(AR) $(ARFLAGS)
|
||||
G++_AR = $(_AR)
|
||||
CCC_AR = $(CCC) -xar -o
|
||||
ARCMD = $($(CPLUSPLUS)_AR) $@
|
||||
RANLIB =
|
||||
include $(EPICS_BASE)/config/CONFIG.Host.solaris
|
||||
|
||||
#==========================
|
||||
# These are overrides of ANSI and CPLUSPLUS values in CONFIG_SITE
|
||||
@@ -33,25 +20,3 @@ ANSI=GCC
|
||||
CPLUSPLUS=G++
|
||||
#==========================
|
||||
|
||||
SOLARIS_VERSION = $(subst 5.,,$(shell uname -r))
|
||||
ARCH_DEP_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION)
|
||||
POSIX_CPPFLAGS_YES += -D__EXTENSIONS__
|
||||
|
||||
ARCH_DEP_LDFLAGS += -mt
|
||||
|
||||
# socket and nsl needed by libca.a
|
||||
ARCH_DEP_LDLIBS += -lsocket -lnsl
|
||||
ARCH_DEP_LDLIBS += -lposix4 -lpthread
|
||||
ARCH_DEP_LDLIBS_8 = -lCrun
|
||||
ARCH_DEP_LDLIBS_9 = -lCrun
|
||||
ARCH_DEP_LDLIBS += $(ARCH_DEP_LDLIBS_$(SOLARIS_VERSION))
|
||||
|
||||
#Allows R3.13 built extensions to load R3.14 shared libs
|
||||
SYS_DLL_LIBS_solaris_8 = Crun
|
||||
SYS_DLL_LIBS_solaris_9 = Crun
|
||||
SYS_DLL_LIBS_solaris += posix4 pthread $(SYS_DLL_LIBS_solaris_$(SOLARIS_VERSION))
|
||||
|
||||
# Runtime ldflags
|
||||
RUNTIME_LDFLAGS =$(addprefix -R,$(EPICS_BASE)/lib/$(EPICS_HOST_ARCH)\
|
||||
$(EPICS_EXTENSIONS)/lib/$(EPICS_HOST_ARCH))
|
||||
|
||||
|
||||
62
config/CONFIG.Host.win32-x86-cygwin
Normal file
62
config/CONFIG.Host.win32-x86-cygwin
Normal file
@@ -0,0 +1,62 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
#
|
||||
# This file is maintained by the EPICS community.
|
||||
# Sites may override these definitions in CONFIG_SITE.Host.win32-x86-cygwin
|
||||
|
||||
# Include definitions common to all Unix archs
|
||||
include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon
|
||||
|
||||
EXE = .exe
|
||||
|
||||
SHARED_LIBRARIES = NO
|
||||
|
||||
ARCH_CLASS = WIN32
|
||||
|
||||
AR = ar -rc
|
||||
ARCMD = $(AR) $@
|
||||
RANLIB = ranlib -t
|
||||
|
||||
ANSI=GCC
|
||||
CPLUSPLUS=G++
|
||||
|
||||
# Dont use -ansi: -ansi eliminates strdup and _tempnam
|
||||
GCC_ANSI = $(GCC)
|
||||
GCC_STRICT = $(GCC) -pedantic
|
||||
G++_NORMAL = $(G++) -pedantic
|
||||
G++_STRICT = $(G++) -pedantic
|
||||
|
||||
# Dont use -fPIC: with -fPIC we get
|
||||
# "warning: -fPIC ignored for target (all code is position independent) "
|
||||
GCC_DEP_CFLAGS =
|
||||
G++_DEP_CFLAGS =
|
||||
|
||||
OP_SYS_CFLAGS =
|
||||
OP_SYS_CPPFLAGS = -mno-cygwin
|
||||
OP_SYS_CXXFLAGS += -D__cplusplus
|
||||
OP_SYS_LDFLAGS += -mno-cygwin
|
||||
|
||||
POSIX_CPPFLAGS_YES =
|
||||
|
||||
# With no-cygwin option:
|
||||
# compiler defines _X86_ 1
|
||||
# compiler defines __MSVCRT__ 1
|
||||
# compiler defines __MINGW32__ 1
|
||||
# compiler defines __WIN32 1
|
||||
# compiler defines __WIN32__ 1
|
||||
# compiler defines _WIN32 1
|
||||
# compiler defines WIN32 1
|
||||
# compiler defines WINNT 1
|
||||
# compiler does not define __unix __unix__ unix
|
||||
# compiler does not define __CYGWIN__ __CYGWIN32__
|
||||
|
||||
ARCH_DEP_LDLIBS = -lws2_32 -ladvapi32 -luser32 -lkernel32 -lwinmm
|
||||
|
||||
12
config/CONFIG.Host.win32-x86-debug
Normal file
12
config/CONFIG.Host.win32-x86-debug
Normal file
@@ -0,0 +1,12 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
|
||||
-include $(EPICS_BASE)/config/CONFIG.Host.WIN32
|
||||
58
config/CONFIG.Host.win32-x86-mingw
Normal file
58
config/CONFIG.Host.win32-x86-mingw
Normal file
@@ -0,0 +1,58 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
#
|
||||
# This file is maintained by the EPICS community.
|
||||
# Sites may override these definitions in CONFIG_SITE.Host.win32-x86-mingw
|
||||
|
||||
# Include definitions common to all Unix archs
|
||||
include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon
|
||||
|
||||
EXE = .exe
|
||||
|
||||
SHARED_LIBRARIES = NO
|
||||
|
||||
ARCH_CLASS = WIN32
|
||||
|
||||
AR = ar -rc
|
||||
ARCMD = $(AR) $@
|
||||
RANLIB = ranlib -t
|
||||
|
||||
ANSI=GCC
|
||||
CPLUSPLUS=G++
|
||||
|
||||
# Compiler defines _X86_ 1
|
||||
|
||||
# Compiler defines __MSVCRT__ 1
|
||||
# Compiler defines __MINGW32__ 1
|
||||
# Compiler defines __WIN32 1
|
||||
# Compiler defines __WINNT 1
|
||||
# Compiler defines __WINNT__ 1
|
||||
# Compiler defines __WIN32__ 1
|
||||
# Compiler defines _WIN32 1
|
||||
# Compiler defines WIN32 1
|
||||
# Compiler defines WINNT 1
|
||||
# Compiler does not define __unix __unix__ unix
|
||||
|
||||
OP_SYS_CFLAGS =
|
||||
OP_SYS_CXXFLAGS += -D__cplusplus
|
||||
|
||||
GCC_DEP_CFLAGS =
|
||||
G++_DEP_CFLAGS =
|
||||
|
||||
POSIX_CPPFLAGS_YES =
|
||||
|
||||
ARCH_DEP_LDLIBS = -lws2_32 -ladvapi32 -luser32 -lkernel32 -lwinmm
|
||||
|
||||
# Remove -ansi compile option for gcc (does not allow c++ type comments).
|
||||
GCC_ANSI = $(GCC)
|
||||
GCC_STRICT = $(GCC) -pedantic
|
||||
G++_NORMAL = $(G++) -pedantic
|
||||
G++_STRICT = $(G++) -pedantic
|
||||
@@ -52,6 +52,9 @@ EPICS_BASE = $(TOP)
|
||||
# EPICS include config file
|
||||
include $(EPICS_BASE)/config/CONFIG
|
||||
|
||||
-include $(EPICS_BASE)/configure/RELEASE
|
||||
-include $(EPICS_BASE)/configure/RELEASE.$(EPICS_HOST_ARCH)
|
||||
|
||||
ifdef INSTALL_LOCATION_BASE
|
||||
INSTALL_LOCATION = $(INSTALL_LOCATION_BASE)
|
||||
endif
|
||||
|
||||
@@ -90,7 +90,7 @@ GCC_STRICT = $(GCC) -ansi -pedantic
|
||||
GCC_TRAD = $(GCC)
|
||||
GCC_DEP_CFLAGS = -fPIC -D_REENTRANT
|
||||
|
||||
GCC_WARN_YES = -Wall -Wtraditional -Wmissing-prototypes -Wstrict-prototypes
|
||||
GCC_WARN_YES = -Wall -Wmissing-prototypes -Wstrict-prototypes
|
||||
GCC_WARN_NO = -w
|
||||
GCC_OPT_YES = -O3
|
||||
GCC_OPT_NO = -g
|
||||
@@ -244,7 +244,7 @@ LDFLAGS = $(OPT_LDFLAGS) $(TARGET_LDFLAGS) $(USR_LDFLAGS)\
|
||||
LDLIBS = $(TARGET_LDLIBS) $(USR_LDLIBS) $(STATIC_LDLIBS) $(ARCH_DEP_LDLIBS)\
|
||||
$(OP_SYS_LDLIBS) $(POSIX_LDLIBS)
|
||||
|
||||
CPPFLAGS += $(TARGET_CPPFLAGS) $(USR_CPPFLAGS) $(ARCH_DEP_CPPFLAGS) $(POSIX_CPPFLAGS)
|
||||
CPPFLAGS += $(TARGET_CPPFLAGS) $(USR_CPPFLAGS) $(ARCH_DEP_CPPFLAGS) $(POSIX_CPPFLAGS) $(OP_SYS_CPPFLAGS)
|
||||
|
||||
CPPSNCFLAGS = $(INCLUDES)
|
||||
|
||||
|
||||
@@ -21,8 +21,9 @@ ARCH_solarisNonshared = solaris-sparc-nonshared
|
||||
ARCH_solaris = solaris-sparc
|
||||
ARCH_sun4 = sun4-sparc
|
||||
ARCH_Linux = linux-x86
|
||||
ARCH_freebsd = freebsd-x86_64
|
||||
ARCH_WIN32 = win32-x86
|
||||
ARCH_hp700 = hpux-m68k
|
||||
ARCH_hp700 = hpux-parisc
|
||||
ARCH_alpha = osf-alpha
|
||||
ARCH_Borland = win32-x86-borland
|
||||
ARCH_cygwin32 = cygwin-x86
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#*************************************************************************
|
||||
# CONFIG_HOST_ARCH.Darwin
|
||||
#
|
||||
# Override values in CONFIG.Vx
|
||||
|
||||
# Include definitions common to all Unix archs
|
||||
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#*************************************************************************
|
||||
# CONFIG_HOST_ARCH.Linux
|
||||
#
|
||||
# Override values in CONFIG.Vx
|
||||
|
||||
# Include definitions common to all Unix archs
|
||||
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#*************************************************************************
|
||||
# CONFIG_HOST_ARCH.alpha
|
||||
#
|
||||
# Override values in CONFIG.Vx
|
||||
|
||||
# Include definitions common to all Unix archs
|
||||
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon
|
||||
|
||||
23
config/CONFIG_HOST_ARCH.cygwin-x86
Normal file
23
config/CONFIG_HOST_ARCH.cygwin-x86
Normal file
@@ -0,0 +1,23 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# CONFIG_HOST_ARCH.cygwin-x86
|
||||
#
|
||||
# This file is maintained by the EPICS community.
|
||||
|
||||
# Include definitions common to all Unix archs
|
||||
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon
|
||||
|
||||
EXE=.exe
|
||||
HOSTEXE=.exe
|
||||
|
||||
TORNADO=YES
|
||||
|
||||
WIND_HOST_TYPE = x86-win32
|
||||
|
||||
12
config/CONFIG_HOST_ARCH.darwin-ppcx86
Normal file
12
config/CONFIG_HOST_ARCH.darwin-ppcx86
Normal file
@@ -0,0 +1,12 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
|
||||
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.Darwin
|
||||
12
config/CONFIG_HOST_ARCH.darwin-x86
Normal file
12
config/CONFIG_HOST_ARCH.darwin-x86
Normal file
@@ -0,0 +1,12 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
|
||||
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.Darwin
|
||||
11
config/CONFIG_HOST_ARCH.freebsd-x86_64
Normal file
11
config/CONFIG_HOST_ARCH.freebsd-x86_64
Normal file
@@ -0,0 +1,11 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2006 UChicago Argonne LLC, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE is distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
|
||||
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon
|
||||
@@ -9,7 +9,6 @@
|
||||
#*************************************************************************
|
||||
# CONFIG_HOST_ARCH.hp700
|
||||
#
|
||||
# Override values in CONFIG.Vx
|
||||
|
||||
# Include definitions common to all Unix archs
|
||||
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon
|
||||
|
||||
14
config/CONFIG_HOST_ARCH.linux-ppc
Normal file
14
config/CONFIG_HOST_ARCH.linux-ppc
Normal file
@@ -0,0 +1,14 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
|
||||
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.Linux
|
||||
|
||||
WIND_HOST_TYPE = ppc-linux
|
||||
15
config/CONFIG_HOST_ARCH.linux-x86-debug
Normal file
15
config/CONFIG_HOST_ARCH.linux-x86-debug
Normal file
@@ -0,0 +1,15 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
|
||||
# linux-x86 is the new name for linux
|
||||
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.Linux
|
||||
|
||||
HOST_OPT = NO
|
||||
15
config/CONFIG_HOST_ARCH.linux-x86_64
Normal file
15
config/CONFIG_HOST_ARCH.linux-x86_64
Normal file
@@ -0,0 +1,15 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
|
||||
# Include definitions common to all Unix archs
|
||||
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon
|
||||
|
||||
WIND_HOST_TYPE = x86-linux2
|
||||
15
config/CONFIG_HOST_ARCH.linux-x86_64-debug
Normal file
15
config/CONFIG_HOST_ARCH.linux-x86_64-debug
Normal file
@@ -0,0 +1,15 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
|
||||
# Include definitions common to all Unix archs
|
||||
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.linux-x86_64
|
||||
|
||||
HOST_OPT = NO
|
||||
@@ -9,7 +9,6 @@
|
||||
#*************************************************************************
|
||||
# CONFIG_HOST_ARCH.sgi
|
||||
#
|
||||
# Override values in CONFIG.Vx
|
||||
|
||||
# Include definitions common to all Unix archs
|
||||
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon
|
||||
|
||||
@@ -8,8 +8,6 @@
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# CONFIG_HOST_ARCH.solaris
|
||||
#
|
||||
# Override values in CONFIG.Vx
|
||||
|
||||
# Include definitions common to all Unix archs
|
||||
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon
|
||||
|
||||
@@ -11,3 +11,4 @@
|
||||
|
||||
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.solaris
|
||||
|
||||
HOST_OPT = NO
|
||||
|
||||
13
config/CONFIG_HOST_ARCH.solaris-sparc64
Normal file
13
config/CONFIG_HOST_ARCH.solaris-sparc64
Normal file
@@ -0,0 +1,13 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
|
||||
# solaris-sparc is the new name for solaris
|
||||
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.solaris
|
||||
13
config/CONFIG_HOST_ARCH.solaris-sparc64-gnu
Normal file
13
config/CONFIG_HOST_ARCH.solaris-sparc64-gnu
Normal file
@@ -0,0 +1,13 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
|
||||
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.solarisGnu
|
||||
|
||||
@@ -8,8 +8,6 @@
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# CONFIG_HOST_ARCH.solaris-x86
|
||||
#
|
||||
# Override values in CONFIG.Vx
|
||||
|
||||
# Include definitions common to all Unix archs
|
||||
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
# CONFIG_HOST_ARCH.solarisGnu
|
||||
#
|
||||
# Override values in CONFIG.Vx
|
||||
|
||||
# Include definitions common to all Unix archs
|
||||
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#*************************************************************************
|
||||
# CONFIG_HOST_ARCH.sun4
|
||||
#
|
||||
# Override values in CONFIG.Vx
|
||||
|
||||
# Include definitions common to all Unix archs
|
||||
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon
|
||||
|
||||
20
config/CONFIG_HOST_ARCH.win32-x86-cygwin
Normal file
20
config/CONFIG_HOST_ARCH.win32-x86-cygwin
Normal file
@@ -0,0 +1,20 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
#
|
||||
# Override values in CONFIG_SITE_HOST_ARCH.win32-x86-cygwin
|
||||
|
||||
# Include definitions common to all Unix archs
|
||||
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon
|
||||
|
||||
HOSTEXE=.exe
|
||||
|
||||
WIND_HOST_TYPE = x86-win32
|
||||
|
||||
14
config/CONFIG_HOST_ARCH.win32-x86-debug
Normal file
14
config/CONFIG_HOST_ARCH.win32-x86-debug
Normal file
@@ -0,0 +1,14 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
|
||||
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.WIN32
|
||||
|
||||
HOST_OPT = NO
|
||||
29
config/CONFIG_HOST_ARCH.win32-x86-mingw
Normal file
29
config/CONFIG_HOST_ARCH.win32-x86-mingw
Normal file
@@ -0,0 +1,29 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
#
|
||||
# Override values in CONFIG_SITE_HOST_ARCH.win32-x86-mingw
|
||||
|
||||
# Include definitions common to all Unix archs
|
||||
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon
|
||||
|
||||
EXE=.exe
|
||||
HOSTEXE=.exe
|
||||
|
||||
CP =$(PERL) $(EPICS_BASE_TOOLS)/cp.pl
|
||||
MV =$(PERL) $(EPICS_BASE_TOOLS)/mv.pl
|
||||
RM =$(PERL) $(EPICS_BASE_TOOLS)/rm.pl -f
|
||||
MKDIR=$(PERL) $(EPICS_BASE_TOOLS)/mkdir.pl
|
||||
RMDIR=$(PERL) $(EPICS_BASE_TOOLS)/rm.pl -rf
|
||||
CHMOD=echo
|
||||
ECHO=echo
|
||||
|
||||
WIND_HOST_TYPE = x86-win32
|
||||
|
||||
5
config/CONFIG_SITE.Host.darwin-x86
Normal file
5
config/CONFIG_SITE.Host.darwin-x86
Normal file
@@ -0,0 +1,5 @@
|
||||
# $Id$
|
||||
|
||||
-include $(EPICS_BASE)/config/CONFIG_SITE.Host.Darwin
|
||||
|
||||
SHARED_LIBRARIES=NO
|
||||
4
config/CONFIG_SITE.Host.solaris-sparc64
Normal file
4
config/CONFIG_SITE.Host.solaris-sparc64
Normal file
@@ -0,0 +1,4 @@
|
||||
# $Id$
|
||||
|
||||
# solaris-sparc is the new name for solaris
|
||||
-include $(EPICS_BASE)/config/CONFIG_SITE.Host.solaris
|
||||
@@ -1,3 +1,4 @@
|
||||
# CONFIG_SITE.Vx.ppc604
|
||||
|
||||
# APS override of tornado directory for ppc
|
||||
#VX_DIR_YES = /usr/local/vw/tornado101ppc2
|
||||
|
||||
@@ -20,6 +20,9 @@ INSTALL_CONFIG = $(INSTALL_LOCATION)/config
|
||||
|
||||
CONFIGS += $(subst ../,,$(wildcard ../CONFIG*))
|
||||
CONFIGS += $(subst ../,,$(wildcard ../RULES*))
|
||||
|
||||
CONFIGS += $(subst ../,,$(wildcard ../tools/*.pl))
|
||||
|
||||
endif
|
||||
|
||||
include $(TOP)/configure/RULES
|
||||
|
||||
@@ -427,6 +427,7 @@ else
|
||||
$(PRODNAME): $(PRODNAME_OBJS) $(PRODNAME_RESS)
|
||||
@$(RM) $@
|
||||
$(PRODNAME_LINKER) $(PRODNAME_OBJS) $(PRODNAME_RESS) $(LDLIBS)
|
||||
$(MT_EXE_COMMAND)
|
||||
|
||||
endif
|
||||
endif # ifdef PRODNAME_SRCS
|
||||
@@ -738,6 +739,7 @@ $(DLL_LINK_LIBNAME) $(SHRLIBNAME): $(LIBOBJS) $(LIBNAME_RESS)
|
||||
else
|
||||
$(DLL_LINK_LIBNAME) $(SHRLIBNAME): $(LIBOBJS) $(LIBNAME_RESS)
|
||||
$(LINK.shrlib) $(LIBOBJS) $(DLL_LDLIBS) $(LIBNAME_RESS)
|
||||
$(MT_DLL_COMMAND)
|
||||
|
||||
endif
|
||||
ifdef BORLANDC
|
||||
|
||||
31
config/tools/useManifestTool.pl
Executable file
31
config/tools/useManifestTool.pl
Executable file
@@ -0,0 +1,31 @@
|
||||
eval 'exec perl -S -w $0 ${1+"$@"}' # -*- Mode: perl -*-
|
||||
if 0;
|
||||
|
||||
#
|
||||
# Use MS Visual C++ compiler version number to determine if
|
||||
# we want to use the Manifest Tool (status=1) or not (status=0)
|
||||
#
|
||||
# VC compiler versions >= 14.00 will have status=1
|
||||
# VC compiler versions 10.00 - 13.10 will have status=0
|
||||
# EPICS builds with older VC compilers is not supported
|
||||
#
|
||||
|
||||
my $versionString=`cl 2>&1`;
|
||||
|
||||
if ($versionString =~ m/Version 14./) {
|
||||
$status=1;
|
||||
} elsif ($versionString =~ m/Version 13.10/){
|
||||
$status=0;
|
||||
} elsif ($versionString =~ m/Version 13.0/){
|
||||
$status=0;
|
||||
} elsif ($versionString =~ m/Version 12./){
|
||||
$status=0;
|
||||
} elsif ($versionString =~ m/Version 11./){
|
||||
$status=0;
|
||||
} elsif ($versionString =~ m/Version 10./){
|
||||
$status=0;
|
||||
} else {
|
||||
$status=1;
|
||||
}
|
||||
print "$status\n";
|
||||
exit;
|
||||
@@ -17,12 +17,19 @@
|
||||
# Common build definitions
|
||||
#
|
||||
|
||||
CONFIG ?= $(TOP)/configure
|
||||
ifndef EPICS_BASE
|
||||
EPICS_BASE = $(INSTALL_LOCATION)
|
||||
CONFIG = $(TOP)/configure
|
||||
BASE_TOP=YES
|
||||
else
|
||||
CONFIG = $(EPICS_BASE)/configure
|
||||
endif
|
||||
|
||||
-include $(CONFIG)/os/CONFIG_COMPAT
|
||||
|
||||
-include $(CONFIG)/RELEASE
|
||||
-include $(CONFIG)/RELEASE.$(EPICS_HOST_ARCH)
|
||||
-include $(CONFIG)/RELEASE.$(EPICS_HOST_ARCH).Common
|
||||
ifdef T_A
|
||||
-include $(CONFIG)/RELEASE.Common.$(T_A)
|
||||
-include $(CONFIG)/RELEASE.$(EPICS_HOST_ARCH).$(T_A)
|
||||
@@ -33,12 +40,15 @@ include $(CONFIG)/CONFIG_COMMON
|
||||
# Base-specific build options
|
||||
#
|
||||
include $(CONFIG)/CONFIG_BASE
|
||||
include $(CONFIG)/CONFIG_BASE_VERSION
|
||||
|
||||
# Site-specific build options
|
||||
#
|
||||
include $(CONFIG)/CONFIG_SITE
|
||||
|
||||
# Version numbering
|
||||
#
|
||||
include $(CONFIG)/CONFIG_BASE_VERSION
|
||||
|
||||
# Host architecture specific definitions
|
||||
#
|
||||
include $(CONFIG)/os/CONFIG.$(EPICS_HOST_ARCH).Common
|
||||
|
||||
@@ -27,7 +27,7 @@ CROSS_INCLUDES = $(addprefix -I,$(GNU_TARGET_INCLUDE_DIR))
|
||||
CROSS_LDFLAGS = $(addprefix -L,$(GNU_TARGET_LIB_DIR))
|
||||
|
||||
CMPLR_PREFIX_CROSS=$(addsuffix -,$(GNU_TARGET))
|
||||
CMPLR_PREFIX=$(CMPLR_PREFIX_$(BUILD_CLASSS))
|
||||
CMPLR_PREFIX=$(CMPLR_PREFIX_$(BUILD_CLASS))
|
||||
|
||||
# All cross builds use the gnu compiler
|
||||
include $(CONFIG)/CONFIG.gnuCommon
|
||||
|
||||
@@ -51,9 +51,9 @@
|
||||
# PROD products to build and install
|
||||
# PROD_HOST products to build and install
|
||||
# PROD_IOC products to build and install
|
||||
# TESTPROD products to build and install
|
||||
# TESTPROD_HOST products to build and install
|
||||
# TESTPROD_IOC products to build and install
|
||||
# TESTPROD products to build
|
||||
# TESTPROD_HOST products to build
|
||||
# TESTPROD_IOC products to build
|
||||
# LIBRARY products to build and install
|
||||
# LIBRARY_HOST products to build and install
|
||||
# LIBRARY_IOC products to build and install
|
||||
@@ -62,6 +62,9 @@
|
||||
# SCRIPTS scripts and install
|
||||
# SCRIPTS_HOST host system scripts to install
|
||||
# SCRIPTS_IOC ioc system scripts to install
|
||||
# TESTSCRIPTS scripts
|
||||
# TESTSCRIPTS_HOST host system scripts
|
||||
# TESTSCRIPTS_IOC ioc system scripts
|
||||
# OBJS object files to build and install
|
||||
# OBJS_HOST host system object files to build and install
|
||||
# OBJS_IOC ioc system object files to build and install
|
||||
@@ -493,6 +496,33 @@ SCRIPTS_HOST+=$(SCRIPTS_HOST_DEFAULT)
|
||||
endif
|
||||
endif
|
||||
|
||||
#
|
||||
# concat specific scripts
|
||||
#
|
||||
ifneq ($(strip $(TESTSCRIPTS_$(OS_CLASS))),)
|
||||
TESTSCRIPTS += $(subst -nil-,,$(TESTSCRIPTS_$(OS_CLASS)))
|
||||
else
|
||||
ifdef TESTSCRIPTS_DEFAULT
|
||||
TESTSCRIPTS += $(TESTSCRIPTS_DEFAULT)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(strip $(TESTSCRIPTS_IOC_$(OS_CLASS))),)
|
||||
TESTSCRIPTS_IOC+=$(subst -nil-,,$(TESTSCRIPTS_IOC_$(OS_CLASS)))
|
||||
else
|
||||
ifneq (,$(strip $(TESTSCRIPTS_IOC_DEFAULT)))
|
||||
TESTSCRIPTS_IOC+=$(TESTSCRIPTS_IOC_DEFAULT)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(strip $(TESTSCRIPTS_HOST_$(OS_CLASS))),)
|
||||
TESTSCRIPTS_HOST+=$(subst -nil-,,$(TESTSCRIPTS_HOST_$(OS_CLASS)))
|
||||
else
|
||||
ifneq (,$(strip $(TESTSCRIPTS_HOST_DEFAULT)))
|
||||
TESTSCRIPTS_HOST+=$(TESTSCRIPTS_HOST_DEFAULT)
|
||||
endif
|
||||
endif
|
||||
|
||||
#
|
||||
# concat specific resource files
|
||||
#
|
||||
|
||||
@@ -8,10 +8,6 @@
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
|
||||
ifndef EPICS_BASE
|
||||
EPICS_BASE = $(INSTALL_LOCATION)
|
||||
endif
|
||||
|
||||
#---------------------------------------------------------------
|
||||
# Epics base directories
|
||||
|
||||
@@ -32,16 +28,16 @@ EPICS_BASE_IOC_LIBS += dbIoc registryIoc dbStaticIoc ca Com
|
||||
#---------------------------------------------------------------
|
||||
# Epics base Host libraries
|
||||
|
||||
EPICS_BASE_HOST_LIBS += cas gdd iocsh asHost dbStaticHost registryIoc
|
||||
EPICS_BASE_HOST_LIBS += cas gdd iocshHost asHost dbStaticHost registryIoc
|
||||
EPICS_BASE_HOST_LIBS += ca Com
|
||||
|
||||
#---------------------------------------------------------------
|
||||
# Version number for base shared libraries (and win32 products)
|
||||
|
||||
ifeq ($(EPICS_BASE),$(TOP))
|
||||
ifdef BASE_TOP
|
||||
SHRLIB_VERSION = $(EPICS_VERSION).$(EPICS_REVISION)
|
||||
PROD_VERSION = $(EPICS_VERSION).$(EPICS_REVISION)
|
||||
endif # EPICS_BASE
|
||||
endif # BASE_TOP
|
||||
|
||||
#---------------------------------------------------------------
|
||||
# Base c preprocessor flags
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# Copyright (c) 2006 UChicago Argonne LLC, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
# EPICS BASE is distributed subject to a Software License Agreement found
|
||||
# in the file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
#
|
||||
# $Id$
|
||||
@@ -24,14 +23,14 @@ EPICS_VERSION = 3
|
||||
EPICS_REVISION = 14
|
||||
|
||||
# This part may contain letters, eg 0beta1
|
||||
EPICS_MODIFICATION = 8
|
||||
EPICS_MODIFICATION = 9
|
||||
|
||||
# Not included if zero
|
||||
EPICS_PATCH_LEVEL = 1
|
||||
EPICS_PATCH_LEVEL = 0
|
||||
|
||||
# This will be -CVS or empty at an official release point
|
||||
#EPICS_CVS_SNAPSHOT=-CVS
|
||||
EPICS_CVS_SNAPSHOT=
|
||||
EPICS_CVS_SNAPSHOT=-RC1
|
||||
#EPICS_CVS_SNAPSHOT=
|
||||
|
||||
# No changes should be needed below here
|
||||
|
||||
|
||||
@@ -37,15 +37,20 @@ BUILD_ARCHS = $(EPICS_HOST_ARCH) $(CROSS1) $(CROSS2)
|
||||
# otherwise override this in os/CONFIG_SITE.<host_arch>.Common
|
||||
PERL=perl
|
||||
|
||||
#-------------------------------------------------------
|
||||
# dbst based database optimization default
|
||||
DB_OPT = NO
|
||||
|
||||
#-------------------------------------------------------
|
||||
# Check configure/RELEASE file for consistency
|
||||
CHECK_RELEASE_YES = checkRelease
|
||||
CHECK_RELEASE_NO =
|
||||
CHECK_RELEASE_WARN = warnRelease
|
||||
|
||||
#-------------------------------------------------------
|
||||
# Directories
|
||||
|
||||
INSTALL_LOCATION ?= $(TOP)
|
||||
INSTALL_LOCATION = $(TOP)
|
||||
TOOLS = $(CONFIG)/tools
|
||||
|
||||
INSTALL_LOCATION_LIB = $(INSTALL_LOCATION)/lib
|
||||
@@ -105,6 +110,8 @@ OBJ = .
|
||||
RES = .
|
||||
CMPLR_SUFFIX=
|
||||
CMPLR_PREFIX=
|
||||
LIB_PREFIX=
|
||||
SHRLIB_PREFIX= $(LIB_PREFIX)
|
||||
|
||||
#-------------------------------------------------------
|
||||
# tools for installing libraries and products
|
||||
@@ -223,7 +230,7 @@ TARGET_LDFLAGS = $($*_LDFLAGS)
|
||||
# Level of ansi conformance flags
|
||||
CONFORM_CPPFLAGS = $(CONFORM_CPPFLAGS_$(CMPLR))
|
||||
CONFORM_CFLAGS = $(CONFORM_CFLAGS_$(CMPLR))
|
||||
CONFORM_CXXFLAGS = $(CONFORM_CXXFLAGS_$(CMPLR))
|
||||
CONFORM_CXXFLAGS = $(CONFORM_CXXFLAGS_$(CXXCMPLR))
|
||||
|
||||
# Warnings flags
|
||||
WARN_CFLAGS = $(WARN_CFLAGS_$($(BUILD_CLASS)_WARN))
|
||||
@@ -305,8 +312,7 @@ PREPROCESS.cpp = $(CPP) $(CPPFLAGS) $(INCLUDES) $< > $@
|
||||
# Depends command
|
||||
|
||||
HDEPENDS_FLAGS =
|
||||
# Use only dependancies from current top tree
|
||||
HDEPENDS_INCLUDES = $(filter .%,$(subst -I,,$(INCLUDES)))
|
||||
HDEPENDS_INCLUDES = $(subst -I,,$(INCLUDES))
|
||||
HDEPENDSFLAGS = -m $*$(DEP) $(HDEPENDS_INCLUDES) $@ $<
|
||||
HDEPENDS_CMD_YES = -$(MKMF) $(HDEPENDS_FLAGS) $(HDEPENDSFLAGS)
|
||||
HDEPENDS_CMD_NO = echo ""
|
||||
|
||||
@@ -1,36 +1,32 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# Copyright (c) 2006 UChicago Argonne LLC, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
# EPICS BASE is distributed subject to a Software License Agreement found
|
||||
# in the file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# CONFIG_SITE - config file
|
||||
# by Matthew Needes and Mike Bordua
|
||||
#
|
||||
# This file is to be modified by the build system manager
|
||||
# only.
|
||||
# CONFIG_SITE - Global site configuration file
|
||||
#
|
||||
|
||||
|
||||
# The host architecture performing the build,
|
||||
# i.e.: the arch running DCT/getrel/etc.
|
||||
# <operating system>-<architecture>[-<alternate compiler>]
|
||||
# The host architecture performing the build, in the form
|
||||
# <operating system>-<architecture>[-<toolset>]
|
||||
#
|
||||
# Currently Supporting:
|
||||
# aix-ppc (HP compiler used for host builds)
|
||||
# aix-ppc (IBM compiler used for host builds)
|
||||
# aix-ppc-gnu (GNU compiler used for host builds)
|
||||
# cygwin-x86 (cygwin compiler used for host builds)
|
||||
# darwin-ppc
|
||||
# darwin-ppc (PowerPC based Apple running OSX)
|
||||
# darwin-x86 (Intel based Apple running OSX)
|
||||
# darwin-ppcx86 (Universal binaries for both CPUs)
|
||||
# freebsd-x86 (GNU compiler used for host builds)
|
||||
# freebsd-x86_64 (GNU compiler used for host builds)
|
||||
# hpux-parisc (HP compiler used for host builds)
|
||||
# hpux-parisc-gnu (GNU compiler used for host builds)
|
||||
# linux-ppc (GNU compiler used for host builds)
|
||||
# linux-ppc-bgl
|
||||
# linux-x86 (GNU compiler used for host builds)
|
||||
# linux-x86_64 (GNU compiler used for host builds)
|
||||
# linux-x86-borland (Borland C++ compiler used for host builds)
|
||||
@@ -41,9 +37,9 @@
|
||||
# solaris-x86 (sun compiler used for host builds)
|
||||
# solaris-x86-gnu (GNU compiler used for host builds)
|
||||
# win32-x86 (MS Visual C++ compiler used for host builds)
|
||||
# win32-x86_mingw (MinGW compiler used for host builds)
|
||||
# win32-x86-mingw (MinGW compiler used for host builds)
|
||||
# win32-x86-borland (Borland C++ compiler used for host builds)
|
||||
# win32-x86-cygwin (cygwin GNU compiler used for host builds)
|
||||
# win32-x86-cygwin (WIN32 API with cygwin GNU compiler used for host builds)
|
||||
|
||||
# Debugging builds
|
||||
# linux-x86-debug (GNU compiler with -g option for host builds)
|
||||
@@ -55,7 +51,7 @@
|
||||
# EPICS_HOST_ARCH is a required environment variable
|
||||
# Do not set EPICS_HOST_ARCH in this file.
|
||||
# Use base/startup files to set EPICS_HOST_ARCH or
|
||||
# set EPICS_HOST_ARCH on the GNU make command line.
|
||||
# provide EPICS_HOST_ARCH on the GNU make command line.
|
||||
|
||||
# The cross-compiler architectures to build EPICS for
|
||||
#
|
||||
@@ -65,7 +61,7 @@
|
||||
# linux-586 (linux-x86 host)
|
||||
# linux-686 (linux-x86 host)
|
||||
# linux-athlon (linux-x86 host)
|
||||
# linuxRT-mvme2100 (linux-x86 host)
|
||||
# linux-arm
|
||||
# vxWorks-486
|
||||
# vxWorks-68040
|
||||
# vxWorks-68040lc
|
||||
@@ -75,8 +71,8 @@
|
||||
# vxWorks-ppc603_long
|
||||
# vxWorks-ppc604
|
||||
# vxWorks-ppc604_long
|
||||
# vxWorks6-mv2100
|
||||
# vxWorks6-mv5100
|
||||
# vxWorks-ppc604_altivec
|
||||
# vxWorks-mpc8540
|
||||
# RTEMS-gen68360
|
||||
# RTEMS-mcp750
|
||||
# RTEMS-mvme167
|
||||
@@ -86,8 +82,6 @@
|
||||
# RTEMS-psim
|
||||
# RTEMS-uC5282
|
||||
#
|
||||
# Debugging builds
|
||||
# vxWorks-68040-debug
|
||||
|
||||
# Definitions of CROSS_COMPILER_TARGET_ARCHS in
|
||||
# configure/os/CONFIG_SITE.<host>.Common files will
|
||||
@@ -158,7 +152,7 @@ CROSS_WARN=YES
|
||||
# NOTE: Set to YES only if you have existing R3.13 extensions to be
|
||||
# built with this base
|
||||
#
|
||||
COMPAT_TOOLS_313=NO
|
||||
#COMPAT_TOOLS_313=YES
|
||||
|
||||
# Create and/or install files for R3.13 ioc application and extension builds?
|
||||
# must be either YES or NO
|
||||
@@ -169,7 +163,9 @@ COMPAT_TOOLS_313=NO
|
||||
COMPAT_313=NO
|
||||
|
||||
# Installation directory
|
||||
#Note: INSTALL_LOCATION definition moved to configure/RELEASE file
|
||||
# If you don't want to install into $(TOP) dir then
|
||||
# define INSTALL_LOCATION here
|
||||
#INSTALL_LOCATION=<fullpathname>
|
||||
|
||||
# Use POSIX thread priority scheduling (YES or NO)
|
||||
USE_POSIX_THREAD_PRIORITY_SCHEDULING = NO
|
||||
|
||||
@@ -33,15 +33,15 @@
|
||||
# where the start and end are mmddhh - that is month,day,hour
|
||||
# eg EPICS_TIMEZONE=CUS::360:033102:102802
|
||||
#
|
||||
# DST for 2006 US: Apr 2 - Oct 29
|
||||
# EU: Mar 26 - Oct 29
|
||||
# DST for 2007 US: Mar 11 - Nov 04
|
||||
# EU: Mar 25 - Oct 28
|
||||
# (see: http://www.worldtimezone.org/daylight.html)
|
||||
#
|
||||
# EPICS_TS_NTP_INET
|
||||
# NTP or Unix time server ip address. Uses boot host if not set.
|
||||
|
||||
EPICS_TIMEZONE=CUS::360:040202:102902
|
||||
#EPICS_TIMEZONE=MET::-60:032602:102902
|
||||
EPICS_TIMEZONE=CUS::360:031102:110402
|
||||
#EPICS_TIMEZONE=MET::-60:032502:102802
|
||||
EPICS_TS_NTP_INET=
|
||||
|
||||
# IOC Shell:
|
||||
|
||||
@@ -9,17 +9,13 @@
|
||||
#*************************************************************************
|
||||
# RELEASE: Define location of external EPICS products
|
||||
|
||||
# Define INSTALL_LOCATION in CONFIG_SITE
|
||||
|
||||
# VX_DIR definition now in os/CONFIG_SITE.Common.vxWorksCommon
|
||||
# RTEMS_BASE (and RTEMS_VERSION) now in os/CONFIG_SITE.Common.RTEMS
|
||||
|
||||
# NB: Settings in RELEASE files can be overridden in files named
|
||||
# RELEASE.$(EPICS_HOST_ARCH)
|
||||
# RELEASE.Common.$(OS_CLASS)Common
|
||||
# RELEASE.$(EPICS_HOST_ARCH).Common
|
||||
# RELEASE.Common.$(T_A)
|
||||
# RELEASE.$(EPICS_HOST_ARCH).$(T_A)
|
||||
|
||||
# If you don't want to install into $(TOP) dir then
|
||||
# define INSTALL_LOCATION here
|
||||
#INSTALL_LOCATION=<fullpathname>
|
||||
#INSTALL_LOCATION=/home/phoebus/JBA/install
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ COMMON_DBDINC += $(addprefix $(COMMON_DIR),$(HINC))
|
||||
DBDDEPENDS_FILES += $(addsuffix $(DEP),$(COMMON_DBDS) \
|
||||
$(COMMON_DBDINC) $(COMMON_DBS))
|
||||
|
||||
DBDDEPENDS_FLAGS = $(filter .%,$(subst -I,,$(filter-out -S%,$(DBDFLAGS))))
|
||||
DBDDEPENDS_FLAGS = $(subst -I,,$(filter-out -S%,$(DBDFLAGS)))
|
||||
DBDDEPENDS_CMD = -$(MKMF) -m $@$(DEP) $(DBDDEPENDS_FLAGS) $@ $<
|
||||
|
||||
MAKEDBDEPENDS = $(PERL) $(TOOLS)/makeDbDepends.pl
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# Copyright (c) 2006 UChicago Argonne LLC, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
# EPICS BASE is distributed subject to a Software License Agreement found
|
||||
# in the file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
#
|
||||
# $Id$
|
||||
@@ -20,8 +19,9 @@ rebuild: clean install
|
||||
ACTIONS = inc
|
||||
ACTIONS += build
|
||||
ACTIONS += install
|
||||
ACTIONS += buildInstall
|
||||
ACTIONS += browse
|
||||
ACTIONS += buildInstall
|
||||
ACTIONS += browse
|
||||
ACTIONS += runtests
|
||||
|
||||
actionPart = $(word 1, $(subst $(DIVIDER), ,$@))
|
||||
archPart = $(word 2, $(subst $(DIVIDER), ,$@))
|
||||
@@ -41,7 +41,7 @@ $(BUILD_ARCHS) : % : O.% O.Common
|
||||
|
||||
$(ACTIONS):%: $(foreach arch, $(BUILD_ARCHS), %$(DIVIDER)$(arch))
|
||||
|
||||
$(buildDirs):
|
||||
$(buildDirs):
|
||||
$(PERL) $(TOOLS)/makeMakefile.pl $@ $(TOP)/..
|
||||
|
||||
O.Common:
|
||||
@@ -54,14 +54,19 @@ O.Common:
|
||||
targetReleaseFiles = $(wildcard $(foreach arch, $(BUILD_ARCHS), \
|
||||
$(TOP)/configure/RELEASE.Common.$(arch) \
|
||||
$(TOP)/configure/RELEASE.$(EPICS_HOST_ARCH).$(arch)))
|
||||
|
||||
checkReleaseTargets = $(addprefix checkRelease, $(suffix $(targetReleaseFiles)))
|
||||
|
||||
checkRelease: $(checkReleaseTargets)
|
||||
$(PERL) $(TOOLS)/convertRelease.pl -h $(EPICS_HOST_ARCH) $@
|
||||
|
||||
$(PERL) $(TOOLS)/convertRelease.pl -h $(EPICS_HOST_ARCH) checkRelease
|
||||
$(checkReleaseTargets):checkRelease.%:
|
||||
$(PERL) $(TOOLS)/convertRelease.pl -h $(EPICS_HOST_ARCH) -a $* checkRelease
|
||||
|
||||
warnReleaseTargets = $(addprefix warnRelease, $(suffix $(targetReleaseFiles)))
|
||||
warnRelease: $(warnReleaseTargets)
|
||||
-$(PERL) $(TOOLS)/convertRelease.pl -h $(EPICS_HOST_ARCH) checkRelease
|
||||
$(warnReleaseTargets):warnRelease.%:
|
||||
-$(PERL) $(TOOLS)/convertRelease.pl -h $(EPICS_HOST_ARCH) -a $* checkRelease
|
||||
|
||||
#
|
||||
# special clean rule
|
||||
#
|
||||
@@ -74,7 +79,7 @@ archclean ::
|
||||
$(cleanArchTargets) ::
|
||||
$(RMDIR) O.$(archPart)
|
||||
|
||||
realclean ::
|
||||
realclean ::
|
||||
$(RMDIR) O.*
|
||||
|
||||
.PHONY : $(actionArchTargets)
|
||||
@@ -82,4 +87,3 @@ realclean ::
|
||||
.PHONY : $(BUILD_ARCHS)
|
||||
.PHONY : $(ACTIONS) clean realclean archclean all
|
||||
.PHONY : checkRelease $(checkReleaseTargets)
|
||||
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# Copyright (c) 2006 UChicago Argonne LLC, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
# EPICS BASE is distributed subject to a Software License Agreement found
|
||||
# in the file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
#
|
||||
@@ -40,6 +39,7 @@ LOADABLE_LIBRARY += $(LOADABLE_LIBRARY_HOST)
|
||||
OBJS += $(OBJS_HOST)
|
||||
PROD += $(PROD_HOST)
|
||||
SCRIPTS += $(SCRIPTS_HOST)
|
||||
TESTSCRIPTS += $(TESTSCRIPTS_HOST)
|
||||
TESTPROD += $(TESTPROD_HOST)
|
||||
endif
|
||||
|
||||
@@ -48,6 +48,7 @@ LIBRARY += $(LIBRARY_IOC)
|
||||
OBJS += $(OBJS_IOC)
|
||||
PROD += $(PROD_IOC)
|
||||
SCRIPTS += $(SCRIPTS_IOC)
|
||||
TESTSCRIPTS += $(TESTSCRIPTS_IOC)
|
||||
TESTPROD += $(TESTPROD_IOC)
|
||||
endif
|
||||
|
||||
@@ -118,7 +119,7 @@ rebuild: clean install
|
||||
build : inc
|
||||
|
||||
build: $(OBJSNAME) $(LIBTARGETS) $(PRODTARGETS) $(TESTPRODNAME) \
|
||||
$(TARGETS)
|
||||
$(TARGETS) $(TESTSCRIPTS)
|
||||
|
||||
inc : $(COMMON_INC) $(INSTALL_INC)
|
||||
|
||||
@@ -144,7 +145,7 @@ clean::
|
||||
@$(RM) *.i *$(OBJ) *.a $(TESTPRODNAME) $(LIBNAME) $(SHRLIBNAME)\
|
||||
$(INC) *$(RES) $(TARGETS) $(DLL_LINK_LIBNAME) $(TDS) \
|
||||
*.out MakefileInclude $(LOADABLE_SHRLIBNAME) *.manifest *.exp \
|
||||
$(COMMON_INC) $(HDEPENDS_FILES) $(PRODTARGETS)
|
||||
$(COMMON_INC) $(HDEPENDS_FILES) $(PRODTARGETS) $(TESTSCRIPTS)
|
||||
ifdef BAF
|
||||
@$(RM) $(PROD_BAF) $(LIB_BAF) *$(BOF)
|
||||
endif
|
||||
@@ -161,12 +162,17 @@ $(DIRECTORY_TARGETS) :
|
||||
# The order of the following rules is
|
||||
# VERY IMPORTANT !!!!
|
||||
|
||||
$(TESTPRODNAME) $(PRODNAME):%$(EXE): $(PRODUCT_OBJS) $(PROD_RESS) $(PROD_DEPLIBS)
|
||||
$(TESTPRODNAME) $(PRODNAME): $(PRODUCT_OBJS) $(PROD_RESS) $(PROD_DEPLIBS)
|
||||
|
||||
$(TESTPRODNAME) $(PRODNAME):%$(EXE):
|
||||
@$(RM) $@
|
||||
$(DEBUGCMD) $(LINK.cpp)
|
||||
$(MT_EXE_COMMAND)
|
||||
|
||||
# object libs for R3.13 vxWorks compatibility only
|
||||
$(OBJLIBNAME):%$(OBJ): $(OBJLIB_LD_OBJS)
|
||||
$(OBJLIBNAME): $(OBJLIB_LD_OBJS)
|
||||
|
||||
$(OBJLIBNAME):%$(OBJ):
|
||||
@$(RM) $@
|
||||
$(OBJLIB_LINK.cpp)
|
||||
|
||||
@@ -259,22 +265,32 @@ $(LIBNAME): ../baseLIBOBJS
|
||||
endif
|
||||
|
||||
# rule for lib (archive of object files) creation
|
||||
$(LIBNAME): $(LIB_PREFIX)%$(LIB_SUFFIX): $(LIBRARY_OBJS)
|
||||
$(LIBNAME): $(LIBRARY_OBJS)
|
||||
|
||||
$(LIBNAME): $(LIB_PREFIX)%$(LIB_SUFFIX):
|
||||
@$(RM) $@
|
||||
$(ARCMD)
|
||||
ifneq ($(strip $(RANLIB)),)
|
||||
$(RANLIB) $@
|
||||
endif # RANLIB
|
||||
|
||||
$(DLL_LINK_LIBNAME):$(LIB_PREFIX)%.lib: $(LIBRARY_OBJS) $(LIBRARY_RESS) $(SHRLIB_DEPLIBS)
|
||||
$(DLL_LINK_LIBNAME): $(LIBRARY_OBJS) $(LIBRARY_RESS) $(SHRLIB_DEPLIBS)
|
||||
|
||||
$(DLL_LINK_LIBNAME):$(SHRLIB_PREFIX)%.lib:
|
||||
@$(RM) $@
|
||||
$(LINK.shrlib)
|
||||
$(MT_DLL_COMMAND)
|
||||
|
||||
$(SHRLIBNAME):$(LIB_PREFIX)%$(SHRLIB_SUFFIX): $(LIBRARY_OBJS) $(LIBRARY_RESS) $(SHRLIB_DEPLIBS)
|
||||
$(SHRLIBNAME): $(LIBRARY_OBJS) $(LIBRARY_RESS) $(SHRLIB_DEPLIBS)
|
||||
|
||||
$(SHRLIBNAME):$(SHRLIB_PREFIX)%$(SHRLIB_SUFFIX):
|
||||
@$(RM) $@
|
||||
$(LINK.shrlib)
|
||||
$(MT_DLL_COMMAND)
|
||||
|
||||
$(LOADABLE_SHRLIBNAME):$(LOADABLE_SHRLIB_PREFIX)%$(LOADABLE_SHRLIB_SUFFIX): $(LIBRARY_OBJS) $(LIBRARY_RESS) $(SHRLIB_DEPLIBS)
|
||||
$(LOADABLE_SHRLIBNAME): $(LIBRARY_OBJS) $(LIBRARY_RESS) $(SHRLIB_DEPLIBS)
|
||||
|
||||
$(LOADABLE_SHRLIBNAME):$(LOADABLE_SHRLIB_PREFIX)%$(LOADABLE_SHRLIB_SUFFIX):
|
||||
@$(RM) $@
|
||||
$(LINK.loadable_shrlib)
|
||||
|
||||
@@ -299,6 +315,21 @@ $(OBJLIB_MUNCHNAME):%.munch : %_ctdt$(OBJ) %$(OBJ)
|
||||
@$(RM) $@
|
||||
$(MUNCH_CMD)
|
||||
|
||||
runtests: $(TESTSCRIPTS_$(BUILD_CLASS))
|
||||
$(PERL) -e 'use Test::Harness; runtests @ARGV if @ARGV;' $^
|
||||
|
||||
# If there's a perl test script (.plt) available, use it
|
||||
%.t: ../%.plt
|
||||
@$(RM) $@
|
||||
@$(CP) $< $@
|
||||
|
||||
# Some versions of Test::Harness expect test programs in perl only.
|
||||
# Generate a 1-line perl program to exec the real test binary.
|
||||
# Uses the $0 runtime path to itself to find the executable.
|
||||
%.t: %$(EXE)
|
||||
@$(RM) $@
|
||||
@echo '($$e=$$0)=~s/.t$$/$(EXE)/;exec "./$$e" or die "exec failed";'>$@
|
||||
|
||||
# Ext, app and module rules
|
||||
RULES_INCLUDE CONFIG_APP_INCLUDE: $(wildcard $(TOP)/configure/RELEASE*)
|
||||
@$(RM) $@
|
||||
@@ -318,15 +349,7 @@ $(INSTALL_BIN)/%: ../os/$(OS_CLASS)/%
|
||||
|
||||
$(INSTALL_BIN)/%: %
|
||||
@echo "Installing binary $@"
|
||||
ifdef WIN32
|
||||
ifdef BORLAND
|
||||
@$(INSTALL_PRODUCT) -d -m 555 $< $(INSTALL_BIN)
|
||||
else
|
||||
@$(INSTALL_PRODUCT) -d -m 555 $<* $(INSTALL_BIN)
|
||||
endif
|
||||
else
|
||||
@$(INSTALL_PRODUCT) -d -m 555 $< $(INSTALL_BIN)
|
||||
endif
|
||||
|
||||
$(INSTALL_BIN)/%: ../%
|
||||
@echo "Installing script $@"
|
||||
@@ -422,6 +445,7 @@ $(INSTALL_TEMPLATES_SUBDIR)/%: %
|
||||
.PRECIOUS: $(COMMON_INC)
|
||||
|
||||
.PHONY: all inc build install clean rebuild buildInstall binInstalls libInstalls
|
||||
.PHONY: runtests
|
||||
|
||||
endif # BASE_RULES_BUILD
|
||||
# EOF RULES_BUILD
|
||||
|
||||
@@ -1,24 +1,23 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# Copyright (c) 2006 UChicago Argonne LLC, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
# EPICS BASE is distributed subject to a Software License Agreement found
|
||||
# in the file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
|
||||
|
||||
ARCHS += $(BUILD_ARCHS)
|
||||
ACTIONS += inc build install buildInstall clean realclean archclean
|
||||
|
||||
ACTIONS += inc build install buildInstall clean realclean archclean runtests
|
||||
|
||||
dirPart = $(word 1, $(subst $(DIVIDER), ,$@))
|
||||
actionArchPart = $(join $(word 2, $(subst $(DIVIDER), ,$@)), \
|
||||
$(addprefix $(DIVIDER),$(word 3, $(subst $(DIVIDER), ,$@))))
|
||||
|
||||
$(addprefix $(DIVIDER),$(word 3, $(subst $(DIVIDER), ,$@))))
|
||||
|
||||
dirActionArchTargets = $(foreach dir, $(DIRS), \
|
||||
$(foreach action, $(ACTIONS),\
|
||||
$(foreach arch, $(ARCHS), \
|
||||
|
||||
13
configure/os/CONFIG.Common.RTEMS-at91rm9200ek
Normal file
13
configure/os/CONFIG.Common.RTEMS-at91rm9200ek
Normal file
@@ -0,0 +1,13 @@
|
||||
#
|
||||
# CONFIG.Common.RTEMS-at91rm9200ek
|
||||
# Author: Ralf Hartmann
|
||||
# BESSY
|
||||
# Ralf.Hartmann@bessy.de
|
||||
#
|
||||
# Atmel AT91RM9200-EK evaluation kit
|
||||
# using the AT91RM9200 ARM9-based 32-bit RISC microcontroller
|
||||
#
|
||||
# All RTEMS targets use the same Makefile fragment
|
||||
#
|
||||
RTEMS_TARGET_CPU=arm
|
||||
include $(CONFIG)/os/CONFIG.Common.RTEMS
|
||||
@@ -16,11 +16,6 @@ VALID_BUILDS = Host Ioc
|
||||
# Gnu directory
|
||||
GNU_DIR = /usr/local
|
||||
|
||||
#-------------------------------------------------------
|
||||
# Get fullpathname of relative dirs
|
||||
SHRLIB_SEARCH_FULLPATHDIRS = $(foreach dir,$(SHRLIB_SEARCH_DIRS), \
|
||||
$(shell perl $(TOOLS)/fullPathName.pl $(dir)))
|
||||
|
||||
#-------------------------------------------------------
|
||||
# Unix prefix and suffix definitions
|
||||
EXE =
|
||||
@@ -55,8 +50,10 @@ SHRLIB_DEPLIBS=$(foreach lib, $(LIB_LIBS) $(USR_LIBS), \
|
||||
SHRLIB_LDLIBS = $(addprefix -l, $($*_LDLIBS) $(LIB_LIBS) $(USR_LIBS) \
|
||||
$($*_SYS_LIBS) $(LIB_SYS_LIBS) $(USR_SYS_LIBS)) $(LDLIBS)
|
||||
|
||||
SHRLIB_DEPLIB_DIRS = $(dir $($*_DEPLIBS)) $(dir $(SHRLIB_DEPLIBS))
|
||||
SHRLIBDIR_LDFLAGS += $(sort $(SHRLIB_DEPLIB_DIRS:%=-L%))
|
||||
SHRLIB_DEPLIB_DIRS = $(foreach word,$(sort $(dir $($*_DEPLIBS) $(SHRLIB_DEPLIBS))), \
|
||||
$(shell $(PERL) $(TOOLS)/fullPathName.pl $(word)))
|
||||
|
||||
SHRLIBDIR_LDFLAGS += $(SHRLIB_DEPLIB_DIRS:%=-L%)
|
||||
|
||||
#-------------------------------------------------------
|
||||
# Prod: DEPLIBS, LDFLAGS, and LDLIBS definitions
|
||||
@@ -75,8 +72,10 @@ LDLIBS_SHARED_NO = LDLIBS
|
||||
PROD_LDLIBS += $($(firstword $(LDLIBS_STATIC_$(STATIC_BUILD)) \
|
||||
$(LDLIBS_SHARED_$(SHARED_LIBRARIES))))
|
||||
|
||||
PROD_DEPLIB_DIRS = $(dir $($*_DEPLIBS)) $(dir $(PROD_DEPLIBS))
|
||||
PRODDIR_LDFLAGS += $(sort $(PROD_DEPLIB_DIRS:%=-L%))
|
||||
PROD_DEPLIB_DIRS = $(foreach word,$(sort $(dir $($*_DEPLIBS) $(PROD_DEPLIBS))), \
|
||||
$(shell $(PERL) $(TOOLS)/fullPathName.pl $(word)))
|
||||
|
||||
PRODDIR_LDFLAGS += $(PROD_DEPLIB_DIRS:%=-L%)
|
||||
|
||||
#--------------------------------------------------
|
||||
# Link definitions
|
||||
|
||||
@@ -27,7 +27,10 @@ ARCH_DEP_CPPFLAGS += -D_X86_
|
||||
OP_SYS_CPPFLAGS += -DCYGWIN32 -U_WIN32
|
||||
|
||||
# Set runtime path for shared libraries
|
||||
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_FULLPATHDIRS:%=-Wl,-rpath,%)
|
||||
SHRLIBDIR_LDFLAGS += $(SHRLIB_DEPLIB_DIRS:%=-Wl,-rpath,%)
|
||||
|
||||
# Set runtime path for products
|
||||
PRODDIR_LDFLAGS += $(PROD_DEPLIB_DIRS:%=-Wl,-rpath,%)
|
||||
|
||||
# Definitions used when COMMANDLINE_LIBRARY is READLINE
|
||||
INCLUDES_READLINE = -I$(GNU_DIR)/include
|
||||
|
||||
@@ -7,52 +7,10 @@
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.darwin-ppc
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all Unix targets
|
||||
include $(CONFIG)/os/CONFIG.Common.UnixCommon
|
||||
|
||||
#
|
||||
# Set OS-specific information
|
||||
# Architecture-specific information
|
||||
#
|
||||
OS_CLASS = Darwin
|
||||
ARCH_CLASS = ppc
|
||||
|
||||
#
|
||||
# Special flags for Darwin
|
||||
# No common blocks (as required when using shared libraries)
|
||||
#
|
||||
OP_SYS_CFLAGS += -fno-common
|
||||
|
||||
#
|
||||
# Don't try to use precompiled headers when converting sequencer files
|
||||
#
|
||||
CPPSNCFLAGS += -no-cpp-precomp
|
||||
|
||||
#
|
||||
# Darwin os definition
|
||||
#
|
||||
OP_SYS_CPPFLAGS += -Ddarwin
|
||||
|
||||
#
|
||||
# The following two definitions enable the use of DarwinPorts packages.
|
||||
|
||||
#
|
||||
OP_SYS_INCLUDES += -I/opt/local/include
|
||||
# dir/firstword/wildcard used to avoid warning -L: directory name (...) does not exist
|
||||
OP_SYS_LDFLAGS += $(addprefix -L,$(dir $(firstword $(wildcard /opt/local/lib/*))))
|
||||
|
||||
#
|
||||
# The following two definitions enable the use of Fink packages.
|
||||
#
|
||||
OP_SYS_INCLUDES += -I/sw/include
|
||||
# dir/firstword/wildcard used to avoid warning -L: directory name (...) does not exist
|
||||
OP_SYS_LDFLAGS += $(addprefix -L,$(dir $(firstword $(wildcard /sw/lib/*))))
|
||||
|
||||
#
|
||||
# Libraries for command-line editing.
|
||||
#
|
||||
LDLIBS_READLINE = -lreadline
|
||||
|
||||
#
|
||||
# Command-line input support
|
||||
#
|
||||
COMMANDLINE_LIBRARY=READLINE
|
||||
# Include definitions common to all Darwin targets
|
||||
include $(CONFIG)/os/CONFIG.darwinCommon.darwinCommon
|
||||
|
||||
22
configure/os/CONFIG.Common.darwin-ppcx86
Normal file
22
configure/os/CONFIG.Common.darwin-ppcx86
Normal file
@@ -0,0 +1,22 @@
|
||||
# CONFIG.Common.darwin-ppcx86
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for Darwin 'universal' (PowerPC, Intel) target builds
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.darwin-ppcx86
|
||||
#-------------------------------------------------------
|
||||
|
||||
#
|
||||
# Set architecture-specific information
|
||||
#
|
||||
ARCH_CLASS = ppcx86
|
||||
|
||||
#
|
||||
# Universal binary support
|
||||
#
|
||||
OP_SYS_CFLAGS += -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc
|
||||
OP_SYS_LDFLAGS += -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc
|
||||
|
||||
# Include definitions common to all Darwin targets
|
||||
include $(CONFIG)/os/CONFIG.darwinCommon.darwinCommon
|
||||
16
configure/os/CONFIG.Common.darwin-x86
Normal file
16
configure/os/CONFIG.Common.darwin-x86
Normal file
@@ -0,0 +1,16 @@
|
||||
# CONFIG.Common.darwin-x86
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for darwin-x86 target builds
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.darwin-x86
|
||||
#-------------------------------------------------------
|
||||
|
||||
#
|
||||
# Architecture-specific information
|
||||
#
|
||||
ARCH_CLASS = x86
|
||||
|
||||
# Include definitions common to all Darwin targets
|
||||
include $(CONFIG)/os/CONFIG.darwinCommon.darwinCommon
|
||||
34
configure/os/CONFIG.Common.freebsd-x86
Normal file
34
configure/os/CONFIG.Common.freebsd-x86
Normal file
@@ -0,0 +1,34 @@
|
||||
# $Id$
|
||||
#
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for freebsd-x86 target builds
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.freebsd-x86
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all freebsd targets
|
||||
include $(CONFIG)/os/CONFIG.Common.freebsdCommon
|
||||
|
||||
ARCH_CLASS = x86
|
||||
|
||||
ARCH_DEP_CPPFLAGS += -D_X86_
|
||||
|
||||
ifeq ($(BUILD_CLASS),CROSS)
|
||||
ifeq ($(EPICS_HOST_ARCH),freebsd-x86)
|
||||
# Added for 386,486,... cross builds
|
||||
CMPLR_PREFIX=
|
||||
CROSS_INCLUDES=
|
||||
CROSS_LDFLAGS=
|
||||
# Use -w not -Wall
|
||||
#WARN_CFLAGS_YES = -w
|
||||
#WARN_CXXFLAGS_YES = -w
|
||||
-include $(CONFIG)/os/CONFIG_SITE.Common.freebsd-x86
|
||||
-include $(CONFIG)/os/CONFIG.freebsd-x86.freebsd-x86
|
||||
-include $(CONFIG)/os/CONFIG_SITE.freebsd-x86.freebsd-x86
|
||||
else
|
||||
GNU_TARGET=i586-pc-freebsd-gnu
|
||||
CMPLR_SUFFIX=
|
||||
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
|
||||
endif
|
||||
endif
|
||||
|
||||
34
configure/os/CONFIG.Common.freebsd-x86_64
Normal file
34
configure/os/CONFIG.Common.freebsd-x86_64
Normal file
@@ -0,0 +1,34 @@
|
||||
# $Id$
|
||||
#
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for freebsd-x86_64 target builds
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.freebsd-x86_64
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all freebsd targets
|
||||
include $(CONFIG)/os/CONFIG.Common.freebsdCommon
|
||||
|
||||
ARCH_CLASS = x86_64
|
||||
|
||||
ARCH_DEP_CPPFLAGS += -D_X86_64_
|
||||
|
||||
ifeq ($(BUILD_CLASS),CROSS)
|
||||
ifeq ($(EPICS_HOST_ARCH),freebsd-x86_64)
|
||||
# Added for 386,486,... cross builds
|
||||
CMPLR_PREFIX=
|
||||
CROSS_INCLUDES=
|
||||
CROSS_LDFLAGS=
|
||||
# Use -w not -Wall
|
||||
#WARN_CFLAGS_YES = -w
|
||||
#WARN_CXXFLAGS_YES = -w
|
||||
-include $(CONFIG)/os/CONFIG_SITE.Common.freebsd-x86_64
|
||||
-include $(CONFIG)/os/CONFIG.freebsd-x86_64.freebsd-x86_64
|
||||
-include $(CONFIG)/os/CONFIG_SITE.freebsd-x86_64.freebsd-x86_64
|
||||
else
|
||||
GNU_TARGET=i586-pc-freebsd-gnu
|
||||
CMPLR_SUFFIX=
|
||||
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
|
||||
endif
|
||||
endif
|
||||
|
||||
32
configure/os/CONFIG.Common.freebsdCommon
Normal file
32
configure/os/CONFIG.Common.freebsdCommon
Normal file
@@ -0,0 +1,32 @@
|
||||
# $Id$
|
||||
#
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for freebsd target builds
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.freebsdCommon
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all Unix targets
|
||||
include $(CONFIG)/os/CONFIG.Common.UnixCommon
|
||||
|
||||
OS_CLASS = freebsd
|
||||
|
||||
CODE_CPPFLAGS = -D_REENTRANT
|
||||
|
||||
POSIX_CPPFLAGS = -D_POSIX_THREADS
|
||||
POSIX_LDLIBS = -lpthread
|
||||
|
||||
# -D_BSD_SOURCE for gethostname() in unistd.h as needed by cacChannelIO.cpp.
|
||||
OP_SYS_CPPFLAGS += -D_BSD_SOURCE
|
||||
OP_SYS_CPPFLAGS += -Dfreebsd
|
||||
|
||||
# Set runtime path for shared libraries
|
||||
SHRLIBDIR_LDFLAGS += $(SHRLIB_DEPLIB_DIRS:%=-Wl,-rpath,%)
|
||||
|
||||
# Set runtime path for products
|
||||
PRODDIR_LDFLAGS += $(PROD_DEPLIB_DIRS:%=-Wl,-rpath,%)
|
||||
|
||||
# Definitions used when COMMANDLINE_LIBRARY is READLINE
|
||||
LDLIBS_READLINE = -lreadline -lcurses
|
||||
|
||||
GNU_LDLIBS_YES = -lgcc_pic
|
||||
@@ -26,6 +26,9 @@ LOADABLE_SHRLIB_SUFFIX = .sl$(addprefix .,$(LOADABLE_SHRLIB_VERSION))
|
||||
# Set runtime path for shared libraries
|
||||
empty:= # trick from the make docs...
|
||||
space:= $(empty) $(empty)
|
||||
RUNTIME_LDFLAGS = -Wl,+b$(subst $(space),:,$(sort $(SHRLIB_SEARCH_FULLPATHDIRS))),+s
|
||||
SHRLIBDIR_LDFLAGS += -Wl,+b$(subst $(space),:,$(SHRLIB_DEPLIB_DIRS)),+s
|
||||
|
||||
# Set runtime path for products
|
||||
PRODDIR_LDFLAGS += -Wl,+b$(subst $(space),:,$(PROD_DEPLIB_DIRS)),+s
|
||||
|
||||
GNU_TARGET=parisc-hp-unix
|
||||
|
||||
41
configure/os/CONFIG.Common.interix-x86
Normal file
41
configure/os/CONFIG.Common.interix-x86
Normal file
@@ -0,0 +1,41 @@
|
||||
# CONFIG.Common.interix-x86
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for interix-x86 target builds
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.interix-x86
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all Unix targets
|
||||
include $(CONFIG)/os/CONFIG.Common.UnixCommon
|
||||
|
||||
OS_CLASS = interix
|
||||
ARCH_CLASS = x86
|
||||
|
||||
EXE=
|
||||
|
||||
POSIX_CPPFLAGS = -D_POSIX_C_SOURCE=199506L
|
||||
POSIX_CPPFLAGS += -D_POSIX_THREADS
|
||||
POSIX_CPPFLAGS += -D_ALL_SOURCE
|
||||
POSIX_CPPFLAGS += -D_POSIX_TIMERS
|
||||
|
||||
POSIX_CPPFLAGS += -D_REENTRANT
|
||||
|
||||
POSIX_LDLIBS += -lpthread
|
||||
|
||||
ARCH_DEP_CPPFLAGS += -D_X86_
|
||||
|
||||
OP_SYS_CPPFLAGS += -DUNIX
|
||||
|
||||
# Set runtime path for shared libraries
|
||||
SHRLIBDIR_LDFLAGS += $(SHRLIB_DEPLIB_DIRS:%=-Wl,-rpath,%)
|
||||
|
||||
# Set runtime path for products
|
||||
PRODDIR_LDFLAGS += $(PROD_DEPLIB_DIRS:%=-Wl,-rpath,%)
|
||||
|
||||
# Definitions used when COMMANDLINE_LIBRARY is READLINE
|
||||
INCLUDES_READLINE = -I$(GNU_DIR)/include
|
||||
LDFLAGS_READLINE += -L$(GNU_DIR)/lib
|
||||
LDLIBS_READLINE = -lreadline
|
||||
|
||||
29
configure/os/CONFIG.Common.linux-arm
Normal file
29
configure/os/CONFIG.Common.linux-arm
Normal file
@@ -0,0 +1,29 @@
|
||||
# CONFIG.Common.linux-arm
|
||||
#
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for linux-arm target builds
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.linux-arm
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all Linux targets
|
||||
include $(CONFIG)/os/CONFIG.Common.linuxCommon
|
||||
|
||||
ARCH_CLASS = arm
|
||||
|
||||
# Set a special definition for network order of Netwinder ARM floating point
|
||||
ARCH_DEP_CPPFLAGS += -D_ARM_NWFP_
|
||||
|
||||
ifeq ($(BUILD_CLASS),CROSS)
|
||||
GNU_TARGET = arm-linux
|
||||
|
||||
# prefix of compiler tools
|
||||
CMPLR_SUFFIX =
|
||||
CMPLR_PREFIX = $(addsuffix -,$(GNU_TARGET))
|
||||
|
||||
# Provide a link-time path for shared libraries
|
||||
SHRLIBDIR_LDFLAGS += $(SHRLIB_DEPLIB_DIRS:%=-Wl,-rpath-link,%)
|
||||
|
||||
# Provide a link-time path for products
|
||||
PRODDIR_LDFLAGS += $(PROD_DEPLIB_DIRS:%=-Wl,-rpath-link,%)
|
||||
endif
|
||||
@@ -23,7 +23,10 @@ OP_SYS_CPPFLAGS += -Dlinux
|
||||
OP_SYS_LDLIBS += -lrt
|
||||
|
||||
# Set runtime path for shared libraries
|
||||
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_FULLPATHDIRS:%=-Wl,-rpath,%)
|
||||
SHRLIBDIR_LDFLAGS += $(SHRLIB_DEPLIB_DIRS:%=-Wl,-rpath,%)
|
||||
|
||||
# Set runtime path for products
|
||||
PRODDIR_LDFLAGS += $(PROD_DEPLIB_DIRS:%=-Wl,-rpath,%)
|
||||
|
||||
# Definitions used when COMMANDLINE_LIBRARY is READLINE
|
||||
LDLIBS_READLINE = -lreadline -lcurses
|
||||
|
||||
40
configure/os/CONFIG.Common.osf-alpha
Normal file
40
configure/os/CONFIG.Common.osf-alpha
Normal file
@@ -0,0 +1,40 @@
|
||||
# CONFIG.Common.osf-alpha
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for osf-alpha target archs
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.osf-alpha
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all Unix targets
|
||||
include $(CONFIG)/os/CONFIG.Common.UnixCommon
|
||||
|
||||
OS_CLASS = osf
|
||||
ARCH_CLASS = alpha
|
||||
|
||||
CODE_CPPFLAGS =
|
||||
|
||||
POSIX_CPPFLAGS += -pthread -ieee
|
||||
POSIX_LDFLAGS += -pthread -ieee
|
||||
|
||||
OP_SYS_CPPFLAGS += -D_OSF_SOURCE
|
||||
OP_SYS_LDLIBS += -lrt
|
||||
# Unknown reason why USR_SYS_LIBS += m is needed
|
||||
USR_SYS_LIBS += m
|
||||
|
||||
space:=$(empty) $(empty)
|
||||
colon := :
|
||||
|
||||
# Set runtime path for shared libraries
|
||||
SHRLIBDIR_LDFLAGS += $(SHRLIB_DEPLIB_DIRS:%=-rpath %)
|
||||
|
||||
# Set runtime path for products
|
||||
PRODDIR_LDFLAGS += $(PROD_DEPLIB_DIRS:%=-rpath %)
|
||||
|
||||
ifdef CROSS
|
||||
GNU_TARGET=alpha-osf
|
||||
CMPLR_SUFFIX=
|
||||
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
|
||||
endif
|
||||
|
||||
38
configure/os/CONFIG.Common.osf-alpha-gnu
Normal file
38
configure/os/CONFIG.Common.osf-alpha-gnu
Normal file
@@ -0,0 +1,38 @@
|
||||
# CONFIG.Common.osf-alpha-gnu
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for osf-alpha target archs
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.osf-alpha-gnu
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all Unix targets
|
||||
include $(CONFIG)/os/CONFIG.Common.UnixCommon
|
||||
|
||||
OS_CLASS = osf
|
||||
ARCH_CLASS = alpha
|
||||
|
||||
CODE_CPPFLAGS =
|
||||
|
||||
POSIX_CPPFLAGS += -D_REENTRANT
|
||||
POSIX_LDLIBS += -lpthread -lexc
|
||||
|
||||
OP_SYS_CPPFLAGS += -D_OSF_SOURCE
|
||||
OP_SYS_LDLIBS += -lrt
|
||||
|
||||
space:=$(empty) $(empty)
|
||||
colon := :
|
||||
|
||||
# Set runtime path for shared libraries
|
||||
SHRLIBDIR_LDFLAGS += $(SHRLIB_DEPLIB_DIRS:%=-Wl,-rpath,%)
|
||||
|
||||
# Set runtime path for products
|
||||
PRODDIR_LDFLAGS += $(PROD_DEPLIB_DIRS:%=-Wl,-rpath,%)
|
||||
|
||||
ifdef CROSS
|
||||
GNU_TARGET=alpha-osf
|
||||
CMPLR_SUFFIX=
|
||||
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
|
||||
endif
|
||||
|
||||
@@ -28,7 +28,11 @@ OP_SYS_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION) $(COMPILER_CPPFLAGS)
|
||||
OP_SYS_LDFLAGS += $(COMPILER_LDFLAGS)
|
||||
|
||||
# Set runtime path for shared libraries
|
||||
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_FULLPATHDIRS:%=-R%)
|
||||
SHRLIBDIR_LDFLAGS += $(SHRLIB_DEPLIB_DIRS:%=-R%)
|
||||
|
||||
# Set runtime path for products
|
||||
PRODDIR_LDFLAGS += $(PROD_DEPLIB_DIRS:%=-R%)
|
||||
|
||||
RUNTIME_LDFLAGS += $(RUNTIME_LDFLAGS_$(COMMANDLINE_LIBRARY))
|
||||
|
||||
GNU_TARGET=sparc-sun-solaris2
|
||||
@@ -36,6 +40,7 @@ GNU_TARGET=sparc-sun-solaris2
|
||||
OP_SYS_LDLIBS += -lsocket -lnsl
|
||||
OP_SYS_LDLIBS_8 += -lCrun -lc -lCstd
|
||||
OP_SYS_LDLIBS_9 += -lCrun -lc -lCstd
|
||||
OP_SYS_LDLIBS_10 += -lCrun -lc -lCstd
|
||||
OP_SYS_LDLIBS += $(OP_SYS_LDLIBS_$(SOLARIS_VERSION))
|
||||
|
||||
# Definitions used when COMMANDLINE_LIBRARY is READLINE
|
||||
|
||||
@@ -10,6 +10,6 @@
|
||||
# Include definitions common to all solaris-sparc target archs
|
||||
include $(CONFIG)/os/CONFIG.Common.solaris-sparc
|
||||
|
||||
ARCH_DEP_CFLAGS += -xtarget=ultra -xarch=v9
|
||||
ARCH_DEP_CXXFLAGS += -xtarget=ultra -xarch=v9
|
||||
ARCH_DEP_LDFLAGS += -xtarget=ultra -xarch=v9
|
||||
ARCH_DEP_CFLAGS += -xarch=generic64
|
||||
ARCH_DEP_CXXFLAGS += -xarch=generic64
|
||||
ARCH_DEP_LDFLAGS += -xarch=generic64
|
||||
|
||||
@@ -29,7 +29,11 @@ OP_SYS_LDFLAGS += $(COMPILER_LDFLAGS)
|
||||
ARCH_DEP_CPPFLAGS = -D_X86_
|
||||
|
||||
# Set runtime path for shared libraries
|
||||
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_FULLPATHDIRS:%=-R%)
|
||||
SHRLIBDIR_LDFLAGS += $(SHRLIB_DEPLIB_DIRS:%=-R%)
|
||||
|
||||
# Set runtime path for products
|
||||
PRODDIR_LDFLAGS += $(PROD_DEPLIB_DIRS:%=-R%)
|
||||
|
||||
RUNTIME_LDFLAGS += $(RUNTIME_LDFLAGS_$(COMMANDLINE_LIBRARY))
|
||||
|
||||
GNU_TARGET=x86-sun-solaris2
|
||||
|
||||
21
configure/os/CONFIG.Common.vxWorks-mpc8540
Normal file
21
configure/os/CONFIG.Common.vxWorks-mpc8540
Normal file
@@ -0,0 +1,21 @@
|
||||
# $Id
|
||||
#
|
||||
# Definitions for vxWorks-mpc8540 targets: MPC8540 CPU with >32MB RAM.
|
||||
# Site-specific overrides go in CONFIG_SITE.Common.vxWorks-mpc8540
|
||||
#
|
||||
# This file is maintained by the EPICS build community.
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all vxWorks target archs
|
||||
include $(CONFIG)/os/CONFIG.Common.vxWorksCommon
|
||||
|
||||
# Vx GNU cross compiler suffix
|
||||
CMPLR_SUFFIX = ppc
|
||||
|
||||
ARCH_CLASS = ppc
|
||||
|
||||
# Architecture specific build flags
|
||||
ARCH_DEP_CPPFLAGS = -DCPU=PPC32
|
||||
ARCH_DEP_CFLAGS = -mcpu=8540 -msoft-float -mstrict-align -mlongcall
|
||||
|
||||
GNU_TARGET = powerpc-wrs-vxworks
|
||||
@@ -1,10 +1,9 @@
|
||||
# CONFIG.Common.vxWorks-ppc603
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for vxWorks-ppc603 target archs
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.vxWorks-ppc603
|
||||
# Definitions for vxWorks-ppc603 targets: PPC603 and PMC8240 CPUs
|
||||
# Site-specific overrides go in CONFIG_SITE.Common.vxWorks-ppc603
|
||||
#
|
||||
# This file is maintained by the EPICS build community.
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all vxWorks target archs
|
||||
|
||||
@@ -1,22 +1,13 @@
|
||||
# CONFIG.Common.vxWorks-ppc603_long
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for vxWorks-ppc603 target archs with at least 32MB
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.vxWorks-ppc603_long
|
||||
# Definitions for vxWorks-ppc603 targets with >32MB of RAM
|
||||
# Site-specific overrides go in CONFIG_SITE.Common.vxWorks-ppc603_long
|
||||
#
|
||||
# This file is maintained by the EPICS build community.
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all vxWorks target archs
|
||||
include $(CONFIG)/os/CONFIG.Common.vxWorksCommon
|
||||
# Inherit the settings from vxWorks-ppc603
|
||||
include $(CONFIG)/os/CONFIG.Common.vxWorks-ppc603
|
||||
|
||||
# Vx GNU cross compiler suffix
|
||||
CMPLR_SUFFIX = ppc
|
||||
|
||||
ARCH_CLASS = ppc
|
||||
|
||||
# Architecture specific build flags
|
||||
ARCH_DEP_CPPFLAGS = -DCPU=PPC603
|
||||
ARCH_DEP_CFLAGS = -mcpu=603 -mstrict-align -mlongcall
|
||||
|
||||
GNU_TARGET = powerpc-wrs-vxworks
|
||||
# Tell compiler to generate long branches
|
||||
ARCH_DEP_CFLAGS += -mlongcall
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
# CONFIG.Common.vxWorks-ppc604
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for vxWorks-ppc604 target archs
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.vxWorks-ppc604
|
||||
# Definitions for vxWorks-ppc604 targets: PPC604, MPC7xx and MPC74xx CPUs
|
||||
# Site-specific overrides go in CONFIG_SITE.Common.vxWorks-ppc604
|
||||
#
|
||||
# This file is maintained by the EPICS build community.
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all vxWorks target archs
|
||||
@@ -12,11 +11,11 @@ include $(CONFIG)/os/CONFIG.Common.vxWorksCommon
|
||||
|
||||
# Vx GNU cross compiler suffix
|
||||
CMPLR_SUFFIX = ppc
|
||||
|
||||
|
||||
ARCH_CLASS = ppc
|
||||
|
||||
# Architecture specific build flags
|
||||
ARCH_DEP_CPPFLAGS = -DCPU=PPC604
|
||||
ARCH_DEP_CFLAGS = -mcpu=604 -mstrict-align
|
||||
ARCH_DEP_CFLAGS = -mcpu=604 -mstrict-align -mno-implicit-fp
|
||||
|
||||
GNU_TARGET = powerpc-wrs-vxworks
|
||||
|
||||
22
configure/os/CONFIG.Common.vxWorks-ppc604_altivec
Normal file
22
configure/os/CONFIG.Common.vxWorks-ppc604_altivec
Normal file
@@ -0,0 +1,22 @@
|
||||
# $Id$
|
||||
#
|
||||
# Definitions for vxWorks-ppc604 targets with an Altivec and >32MB of RAM.
|
||||
# Site-specific overrides go in CONFIG_SITE.Common.vxWorks-ppc604_altivec
|
||||
#
|
||||
# This file is maintained by the EPICS build community.
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Inherit the settings from vxWorks-ppc604_long
|
||||
include $(CONFIG)/os/CONFIG.Common.vxWorks-ppc604_long
|
||||
|
||||
defval = $(if $(strip $(1),),$(1),$(2))
|
||||
|
||||
# Tell compiler to include altivec support; not available in 5.4
|
||||
ALTIVEC_CFLAG_5.4 = THIS_VERSION_OF_VXWORKS DOES_NOT_SUPPORT_ALTIVEC
|
||||
ALTIVEC_CFLAG_5.5 = -fvec
|
||||
ALTIVEC_CFLAG_6.0 = -fvec
|
||||
|
||||
# From 6.1 onwards the compiler option changed
|
||||
ALTIVEC_CFLAG = -maltivec
|
||||
|
||||
ARCH_DEP_CFLAGS += $(call defval,$(ALTIVEC_CFLAG_$(VXWORKS_VERSION)),$(ALTIVEC_CFLAG))
|
||||
@@ -1,22 +1,13 @@
|
||||
# CONFIG.Common.vxWorks-ppc604_long
|
||||
#
|
||||
# $Id
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for vxWorks-ppc604 target archs with at least 32MB
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.vxWorks-ppc604_long
|
||||
# Definitions for vxWorks-ppc604 targets with >32MB of RAM
|
||||
# Site-specific overrides go in CONFIG_SITE.Common.vxWorks-ppc604_long
|
||||
#
|
||||
# This file is maintained by the EPICS build community.
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all vxWorks target archs
|
||||
include $(CONFIG)/os/CONFIG.Common.vxWorksCommon
|
||||
# Inherit the settings from vxWorks-ppc604
|
||||
include $(CONFIG)/os/CONFIG.Common.vxWorks-ppc604
|
||||
|
||||
# Vx GNU cross compiler suffix
|
||||
CMPLR_SUFFIX = ppc
|
||||
|
||||
ARCH_CLASS = ppc
|
||||
|
||||
# Architecture specific build flags
|
||||
ARCH_DEP_CPPFLAGS = -DCPU=PPC604
|
||||
ARCH_DEP_CFLAGS = -mcpu=604 -mstrict-align -mlongcall
|
||||
|
||||
GNU_TARGET = powerpc-wrs-vxworks
|
||||
# Tell compiler to generate long branches
|
||||
ARCH_DEP_CFLAGS += -mlongcall
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
# CONFIG.Common.vxWorks6-mv2100
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for WRS vxWorks version 6.0 mv2100 target
|
||||
# target archs with at least 32MB
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.vxWorks6-mv2100
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all vxWorks version 6.0 targets
|
||||
include $(CONFIG)/os/CONFIG.Common.vxWorks6Common
|
||||
|
||||
# Vx GNU cross compiler suffix
|
||||
CMPLR_SUFFIX = ppc
|
||||
|
||||
ARCH_CLASS = ppc
|
||||
|
||||
# Architecture specific build flags
|
||||
|
||||
ARCH_DEP_CPPFLAGS = -DCPU=PPC603
|
||||
ARCH_DEP_CFLAGS = -mcpu=603 -mstrict-align -mlongcall
|
||||
|
||||
#CONFORM_CFLAGS_NORMAL = -DCONFORM_NORMAL_no_ansi_no_pedantic
|
||||
#CONFORM_CFLAGS_STRICT = -DCONFORM_STRICT_no_ansi_no_pedantic
|
||||
#CONFORM_CXXFLAGS_NORMAL = -DCONFORM_NORMAL_no_ansi_no_pedantic
|
||||
#CONFORM_CXXFLAGS_STRICT = -DCONFORM_STRICT_no_ansi_no_pedantic
|
||||
#CODE_CXXFLAGS = -DOVERRIDE_fno_implicit_templates
|
||||
@@ -1,28 +0,0 @@
|
||||
# CONFIG.Common.vxWorks6-mv5100
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for WRS vxWorks version 6.0 mv5100 target
|
||||
# target archs with at least 32MB
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.vxWorks6-mv5100
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all vxWorks version 6.0 target archs
|
||||
include $(CONFIG)/os/CONFIG.Common.vxWorks6Common
|
||||
|
||||
# Vx GNU cross compiler suffix
|
||||
CMPLR_SUFFIX = ppc
|
||||
|
||||
ARCH_CLASS = ppc
|
||||
|
||||
# Architecture specific build flags
|
||||
|
||||
ARCH_DEP_CPPFLAGS = -DCPU=PPC604
|
||||
ARCH_DEP_CFLAGS = -mcpu=604 -mstrict-align -mlongcall
|
||||
|
||||
#CONFORM_CFLAGS_NORMAL = -DCONFORM_NORMAL_no_ansi_no_pedantic
|
||||
#CONFORM_CFLAGS_STRICT = -DCONFORM_STRICT_no_ansi_no_pedantic
|
||||
#CONFORM_CXXFLAGS_NORMAL = -DCONFORM_NORMAL_no_ansi_no_pedantic
|
||||
#CONFORM_CXXFLAGS_STRICT = -DCONFORM_STRICT_no_ansi_no_pedantic
|
||||
#CODE_CXXFLAGS = -DOVERRIDE_fno_implicit_templates
|
||||
@@ -1,155 +0,0 @@
|
||||
# CONFIG.Common.vxWorks6Common
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for vxWorks version 6.0 target archs
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.vxWorks6Common
|
||||
# or CONFIG_SITE.<host>.vxWorks6Common
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Vx valid build types
|
||||
VALID_BUILDS = Ioc
|
||||
|
||||
#--------------------------------------------------
|
||||
# operating system class (include/os/<os_class>)
|
||||
OS_CLASS = vxWorks
|
||||
|
||||
#-------------------------------------------------------
|
||||
# Prefix and suffix definitions
|
||||
EXE =
|
||||
OBJ = .o
|
||||
LIB_PREFIX =lib
|
||||
LIB_SUFFIX = .a
|
||||
MUNCH_SUFFIX = .munch
|
||||
|
||||
#-------------------------------------------------------
|
||||
# Compiler definitions
|
||||
CMPLR_PREFIX=
|
||||
CC = $(GNU_BIN)/$(CMPLR_PREFIX)cc$(CMPLR_SUFFIX)
|
||||
CCC = $(GNU_BIN)/$(CMPLR_PREFIX)cc$(CMPLR_SUFFIX)
|
||||
|
||||
#-------------------------------------------------------
|
||||
# Library definitions
|
||||
LIBNAME = $(BUILD_LIBRARY:%=$(LIB_PREFIX)%$(LIB_SUFFIX))
|
||||
|
||||
#--------------------------------------------------
|
||||
# Prod: DEPLIBS, LDFLAGS, and LDLIBS definitions
|
||||
|
||||
PROD_DEPLIBS=$(foreach lib,$(PROD_LIBS) $(USR_LIBS), \
|
||||
$(firstword $(wildcard $(addsuffix /$(LIB_PREFIX)$(lib).*, \
|
||||
$($(lib)_DIR) $(SHRLIB_SEARCH_DIRS))) \
|
||||
$(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_SUFFIX), \
|
||||
$(firstword $($(lib)_DIR) $(INSTALL_LIB)))))
|
||||
|
||||
|
||||
PROD_LDLIBS = $(addprefix -l,$($*_LDLIBS) $(PROD_LIBS) $(USR_LIBS)\
|
||||
$($*_SYS_LIBS) $(PROD_SYS_LIBS) $(USR_SYS_LIBS))
|
||||
|
||||
PROD_DEPLIB_DIRS = $(dir $($*_DEPLIBS)) $(dir $(PROD_DEPLIBS))
|
||||
PRODDIR_LDFLAGS += $(sort $(PROD_DEPLIB_DIRS:%=-L%))
|
||||
|
||||
#-------------------------------------------------------
|
||||
# Prod definitions
|
||||
MUNCHNAME = $(PRODNAME:%$(EXE)=%$(MUNCH_SUFFIX))
|
||||
CTDT_SRCS = $(PRODNAME:%$(EXE)=%_ctdt.c)
|
||||
CTDT_OBJS = $(PRODNAME:%$(EXE)=%_ctdt$(OBJ))
|
||||
NMS = $(PRODNAME:%$(EXE)=%.nm)
|
||||
MUNCH_DEPENDS = %_ctdt$(OBJ)
|
||||
|
||||
#-------------------------------------------------------
|
||||
# R3.13 compatability object library definitions
|
||||
# Does not allow $*_SRCS or $*_OBJS. Allows only OBJLIB_SRCS and OBJLIB_OBJS.
|
||||
OBJLIB += $(OBJLIB_$(OS_CLASS))
|
||||
OBJLIB_SUFFIX = Library.o
|
||||
OBJLIBNAME = $(addsuffix $(OBJLIB_SUFFIX),$(basename $(OBJLIB)))
|
||||
OBJLIB_LD_OBJS += $(addsuffix $(OBJ),$(basename $(OBJLIB_SRCS) $(OBJLIB_OBJS)))
|
||||
PRODTARGETS += $(OBJLIBNAME)
|
||||
INSTALL_PROD += $(OBJLIBNAME:%=$(INSTALL_BIN)/%)
|
||||
OBJLIB_MUNCHNAME += $(OBJLIBNAME:%$(OBJ)=%$(MUNCH_SUFFIX))
|
||||
INSTALL_MUNCHS += $(OBJLIB_MUNCHNAME:%=$(INSTALL_BIN)/%)
|
||||
PRODTARGETS += $(OBJLIB_MUNCHNAME)
|
||||
CTDT_SRCS += $(OBJLIBNAME:%$(OBJ)=%_ctdt.c)
|
||||
CTDT_OBJS += $(OBJLIBNAME:%$(OBJ)=%_ctdt$(OBJ))
|
||||
NMS += $(OBJLIBNAME:%$(OBJ)=%.nm)
|
||||
OBJLIB_LINK.cpp = $(LD) -o $@ $(OBJLIB_LD_OBJS)
|
||||
SRC_FILES += $(OBJLIB_SRCS)
|
||||
|
||||
#---------------------------------------------------------------------
|
||||
# vxWorks directory definitions (new for vxWorks 6.0)
|
||||
# WindRiver Workbench directory definitions
|
||||
GNU_TARGET_INCLUDE_DIR = $(VX_DIR)/vxworks-6.0/target/h
|
||||
GNU_TARGET_INCLUDE_DIR += $(VX_DIR)/vxworks-6.0/target/h/wrn/coreip
|
||||
|
||||
GNU_DIR = $(VX_DIR)/gnu/3.3.2-vxworks60/x86-linux2
|
||||
|
||||
#--------------------------------------------------
|
||||
# C++ host processing
|
||||
NM = $(GNU_BIN)/$(CMPLR_PREFIX)nm$(CMPLR_SUFFIX)$(HOSTEXE)
|
||||
|
||||
#--------------------------------------------------
|
||||
# The follow 2 exports prevent gnu cross-compiler
|
||||
# from finding wrong assembler (as).
|
||||
export WIND_BASE = $(VX_DIR)
|
||||
export WIND_HOST_TYPE
|
||||
|
||||
#--------------------------------------------------
|
||||
# Tornado2.2 and WindRiver Workbench
|
||||
# The follow export allows vxWorks.h to include gnu header files
|
||||
export TOOL_FAMILY = GNU
|
||||
|
||||
#--------------------------------------------------
|
||||
# Operating system flags
|
||||
OP_SYS_CPPFLAGS += -DvxWorks
|
||||
OP_SYS_CFLAGS += -fno-builtin
|
||||
#OP_SYS_CFLAGS += -fno-builtin -fdollars-in-identifiers
|
||||
OP_SYS_LDFLAGS +=
|
||||
|
||||
# Fix for vxWorks headers using macros defined in
|
||||
# vxWorks.h but not including vxWorks.h
|
||||
# New for WindRiver Workbench and vxWorks 6.0
|
||||
OP_SYS_INCLUDE_CPPFLAGS += -include $(VX_DIR)/vxworks-6.0/target/h/vxWorks.h
|
||||
|
||||
#--------------------------------------------------
|
||||
# code flags
|
||||
CODE_CFLAGS =
|
||||
#
|
||||
# WRS still uses an old gnu compiler with a broken -frepo and
|
||||
# otherwise no automatic template instantiation mechanism as
|
||||
# is the defacto standard approach today. If we remove this
|
||||
# flag certain ppc targets will not build.
|
||||
CODE_CXXFLAGS = -fno-implicit-templates
|
||||
|
||||
#--------------------------------------------------
|
||||
# posix c preprocessor flags
|
||||
POSIX_CPPFLAGS = -D_POSIX_SOURCE
|
||||
|
||||
#--------------------------------------------------
|
||||
# no shared libs for vxWorks
|
||||
SHRLIB_CFLAGS =
|
||||
SHRLIB_LDFLAGS =
|
||||
|
||||
#--------------------------------------------------
|
||||
# osithead use default stack, YES or NO override
|
||||
OSITHREAD_USE_DEFAULT_STACK = NO
|
||||
|
||||
#--------------------------------------------------
|
||||
# Link definitions
|
||||
LINK.cpp = $(LD) -o $@ $(STATIC_LDFLAGS) $(PRODDIR_LDFLAGS) $(LDFLAGS)
|
||||
LINK.cpp += $(PROD_LDFLAGS) $(PROD_LD_OBJS) $(PROD_LD_RESS) $(PROD_LDLIBS)
|
||||
|
||||
#--------------------------------------------------
|
||||
# Definitions for compile of *_ctdt.c file
|
||||
CFLAGS_ctdt = $(filter-out -pedantic,$(CFLAGS)) -fdollars-in-identifiers
|
||||
COMPILE.ctdt = $(CC) -c $(CPPFLAGS) $(CFLAGS_ctdt) $(call PATH_FILTER,$(INCLUDES)) $(SOURCE_FLAG)
|
||||
|
||||
#--------------------------------------------------
|
||||
# C preprocessor command
|
||||
VXCPPFLAGS = $(filter-out $(OP_SYS_INCLUDE_CPPFLAGS),$(CPPFLAGS))
|
||||
PREPROCESS.cpp = $(CPP) $(VXCPPFLAGS) $(INCLUDES) $< > $@
|
||||
|
||||
#--------------------------------------------------
|
||||
# Allow site overrides
|
||||
-include $(CONFIG)/os/CONFIG_SITE.Common.vxWorks6Common
|
||||
-include $(CONFIG)/os/CONFIG_SITE.$(EPICS_HOST_ARCH).vxWorks6Common
|
||||
|
||||
@@ -75,11 +75,47 @@ NMS += $(OBJLIBNAME:%$(OBJ)=%.nm)
|
||||
OBJLIB_LINK.cpp = $(LD) -o $@ $(OBJLIB_LD_OBJS)
|
||||
SRC_FILES += $(OBJLIB_SRCS)
|
||||
|
||||
#--------------------------------------------------
|
||||
# vxWorks version numbers
|
||||
|
||||
VXWORKS_MAJOR_VERSION = $(basename $(basename $(VXWORKS_VERSION)))
|
||||
|
||||
# These are needed for vxWorks 6.x; the GNU toolset version number
|
||||
# is in the path to the compiler tools:
|
||||
VX_GNU_VERSION_6.0 = 3.3.2
|
||||
VX_GNU_VERSION_6.1 = 3.3.2
|
||||
VX_GNU_VERSION_6.2 = 3.3.2
|
||||
VX_GNU_VERSION_6.3 = 3.4.4
|
||||
VX_GNU_VERSION = $(VX_GNU_VERSION_$(VXWORKS_VERSION))
|
||||
|
||||
#--------------------------------------------------
|
||||
# Fix WIND_BASE for vxWorks 6.x on linux
|
||||
# NB: We know the value of WIND_HOST_TYPE here, but not VXWORKS_VERSION
|
||||
ifeq ($(WIND_HOST_TYPE),x86-linux)
|
||||
WIND_HOST_TYPE_5 = x86-linux
|
||||
WIND_HOST_TYPE_6 = x86-linux2
|
||||
WIND_HOST_TYPE = $(WIND_HOST_TYPE_$(VXWORKS_MAJOR_VERSION))
|
||||
endif
|
||||
|
||||
#--------------------------------------------------
|
||||
# vxWorks directory definitions
|
||||
# Tornado directory definitions
|
||||
GNU_TARGET_INCLUDE_DIR = $(VX_DIR)/target/h
|
||||
GNU_DIR = $(VX_DIR)/host/$(WIND_HOST_TYPE)
|
||||
VX_DIR_5 = $(WIND_BASE)
|
||||
VX_DIR_6 = $(WIND_BASE)/vxworks-$(VXWORKS_VERSION)
|
||||
VX_DIR = $(VX_DIR_$(VXWORKS_MAJOR_VERSION))
|
||||
|
||||
VX_INCLUDE_DIRS_5 = $(VX_DIR)/target/h
|
||||
VX_INCLUDE_DIRS_6 = $(VX_DIR)/target/h $(VX_DIR)/target/h/wrn/coreip
|
||||
GNU_TARGET_INCLUDE_DIR = $(VX_INCLUDE_DIRS_$(VXWORKS_MAJOR_VERSION))
|
||||
|
||||
#--------------------------------------------------
|
||||
# vxWorks GNU directories
|
||||
|
||||
GNU_DIR_5 = $(WIND_BASE)/host/$(WIND_HOST_TYPE)
|
||||
GNU_DIR_6 = $(WIND_BASE)/gnu/$(VX_GNU_VERSION)-vxworks-$(VXWORKS_VERSION)/$(WIND_HOST_TYPE)
|
||||
GNU_DIR = $(GNU_DIR_$(VXWORKS_MAJOR_VERSION))
|
||||
|
||||
# GCC_EXEC_PREFIX considered harmful since vxWorks 6 moved it
|
||||
unexport GCC_EXEC_PREFIX
|
||||
|
||||
#--------------------------------------------------
|
||||
# C++ host processing
|
||||
@@ -88,7 +124,7 @@ NM = $(GNU_BIN)/$(CMPLR_PREFIX)nm$(CMPLR_SUFFIX)$(HOSTEXE)
|
||||
#--------------------------------------------------
|
||||
# The follow 2 exports prevent gnu cross-compiler
|
||||
# from finding wrong assembler (as).
|
||||
export WIND_BASE = $(VX_DIR)
|
||||
export WIND_BASE
|
||||
export WIND_HOST_TYPE
|
||||
|
||||
#--------------------------------------------------
|
||||
@@ -100,31 +136,34 @@ export TOOL_FAMILY = GNU
|
||||
# Operating system flags
|
||||
OP_SYS_CPPFLAGS += -DvxWorks
|
||||
OP_SYS_CFLAGS += -fno-builtin
|
||||
#OP_SYS_CFLAGS += -fno-builtin -fdollars-in-identifiers
|
||||
OP_SYS_LDFLAGS +=
|
||||
|
||||
# Fix for vxWorks headers using macros defined in
|
||||
# vxWorks.h but not including vxWorks.h
|
||||
OP_SYS_INCLUDE_CPPFLAGS += -include $(GNU_TARGET_INCLUDE_DIR)/vxWorks.h
|
||||
# Fix for vxWorks headers that use macros defined in vxWorks.h but
|
||||
# which don't actually include vxWorks.h themselves, for example the
|
||||
# target/h/sys/stat.h file which uses ULONG
|
||||
OP_SYS_INCLUDE_CPPFLAGS_5 += -include $(VX_DIR)/target/h/vxWorks.h
|
||||
OP_SYS_INCLUDE_CPPFLAGS = $(OP_SYS_INCLUDE_CPPFLAGS_$(VXWORKS_MAJOR_VERSION))
|
||||
|
||||
#--------------------------------------------------
|
||||
# Optimization: Officially vxWorks only supports -O2 or less.
|
||||
OPT_CFLAGS_YES = -O2
|
||||
OPT_CXXFLAGS_YES = -O2
|
||||
|
||||
#--------------------------------------------------
|
||||
# code flags
|
||||
CODE_CFLAGS =
|
||||
#
|
||||
# WRS still uses an old gnu compiler with a broken -frepo and
|
||||
# otherwise no automatic template instantiation mechanism as
|
||||
# is the defacto standard approach today. If we remove this
|
||||
# flag certain ppc targets will not build.
|
||||
CODE_CXXFLAGS = -fno-implicit-templates
|
||||
|
||||
#--------------------------------------------------
|
||||
# posix c preprocessor flags
|
||||
POSIX_CPPFLAGS = -D_POSIX_SOURCE
|
||||
# For vxWorks versions before 6.3 we need this g++ compiler flag
|
||||
CODE_CXXFLAGS_5 = -fno-implicit-templates
|
||||
CODE_CXXFLAGS_6.0 = -fno-implicit-templates
|
||||
CODE_CXXFLAGS_6.1 = -fno-implicit-templates
|
||||
CODE_CXXFLAGS_6.2 = -fno-implicit-templates
|
||||
CODE_CXXFLAGS_6 = $(CODE_CXXFLAGS_$(VXWORKS_VERSION))
|
||||
CODE_CXXFLAGS = $(CODE_CXXFLAGS_$(VXWORKS_MAJOR_VERSION))
|
||||
|
||||
#--------------------------------------------------
|
||||
# no shared libs for vxWorks
|
||||
SHRLIB_CFLAGS =
|
||||
SHRLIB_LDFLAGS =
|
||||
SHRLIB_CFLAGS =
|
||||
SHRLIB_LDFLAGS =
|
||||
|
||||
#--------------------------------------------------
|
||||
# osithead use default stack, YES or NO override
|
||||
|
||||
@@ -18,7 +18,10 @@ EXE=.exe
|
||||
COMPILER_CPPFLAGS = -D_REENTRANT
|
||||
|
||||
# Set runtime path for shared libraries
|
||||
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_FULLPATHDIRS:%=-Wl,-rpath,%)
|
||||
SHRLIBDIR_LDFLAGS += $(SHRLIB_DEPLIB_DIRS:%=-Wl,-rpath,%)
|
||||
|
||||
# Set runtime path for products
|
||||
PRODDIR_LDFLAGS += $(PROD_DEPLIB_DIRS:%=-Wl,-rpath,%)
|
||||
|
||||
# Definitions used when COMMANDLINE_LIBRARY is READLINE
|
||||
INCLUDES_READLINE = -I$(GNU_DIR)/include
|
||||
@@ -42,6 +45,8 @@ OP_SYS_CXXFLAGS += -D__cplusplus
|
||||
# Overrides -DUNIX from CONFIG.Common.UnixCommon
|
||||
OP_SYS_CPPFLAGS = -mno-cygwin
|
||||
|
||||
LIBRARY_LD_RESS=
|
||||
|
||||
OP_SYS_LDFLAGS += -mno-cygwin
|
||||
OP_SYS_LDLIBS = -lws2_32 -ladvapi32 -luser32 -lkernel32 -lwinmm
|
||||
|
||||
|
||||
@@ -18,8 +18,13 @@ EXE=.exe
|
||||
# Library used when COMMANDLINE_LIBRARY is READLINE
|
||||
LDLIBS_READLINE = -lreadline
|
||||
|
||||
STATIC_BUILD=YES
|
||||
STATIC_LDLIBS_YES=-lws2_32 -ladvapi32 -luser32 -lkernel32 -lwinmm
|
||||
|
||||
# Set runtime path for shared libraries
|
||||
SHRLIBDIR_LDFLAGS += $(SHRLIB_DEPLIB_DIRS:%=-Wl,-rpath,%)
|
||||
|
||||
# Set runtime path for products
|
||||
PRODDIR_LDFLAGS += $(PROD_DEPLIB_DIRS:%=-Wl,-rpath,%)
|
||||
|
||||
|
||||
# Compiler defines _X86_ 1
|
||||
|
||||
@@ -37,3 +42,10 @@ STATIC_LDLIBS_YES=-lws2_32 -ladvapi32 -luser32 -lkernel32 -lwinmm
|
||||
# Override for -DUNIX from CONFIG.Common.UnixCommon
|
||||
OP_SYS_CPPFLAGS =
|
||||
|
||||
OP_SYS_CXXFLAGS += -D__cplusplus
|
||||
|
||||
LIBRARY_LD_RESS=
|
||||
|
||||
OP_SYS_LDLIBS = -lws2_32 -ladvapi32 -luser32 -lkernel32 -lwinmm
|
||||
#STATIC_LDLIBS_YES=-lws2_32 -ladvapi32 -luser32 -lkernel32 -lwinmm
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ SHRLIB_CFLAGS =
|
||||
# -ansi eliminates strdup
|
||||
CONFORM_CFLAGS_ANSI =
|
||||
CONFORM_CFLAGS_STRICT = -pedantic
|
||||
CONFORM_CXXFLAGS_ANSI =
|
||||
CONFORM_CXXFLAGS_NORMAL =
|
||||
CONFORM_CXXFLAGS_STRICT = -pedantic
|
||||
|
||||
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
# CONFIG.darwin-ppc.darwin-ppc
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# Definitions for darwin-ppc host - darwin-ppc target builds
|
||||
# Sites may override these definitions in CONFIG_SITE.darwin-ppc.darwin-ppc
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include common gnu compiler definitions
|
||||
include $(CONFIG)/CONFIG.gnuCommon
|
||||
|
||||
GNU_DIR = /usr
|
||||
|
||||
CC = $(GNU_BIN)/cc
|
||||
CCC = $(GNU_BIN)/c++
|
||||
|
||||
#
|
||||
# Darwin shared libraries
|
||||
#
|
||||
SHRLIB_VERSION = $(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)
|
||||
SHRLIB_LDFLAGS = -dynamiclib -flat_namespace -undefined suppress \
|
||||
-install_name $(firstword $(SHRLIB_SEARCH_FULLPATHDIRS))/$@ \
|
||||
-compatibility_version $(EPICS_VERSION).$(EPICS_REVISION) \
|
||||
-current_version $(SHRLIB_VERSION)
|
||||
SHRLIB_SUFFIX = .$(SHRLIB_VERSION).dylib
|
||||
|
||||
LOADABLE_SHRLIB_LDFLAGS = -bundle -flat_namespace -undefined suppress
|
||||
|
||||
#
|
||||
# Position-independent code is the default on Darwin.
|
||||
#
|
||||
CODE_CFLAGS =
|
||||
CODE_CXXFLAGS =
|
||||
|
||||
#
|
||||
# Add support for Objective-C source
|
||||
#
|
||||
vpath %.m $(USR_VPATH) $(ALL_SRC_DIRS)
|
||||
%.o: %.m
|
||||
$(COMPILE.c) -c $<
|
||||
|
||||
#
|
||||
# Pedantic produces way too many unnecessary messages
|
||||
#
|
||||
CONFORM_CFLAGS_STRICT=-ansi
|
||||
CONFORM_CXXFLAGS_STRICT=-ansi
|
||||
11
configure/os/CONFIG.darwin-ppcx86.Common
Normal file
11
configure/os/CONFIG.darwin-ppcx86.Common
Normal file
@@ -0,0 +1,11 @@
|
||||
# CONFIG.darwin-ppcx86.Common
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for Darwin 'universal' (PowerPC, Intel) host builds
|
||||
# Sites may override these definitions in CONFIG_SITE.darwin-ppcx86.Common
|
||||
#-------------------------------------------------------
|
||||
|
||||
#Include definitions common to unix hosts
|
||||
include $(CONFIG)/os/CONFIG.UnixCommon.Common
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user