-
Notifications
You must be signed in to change notification settings - Fork 11
/
Makefile.common.project.in
192 lines (137 loc) · 5.27 KB
/
Makefile.common.project.in
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
# Common Makefile fragments for all PolyORB subsystems
APPLI_LIST := @APPLI_LIST@
APPLI_LIBS := @APPLI_LIBS@
APPLI_EXES := @APPLI_EXES@
PROTO_LIST := @PROTO_LIST@
PROTO_LIBS := @PROTO_LIBS@
LIBS_LIST := @LIBS_LIST@
LIBS_LIBS := @LIBS_LIBS@
SERVICE_LIBS := @SERVICE_LIBS@
SERVICE_EXES := @SERVICE_EXES@
#
# PolyORB's libraries
#
aws_lib=-I$(top_builddir)/src/aws/libpolyorb-aws.la
corba_lib=$(top_builddir)/src/corba/libpolyorb-corba.la \
$(top_builddir)/src/corba/rtcorba/libpolyorb-corba-rtcorba.la
moma_lib=$(top_builddir)/src/moma/libpolyorb-moma.la
giop_lib=$(top_builddir)/src/giop/libpolyorb-giop.la \
$(top_builddir)/src/giop/diop/libpolyorb-giop-diop.la \
$(top_builddir)/src/giop/iiop/libpolyorb-giop-iiop.la \
$(top_builddir)/src/giop/miop/libpolyorb-giop-miop.la
ifeq (${HAVE_SSL},yes)
giop_lib += $(top_builddir)/src/giop/iiop/ssliop/libpolyorb-giop-iiop-ssliop.la
endif
soap_lib=$(top_builddir)/src/soap/libpolyorb-soap.la
srp_lib=$(top_builddir)/src/srp/libpolyorb-srp.la
web_common_lib=$(top_builddir)/src/web_common/libpolyorb-web_common.la
#
# PolyORB's libraries -- NEW (should replace above)???
#
aws_lib=libpolyorb-aws.a
corba_lib=libpolyorb-corba.a \
libpolyorb-corba-rtcorba.a
moma_lib=libpolyorb-moma.a
giop_lib=libpolyorb-giop.a \
libpolyorb-giop-diop.a \
libpolyorb-giop-iiop.a \
libpolyorb-giop-miop.a
ifeq (${HAVE_SSL},yes)
giop_lib += libpolyorb-giop-iiop-ssliop.a
endif
soap_lib=libpolyorb-soap.a
srp_lib=libpolyorb-srp.a
web_common_lib=libpolyorb-web_common.a
# Build libpolyorb-setup last, since its project file has dependencies on
# the various personality projects.
POLYORB_LIBS= libpolyorb.a \
${PROTO_LIBS} \
${APPLI_LIBS} \
${LIBS_LIBS} \
libpolyorb-setup.a
ifeq (${HAVE_SSL},yes)
POLYORB_LIBS += libpolyorb-ssl.a libpolyorb-security.a libpolyorb-security-gssup.a libpolyorb-security-tls.a libpolyorb-security-x509.a
endif
dsa_lib=libpolyorb-dsa.a
event_lib=libpolyorb-corba-cos-event.a libpolyorb-corba-cos-event-impl.a
notification_lib=libpolyorb-corba-cos-notification.a libpolyorb-corba-cos-notification-impl.a
naming_lib=libpolyorb-corba-cos-naming.a libpolyorb-corba-cos-naming-impl.a
ir_lib=libpolyorb-corba-cos-ir-impl.a
time_lib=libpolyorb-corba-cos-time.a libpolyorb-corba-cos-time-impl.a
#
# PolyORB's include files
#
aws_inc=-I$(top_srcdir)/src/aws \
-I$(top_builddir)/src/aws \
-I$(top_srcdir)/src/aws_orig \
-I$(top_builddir)/src/aws_orig
corba_inc=-I$(top_srcdir)/src/corba -I$(top_builddir)/src/corba \
-I$(top_srcdir)/src/corba/iop -I$(top_builddir)/src/corba/iop \
-I$(top_srcdir)/src/corba/messaging \
-I$(top_builddir)/src/corba/messaging \
-I$(top_srcdir)/src/corba/portableinterceptor \
-I$(top_builddir)/src/corba/portableinterceptor \
-I$(top_srcdir)/src/corba/rtcorba -I$(top_builddir)/src/corba/rtcorba
moma_inc=-I$(top_srcdir)/src/moma -I$(top_builddir)/src/moma
giop_inc=-I$(top_srcdir)/src/giop -I$(top_builddir)/src/giop \
-I$(top_srcdir)/src/giop/diop -I$(top_builddir)/src/giop/diop \
-I$(top_srcdir)/src/giop/iiop -I$(top_builddir)/src/giop/iiop \
-I$(top_srcdir)/src/giop/miop -I$(top_builddir)/src/giop/miop
ifeq (${HAVE_SSL},yes)
giop_inc+=-I$(top_srcdir)/src/giop/iiop/ssliop \
-I$(top_builddir)/src/giop/iiop/ssliop
endif
soap_inc=-I$(top_srcdir)/src/soap -I$(top_builddir)/src/soap
srp_inc=-I$(top_srcdir)/src/srp -I$(top_builddir)/src/srp
web_common_inc=-I$(top_srcdir)/src/web_common -I$(top_builddir)/src/web_common
naming_inc=-I$(top_srcdir)/cos/naming -I$(top_builddir)/cos/naming \
-I$(top_builddir)/idls/cos/naming
time_inc=-I$(top_srcdir)/cos/time -I$(top_builddir)/cos/time \
-I$(top_builddir)/idls/cos/time
event_inc=-I$(top_srcdir)/cos/event -I$(top_builddir)/cos/event \
-I$(top_builddir)/idls/cos/event
notification_inc=-I$(top_srcdir)/cos/notification \
-I$(top_builddir)/cos/notification \
-I$(top_builddir)/idls/cos/notification
ir_inc=-I$(top_srcdir)/cos/ir -I$(top_builddir)/cos/ir
POLYORB_INCS = \
-I$(top_srcdir)/src \
-I$(top_builddir)/src \
-I$(top_srcdir)/src/setup \
-I$(top_builddir)/src/setup \
@PROTO_INCS@ \
@APPLI_INCS@ \
@SERVICE_INCS@ \
@LIBS_INCS@
ifeq (${HAVE_SSL},yes)
POLYORB_INCS+=-I$(top_srcdir)/src/ssl -I$(top_builddir)/src/ssl
endif
#
# ALI files install
#
aliDATA_INSTALL = $(INSTALL) -m 444
#
# Scripts and common build rules
#
SUFFIXES= .c .adb .ads .ali .idl
MOVEIFCHANGE= $(top_builddir)/support/move-if-change
GEN_CODESET_dir=$(top_builddir)/src/giop
GEN_CODESET= $(GEN_CODESET_dir)/gen_codeset
.idl.ads:
$(IDLAC_bin) -I$(srcdir) $(IDLAC_FLAGS) $<
.idl.adb:
$(IDLAC_bin) -I$(srcdir) $(IDLAC_FLAGS) $<
.idl.idl-stamp:
@chmod a+x $(IDLAC_WRAPPER)
$(IDLAC_WRAPPER) --idlac=$(IDLAC_bin) -I$(srcdir) $(IDLAC_FLAGS) $<
touch $@
## Prevent make from building ALI files before building corresponding .o
## files in parallel build (the ALI file comes for free as a by-product
## of building the object).
.o.ali:
@true
__default__:: all
$(IDLAC): $(FORCE_IDLAC)
cd $(IDLAC_dir) && $(MAKE)
$(GEN_CODESET): $(FORCE_GEN_CODESET)
cd $(GEN_CODESET_dir) && $(MAKE) all-gen_codeset