forked from OpenAADL/AADLib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
146 lines (128 loc) · 4.39 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
AC_PREREQ(2.57)
AC_INIT(AADLib, 2017.x)
AC_CONFIG_SRCDIR(src)
AC_CONFIG_AUX_DIR(support)
##########################################
# Initialization.
##########################################
AC_CANONICAL_SYSTEM
AM_INIT_AUTOMAKE([1.9 tar-pax] foreign)
##########################################
# Check fo various programs.
##########################################
AC_CHECK_PROG(MV, mv, mv)
AC_CHECK_PROG(RM, rm, rm)
AC_CHECK_PROG(CP, cp, cp)
##########################################
# Check for GNU Make & GCC
##########################################
AM_GNU_MAKE
AC_PROG_CC
##########################################
# Check for Ocarina
##########################################
AM_PATH_OCARINA(1.1, ,AC_MSG_ERROR([Ocarina 1.1 or later is not installed on your system]))
##########################################
# Windows requires specific targets
##########################################
case "$host_os" in
cygwin* | mingw*)
windows=true
;;
*)
windows=false
;;
esac
AM_CONDITIONAL(WINDOWS, test x$windows = xtrue)
############################################
# Set the value corresponding to cygpath -u
############################################
if test x"$CYGPATH_W" = x"echo"; then
CYGPATH_U="echo"
else
CYGPATH_U="cygpath -u"
fi
AC_SUBST(CYGPATH_U)
###############################################################
# Force the installation prefix to be equal to the Ocarina one
###############################################################
prefix='$(OCARINA_PREFIX)'
##########################################
# Output generated files
##########################################
dnl Important! One file per line, nothing before
dnl or after except whitespace! This section
dnl may, one day, be edited automatically to remove
dnl some entries.
AC_OUTPUT([
Makefile
examples/Makefile
examples/air/Makefile
examples/air/hello/Makefile
examples/air/hello_2partitions/Makefile
examples/air/ping/Makefile
examples/air/smp01/Makefile
examples/adiru/Makefile
examples/ahrs_discovery/Makefile
examples/aocs/Makefile
examples/aram/Makefile
examples/ardupilot/Makefile
examples/arinc653_annex/Makefile
examples/arinc653_annex/example_1/Makefile
examples/arinc653_annex/example_2/Makefile
examples/asl/Makefile
examples/behavior_annex/Makefile
examples/car/Makefile
examples/data_modeling_annex/Makefile
examples/fcs/Makefile
examples/flow_analysis/Makefile
examples/fms/Makefile
examples/isr/Makefile
examples/line_follower/Makefile
examples/memory/Makefile
examples/minepump/Makefile
examples/minepump_ba/Makefile
examples/mixin/Makefile
examples/mjpeg/Makefile
examples/mosart/Makefile
examples/multicore/Makefile
examples/paparazzi/Makefile
examples/pathfinder_system/Makefile
examples/perseus/Makefile
examples/producer_consumer/Makefile
examples/producer_consumer_ba/Makefile
examples/producer_consumer_ba2/Makefile
examples/producer_consumer_ba_many_transitions/Makefile
examples/producer_consumer_ba_4ports_manyDispatchTriggers/Makefile
examples/radar/Makefile
examples/rap/Makefile
examples/rap_code/Makefile
examples/ravenscar/Makefile
examples/rma/Makefile
examples/redundancy/Makefile
examples/robot/Makefile
examples/robot_ba/Makefile
examples/rosace/Makefile
examples/round_robin/Makefile
examples/satellite/Makefile
examples/stm32discovery_ada/Makefile
examples/time_triggered/Makefile
examples/units/Makefile
examples/uxv/Makefile
examples/uxv/emaxxv2/Makefile
examples/uxv/minirocket/Makefile
examples/uxv/quadrirotorv0/Makefile
examples/uxv/quadrirotorv1/Makefile
examples/uxv/traxsterv3/Makefile
examples/voter/Makefile
examples/pacemaker/Makefile
examples/doors/Makefile
src/Makefile
src/aadl/Makefile
src/property_set/Makefile
src/real/Makefile
])
AC_MSG_NOTICE(%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%)
AC_MSG_NOTICE(AADLib configuration is complete!)
AC_MSG_NOTICE(GNU make command name: "$GNU_MAKE")
AC_MSG_NOTICE(%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%)