blob: 72493409944f34949ceec9368526480f7fbf7e94 (
plain)
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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
|
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#######################################################################################
## This is the make file for Axis2/C
#
# This file should reside in the win32 directory of the source directory when executed.
# nmake [all] - builds dlls, server and samples [ client, server ]
# nmake clean - cleans everything
# nmake samples - builds samples
# nmake install - installs axis2 with server all modules and services
# nmake dist - creates the distribution, builds all distributable components
#
#
# It is possible to run individual targets to build those targets only.
# eg: nmake axis2_apache_module, will build httpd module of Axis2/C
#
# The default install directory is ..\deploy with a directory structure as follows.
#
# AXIS2_BINDIR
# |
# |- bin - server and other executables
# |- samples - samples
# |- logs - log file location
# |- lib - library modules
# |- services - deployed services
# |- modules - deployed modules
# |- include - Axis2/C header files
# |- tests
# |- system_tests
# |- unit tests
#
#########################################################################################
AUTOCONF = configure.in
!include $(AUTOCONF)
RELEASE_VER = 1.7.0
AXIS2_RELEASE_DIR=axis2c-bin-$(RELEASE_VER)-win32
# Directory structure
##################################
AXIS2_BINDIR = ..\deploy
AXIS2_SERVICES = $(AXIS2_BINDIR)\services
AXIS2_MODULES = $(AXIS2_BINDIR)\modules
AXIS2_LIBS = $(AXIS2_BINDIR)\lib
AXIS2_BINS = $(AXIS2_BINDIR)\bin
AXIS2_INCLUDE = $(AXIS2_BINDIR)\include
AXIS2_SAMPLES = $(AXIS2_BINS)\samples
AXIS2_TOOLS = $(AXIS2_BINS)\tools
AXIS2_LOG = $(AXIS2_BINDIR)\logs
AXIS2_TESTS = $(AXIS2_BINDIR)\tests
AXIS2_TESTS_SYS = $(AXIS2_TESTS)\system_tests
AXIS2_TESTS_UNIT = $(AXIS2_TESTS)\unit_tests
AXIS2_SOURCE_DIR = ..\..
#directories for intermediate files
###################################
AXIS2_INTDIR= .\int.msvc
AXIS2_INTDIR_SAMPLES = $(AXIS2_INTDIR)\samples
# Binary distribution librarys
##############################
AXUTIL = axutil
AXIS2_PARSER = axis2_parser
AXIOM = axiom
AXIS2_XPATH = axis2_xpath
NEETHI = neethi
AXIS2_HTTP_SENDER = axis2_http_sender
AXIS2_HTTP_RECEIVER = axis2_http_receiver
AXIS2_TCP_SENDER = axis2_tcp_sender
AXIS2_TCP_RECEIVER = axis2_tcp_receiver
AXIS2_ENGINE = axis2_engine
AXIS2_APACHE_MODULE = mod_axis2
AXIS2_IIS_MODULE = axis2_mod_IIS
AXIS2_MOD_ADDR = axis2_mod_addr
AXIS2_HTTP_SERVER = axis2_http_server
AXIS2_TCP_SERVER = axis2_tcp_server
AXIS2_CGI = axis2.cgi
GUTHTHILA = guththila
AXIS2_MOD_LOG = axis2_mod_log
# include path
################
APACHE_INCLUDE_PATH = /I$(APACHE_BIN_DIR)\include
AXIS2_INCLUDE_PATH = /I$(AXIS2_SOURCE_DIR)\util\include \
/I$(AXIS2_SOURCE_DIR)\util\src\ \
/I$(AXIS2_SOURCE_DIR)\util\src\minizip\ \
/I$(AXIS2_SOURCE_DIR)\axiom\include \
/I$(AXIS2_SOURCE_DIR)\axiom\src\om \
/I$(AXIS2_SOURCE_DIR)\axiom\src\soap \
/I$(AXIS2_SOURCE_DIR)\util\include\platforms \
/I$(AXIS2_SOURCE_DIR)\neethi\include \
/I$(AXIS2_SOURCE_DIR)\neethi\src \
/I$(AXIS2_SOURCE_DIR)\neethi\src\secpolicy\builder \
/I$(AXIS2_SOURCE_DIR)\neethi\src\secpolicy\model \
/I$(AXIS2_SOURCE_DIR)\src\core\clientapi \
/I$(AXIS2_SOURCE_DIR)\src\core\deployment \
/I$(AXIS2_SOURCE_DIR)\src\core\description \
/I$(AXIS2_SOURCE_DIR)\src\core\transport \
/I$(AXIS2_SOURCE_DIR)\src\core\transport\tcp \
/I$(AXIS2_SOURCE_DIR)\include \
/I$(AXIS2_SOURCE_DIR)\src\core\engine \
/I$(AXIS2_SOURCE_DIR)\src\core\context \
/I$(AXIS2_SOURCE_DIR)\src\core\util \
/I$(AXIS2_SOURCE_DIR)\src\core\transport\http\server\apache2 \
/I$(AXIS2_SOURCE_DIR)\axiom\src\attachments \
/I$(AXIS2_SOURCE_DIR)\tools\tcpmon\include
GUTHTHILA_INCLUDE_PATH = /I$(AXIS2_SOURCE_DIR)\guththila\include
LIBXML2_INCLUDE_PATH = /I$(LIBXML2_BIN_DIR)\include /I$(ICONV_BIN_DIR)\include
# optional include paths
########################
!if "$(WITH_ARCHIVE)" == "1"
AXIS2_INCLUDE_PATH = $(AXIS2_INCLUDE_PATH) /I$(ZLIB_BIN_DIR)\include
!endif
!if "$(ENABLE_SSL)" == "1"
AXIS2_INCLUDE_PATH = $(AXIS2_INCLUDE_PATH) /I$(OPENSSL_BIN_DIR)\include
!endif
!if "$(ENABLE_LIBCURL)" == "1"
AXIS2_INCLUDE_PATH = $(AXIS2_INCLUDE_PATH) /I$(LIBCURL_BIN_DIR)\include
!endif
!if "$(ENABLE_NTLM_WITH_HEIMDAL)" == "1"
AXIS2_INCLUDE_PATH = $(AXIS2_INCLUDE_PATH) /I$(OPENSSL_BIN_DIR)\include /I$(HEIMDAL_BIN_DIR)\inc
!endif
!if "$(ENABLE_NTLM_WITH_LIBNTLM)" == "1"
AXIS2_INCLUDE_PATH = $(AXIS2_INCLUDE_PATH) /I$(LIBNTLM_BIN_DIR)\include
!endif
# Compiler Options
###################
CC = @cl.exe
CFLAGS = /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "AXIS2_DECLARE_EXPORT" \
/D "_CRT_SECURE_NO_DEPRECATE" /D "_CRT_SECURE_NO_WARNINGS" \
/D "AXIS2_SVR_MULTI_THREADED" /W3 /wd4100 /WX /MP10 /nologo $(AXIS2_INCLUDE_PATH) \
$(APACHE_INCLUDE_PATH)
!if "$(ENABLE_SSL)" == "1"
CFLAGS = $(CFLAGS) /D "AXIS2_SSL_ENABLED"
!endif
!if "$(ENABLE_LIBCURL)" == "1"
CFLAGS = $(CFLAGS) /D "AXIS2_LIBCURL_ENABLED"
!endif
!if "$(ENABLE_LIBXML2)" == "1"
CFLAGS = $(CFLAGS) /D "AXIS2_LIBXML2_ENABLED" $(LIBXML2_INCLUDE_PATH)
!else
CFLAGS = $(CFLAGS) /D "AXIS2_GUTHTHILA_ENABLED" $(GUTHTHILA_INCLUDE_PATH)
!endif
# Linker Options
####################
LD = @link.exe
LDFLAGS = /NOLOGO /WX /LIBPATH:$(AXIS2_LIBS) /LIBPATH:$(LIBXML2_BIN_DIR)\lib \
/LIBPATH:$(APACHE_BIN_DIR)\lib /LIBPATH:$(ZLIB_BIN_DIR)\lib
LIBS = Rpcrt4.lib Ws2_32.lib
!if "$(ENABLE_SSL)" == "1"
LDFLAGS = $(LDFLAGS) /LIBPATH:$(OPENSSL_BIN_DIR)\lib\VC
LIBS = $(LIBS) libeay32MD.lib ssleay32MD.lib
!endif
!if "$(ENABLE_LIBCURL)" == "1"
LDFLAGS = $(LDFLAGS) /LIBPATH:$(LIBCURL_BIN_DIR)
LIBS = $(LIBS) libcurl_imp.lib
!endif
!if "$(APACHE_VERSION_2_0_X)" == "1"
APACHE_LIBS = apr.lib xml.lib libhttpd.lib libaprutil.lib libapr.lib
!else
APACHE_LIBS = apr-1.lib xml.lib libhttpd.lib libapr-1.lib libaprutil-1.lib
!endif
!if "$(ENABLE_NTLM_WITH_HEIMDAL)" == "1"
LDFLAGS = $(LDFLAGS) /LIBPATH:$(HEIMDAL_BIN_DIR)\lib /LIBPATH:$(OPENSSL_BIN_DIR)\lib\VC
LIBS = $(LIBS) libheimntlm.lib libeay32MD.lib ssleay32MD.lib
!endif
!if "$(ENABLE_NTLM_WITH_LIBNTLM)" == "1"
LDFLAGS = $(LDFLAGS) /LIBPATH:$(LIBNTLM_BIN_DIR)\lib
LIBS = $(LIBS) libntlm.a
!endif
# Manifest Options
####################
MT=mt.exe
MT="$(MT)"
!if "$(EMBED_MANIFEST)" == "0"
_VC_MANIFEST_EMBED_EXE=
_VC_MANIFEST_EMBED_DLL=
!else
_VC_MANIFEST_EMBED_EXE= if exist $@.manifest $(MT) -nologo -manifest $@.manifest -outputresource:$@;1
_VC_MANIFEST_EMBED_DLL= if exist $@.manifest $(MT) -nologo -manifest $@.manifest -outputresource:$@;2
!endif
# Debug Symbols
#####################
!if "$(DEBUG)" == "1"
CFLAGS = $(CFLAGS) /D "_DEBUG" /Od /Z7 $(CRUNTIME)d
LDFLAGS = $(LDFLAGS) /DEBUG
!else
CFLAGS = $(CFLAGS) /D "NDEBUG" /O2 $(CRUNTIME)
LDFLAGS = $(LDFLAGS)
!endif
# Build Targets
#################
# create the directory structure
deploy:
@if not exist $(AXIS2_BINDIR) mkdir $(AXIS2_BINDIR)
@if not exist $(AXIS2_BINS) mkdir $(AXIS2_BINS)
@if not exist $(AXIS2_SERVICES) mkdir $(AXIS2_SERVICES)
@if not exist $(AXIS2_MODULES) mkdir $(AXIS2_MODULES)
@if not exist $(AXIS2_LIBS) mkdir $(AXIS2_LIBS)
@if not exist $(AXIS2_INCLUDE) mkdir $(AXIS2_INCLUDE)
@if not exist $(AXIS2_LOG) mkdir $(AXIS2_LOG)
@if not exist $(AXIS2_MODULES)\addressing mkdir $(AXIS2_MODULES)\addressing
@if not exist $(AXIS2_INTDIR) mkdir $(AXIS2_INTDIR)
@if not exist $(AXIS2_INTDIR_SAMPLES) mkdir $(AXIS2_INTDIR_SAMPLES)
#clean
clean:
if exist $(AXIS2_BINDIR) rmdir /S /Q $(AXIS2_BINDIR)
if exist $(AXIS2_INTDIR) rmdir /S /Q $(AXIS2_INTDIR)
if exist ..\$(AXIS2_RELEASE_DIR) rmdir /S /Q ..\$(AXIS2_RELEASE_DIR)
# axutil
###################
AXUTIL_SRC = $(AXIS2_SOURCE_DIR)\util\src
AXIS2_INTDIR_AXUTIL = $(AXIS2_INTDIR)\util
AXIS2_INTDIR_AXUTIL1 = $(AXIS2_INTDIR_AXUTIL)\platform
AXIS2_INTDIR_AXUTIL2 =$(AXIS2_INTDIR_AXUTIL)\minizip
AXUTIL_OBJS = $(AXIS2_INTDIR_AXUTIL)\*.obj \
$(AXIS2_INTDIR_AXUTIL)\platform\*.obj
!if "$(WITH_ARCHIVE)" == "1"
AXUTIL_OBJS = $(AXUTIL_OBJS) $(AXIS2_INTDIR_AXUTIL)\minizip\*.obj
!endif
$(AXIS2_INTDIR_AXUTIL) :
@if not exist $(AXIS2_INTDIR_AXUTIL) mkdir $(AXIS2_INTDIR_AXUTIL)
$(AXIS2_INTDIR_AXUTIL1) :
@if not exist $(AXIS2_INTDIR_AXUTIL1) mkdir $(AXIS2_INTDIR_AXUTIL1)
$(AXIS2_INTDIR_AXUTIL2) :
@if not exist $(AXIS2_INTDIR_AXUTIL2) mkdir $(AXIS2_INTDIR_AXUTIL2)
{$(AXUTIL_SRC)}.c{$(AXIS2_INTDIR_AXUTIL)}.obj ::
$(CC) $(CFLAGS) /Fo$(AXIS2_INTDIR_AXUTIL)\ /c $<
{$(AXUTIL_SRC)\platforms\windows}.c{$(AXIS2_INTDIR_AXUTIL1)}.obj ::
$(CC) $(CFLAGS) /Fo$(AXIS2_INTDIR_AXUTIL1)\ /c $<
!if "$(WITH_ARCHIVE)" == "1"
{$(AXUTIL_SRC)\minizip}.c{$(AXIS2_INTDIR_AXUTIL2)}.obj ::
$(CC) $(CFLAGS) /Fo$(AXIS2_INTDIR_AXUTIL2)\ /c $<
$(AXUTIL_OBJS) : $(AXIS2_INTDIR_AXUTIL) $(AXIS2_INTDIR_AXUTIL1) $(AXIS2_INTDIR_AXUTIL2)
$(AXIS2_LIBS)\$(AXUTIL).dll : $(AXUTIL_OBJS)
$(LD) $(LDFLAGS) $(AXUTIL_OBJS) $(LIBS) $(ZLIB_BIN_DIR)\lib\zdll.lib \
/DLL /OUT:$(AXIS2_LIBS)\$(AXUTIL).dll /IMPLIB:$(AXIS2_LIBS)\$(AXUTIL).lib
-@$(_VC_MANIFEST_EMBED_DLL)
!else
$(AXUTIL_OBJS) : $(AXIS2_INTDIR_AXUTIL) $(AXIS2_INTDIR_AXUTIL1)
$(AXIS2_LIBS)\$(AXUTIL).dll : $(AXUTIL_OBJS)
$(LD) $(LDFLAGS) $(AXUTIL_OBJS) $(LIBS) /DLL /OUT:$(AXIS2_LIBS)\$(AXUTIL).dll \
/IMPLIB:$(AXIS2_LIBS)\$(AXUTIL).lib
-@$(_VC_MANIFEST_EMBED_DLL)
!endif
axis2_util : $(AXIS2_LIBS)\$(AXUTIL).dll
#end axutil
# guththila
##################
GUTHTHILA_SRC = $(AXIS2_SOURCE_DIR)\guththila\src
AXIS2_INTDIR_GUTHTHILA = $(AXIS2_INTDIR)\guththila
GUTHTHILA_OBJS = $(AXIS2_INTDIR_GUTHTHILA)\*.obj
$(AXIS2_INTDIR_GUTHTHILA) :
@if not exist $(AXIS2_INTDIR_GUTHTHILA) mkdir $(AXIS2_INTDIR_GUTHTHILA)
{$(GUTHTHILA_SRC)}.c{$(AXIS2_INTDIR_GUTHTHILA)}.obj ::
$(CC) $(CFLAGS) $(GUTHTHILA_INCLUDE_PATH) /Fo$(AXIS2_INTDIR_GUTHTHILA)\ /c $<
$(GUTHTHILA_OBJS) : $(AXIS2_INTDIR_GUTHTHILA)
$(AXIS2_LIBS)\$(GUTHTHILA).dll : $(GUTHTHILA_OBJS)
$(LD) $(LDFLAGS) $(GUTHTHILA_OBJS) $(AXUTIL).lib $(LIBS) \
/DLL /OUT:$(AXIS2_LIBS)\$(GUTHTHILA).dll /IMPLIB:$(AXIS2_LIBS)\$(GUTHTHILA).lib
-@$(_VC_MANIFEST_EMBED_DLL)
guththila: $(AXIS2_LIBS)\$(GUTHTHILA).dll
# end guththila
# axis2 parser
###################
AXIS2_PARSER_SRC = $(AXIS2_SOURCE_DIR)\axiom\src\parser
AXIS2_INTDIR_PARSER = $(AXIS2_INTDIR)\parser
$(AXIS2_INTDIR_PARSER) :
@if not exist $(AXIS2_INTDIR_PARSER) mkdir $(AXIS2_INTDIR_PARSER)
!if "$(ENABLE_LIBXML2)" == "1"
AXIS2_INTDIR_PARSER1 = $(AXIS2_INTDIR)\parser\libxml2
AXIS2_PARSER_OBJS = $(AXIS2_INTDIR_PARSER)\*.obj \
$(AXIS2_INTDIR_PARSER)\libxml2\*.obj
PARSER_LIB= $(LIBXML2_BIN_DIR)\lib\libxml2.lib
!else
AXIS2_INTDIR_PARSER1 = $(AXIS2_INTDIR)\parser\guththila
AXIS2_PARSER_OBJS = $(AXIS2_INTDIR_PARSER)\*.obj \
$(AXIS2_INTDIR_PARSER)\guththila\*.obj
PARSER_LIB = $(AXIS2_LIBS)\$(GUTHTHILA).lib
!endif
$(AXIS2_INTDIR_PARSER1) :
@if not exist $(AXIS2_INTDIR_PARSER1) mkdir $(AXIS2_INTDIR_PARSER1)
{$(AXIS2_PARSER_SRC)}.c{$(AXIS2_INTDIR_PARSER)}.obj ::
$(CC) $(CFLAGS) /Fo$(AXIS2_INTDIR_PARSER)\ /c $<
!if "$(ENABLE_LIBXML2)"=="1"
{$(AXIS2_PARSER_SRC)\libxml2}.c{$(AXIS2_INTDIR_PARSER1)}.obj ::
$(CC) $(CFLAGS) /Fo$(AXIS2_INTDIR_PARSER1)\ /c $<
!else
{$(AXIS2_PARSER_SRC)\guththila}.c{$(AXIS2_INTDIR_PARSER1)}.obj ::
$(CC) $(CFLAGS) /Fo$(AXIS2_INTDIR_PARSER1)\ /c $<
!endif
$(AXIS2_PARSER_OBJS) : $(AXIS2_INTDIR_PARSER) $(AXIS2_INTDIR_PARSER1)
$(AXIS2_LIBS)\$(AXIS2_PARSER).dll : $(AXIS2_PARSER_OBJS)
$(LD) $(LDFLAGS) $(AXIS2_PARSER_OBJS) $(AXUTIL).lib $(LIBS) $(PARSER_LIB) /DLL \
/OUT:$(AXIS2_LIBS)\$(AXIS2_PARSER).dll /IMPLIB:$(AXIS2_LIBS)\$(AXIS2_PARSER).lib
-@$(_VC_MANIFEST_EMBED_DLL)
axis2_parser : $(AXIS2_LIBS)\$(AXIS2_PARSER).dll
# decide build order
!if "$(ENABLE_LIBXML2)"=="1"
axis2_basic_modules: axis2_util axis2_parser
!else
axis2_basic_modules: axis2_util guththila axis2_parser
!endif
#end parser
##### axiom
AXIOM_SRC = $(AXIS2_SOURCE_DIR)\axiom\src
AXIOM_INTDIR = $(AXIS2_INTDIR)\axiom\om
AXIOM_INTDIR1 = $(AXIS2_INTDIR)\axiom\soap
AXIOM_INTDIR2 = $(AXIS2_INTDIR)\axiom\util
AXIOM_INTDIR3 = $(AXIS2_INTDIR)\axiom\attachments
AXIOM_OBJS = $(AXIOM_INTDIR)\*.obj \
$(AXIOM_INTDIR1)\*.obj \
$(AXIOM_INTDIR2)\*.obj \
$(AXIOM_INTDIR3)\*.obj
$(AXIOM_INTDIR) :
@if not exist $(AXIOM_INTDIR) mkdir $(AXIOM_INTDIR)
$(AXIOM_INTDIR1) :
@if not exist $(AXIOM_INTDIR1) mkdir $(AXIOM_INTDIR1)
$(AXIOM_INTDIR2) :
@if not exist $(AXIOM_INTDIR2) mkdir $(AXIOM_INTDIR2)
$(AXIOM_INTDIR3) :
@if not exist $(AXIOM_INTDIR3) mkdir $(AXIOM_INTDIR3)
{$(AXIOM_SRC)\om}.c{$(AXIOM_INTDIR)}.obj ::
$(CC) $(CFLAGS) /Fo$(AXIOM_INTDIR)\ /c $<
{$(AXIOM_SRC)\soap}.c{$(AXIOM_INTDIR1)}.obj ::
$(CC) $(CFLAGS) /Fo$(AXIOM_INTDIR1)\ /c $<
{$(AXIOM_SRC)\util}.c{$(AXIOM_INTDIR2)}.obj ::
$(CC) $(CFLAGS) /Fo$(AXIOM_INTDIR2)\ /c $<
{$(AXIOM_SRC)\attachments}.c{$(AXIOM_INTDIR3)}.obj ::
$(CC) $(CFLAGS) /Fo$(AXIOM_INTDIR3)\ /c $<
$(AXIOM_OBJS) : $(AXIOM_INTDIR) $(AXIOM_INTDIR1) $(AXIOM_INTDIR2) $(AXIOM_INTDIR3)
$(AXIS2_LIBS)\$(AXIOM).dll : $(AXIOM_OBJS)
$(LD) $(LDFLAGS) $(AXIOM_OBJS) $(AXUTIL).lib $(AXIS2_PARSER).lib $(LIBS) \
/DLL /OUT:$(AXIS2_LIBS)\$(AXIOM).dll /IMPLIB:$(AXIS2_LIBS)\$(AXIOM).lib
-@$(_VC_MANIFEST_EMBED_DLL)
axiom : $(AXIS2_LIBS)\$(AXIOM).dll
##### end axiom
##### axis2_xpath
XPATH_SRC = $(AXIS2_SOURCE_DIR)\axiom\src\xpath
XPATH_INTDIR = $(AXIS2_INTDIR)\axiom\xpath
XPATH_OBJS = $(XPATH_INTDIR)\*.obj
$(XPATH_INTDIR) :
@if not exist $(XPATH_INTDIR) mkdir $(XPATH_INTDIR)
{$(AXIOM_SRC)\xpath}.c{$(XPATH_INTDIR)}.obj ::
$(CC) $(CFLAGS) /Fo$(XPATH_INTDIR)\ /c $<
$(XPATH_OBJS) : $(XPATH_INTDIR)
$(AXIS2_LIBS)\$(AXIS2_XPATH).dll : $(XPATH_OBJS)
$(LD) $(LDFLAGS) $(XPATH_OBJS) $(AXUTIL).lib $(AXIOM).lib $(LIBS) \
/DLL /OUT:$(AXIS2_LIBS)\$(AXIS2_XPATH).dll /IMPLIB:$(AXIS2_LIBS)\$(AXIS2_XPATH).lib
-@$(_VC_MANIFEST_EMBED_DLL)
axis2_xpath : $(AXIS2_LIBS)\$(AXIS2_XPATH).dll
##### end axis2_xpath
##### neethi
NEETHI_SRC = $(AXIS2_SOURCE_DIR)\neethi\src
NEETHI_INTDIR = $(AXIS2_INTDIR)\neethi
NEETHI_INTDIR1 = $(AXIS2_INTDIR)\neethi\model
NEETHI_INTDIR2 = $(AXIS2_INTDIR)\neethi\builder
NEETHI_INTDIR3 = $(AXIS2_INTDIR)\neethi\rmpolicy
NEETHI_OBJS = $(NEETHI_INTDIR)\*.obj \
$(NEETHI_INTDIR)\model\*.obj \
$(NEETHI_INTDIR)\builder\*.obj \
$(NEETHI_INTDIR)\rmpolicy\*.obj
$(NEETHI_INTDIR) :
@if not exist $(NEETHI_INTDIR) mkdir $(NEETHI_INTDIR)
$(NEETHI_INTDIR1) :
@if not exist $(NEETHI_INTDIR1) mkdir $(NEETHI_INTDIR1)
$(NEETHI_INTDIR2) :
@if not exist $(NEETHI_INTDIR2) mkdir $(NEETHI_INTDIR2)
$(NEETHI_INTDIR3) :
@if not exist $(NEETHI_INTDIR3) mkdir $(NEETHI_INTDIR3)
{$(NEETHI_SRC)}.c{$(NEETHI_INTDIR)}.obj ::
$(CC) $(CFLAGS) /Fo$(NEETHI_INTDIR)\ /c $<
{$(NEETHI_SRC)\secpolicy\model}.c{$(NEETHI_INTDIR1)}.obj ::
$(CC) $(CFLAGS) /Fo$(NEETHI_INTDIR1)\ /c $<
{$(NEETHI_SRC)\secpolicy\builder}.c{$(NEETHI_INTDIR2)}.obj ::
$(CC) $(CFLAGS) /Fo$(NEETHI_INTDIR2)\ /c $<
{$(NEETHI_SRC)\rmpolicy}.c{$(NEETHI_INTDIR3)}.obj ::
$(CC) $(CFLAGS) /Fo$(NEETHI_INTDIR3)\ /c $<
$(NEETHI_OBJS) : $(NEETHI_INTDIR) $(NEETHI_INTDIR1) $(NEETHI_INTDIR2) $(NEETHI_INTDIR3)
$(AXIS2_LIBS)\$(NEETHI).dll : $(NEETHI_OBJS)
$(LD) $(LDFLAGS) $(NEETHI_OBJS) $(AXUTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) \
/DLL /OUT:$(AXIS2_LIBS)\$(NEETHI).dll /IMPLIB:$(AXIS2_LIBS)\$(NEETHI).lib
-@$(_VC_MANIFEST_EMBED_DLL)
neethi : $(AXIS2_LIBS)\$(NEETHI).dll
##### end neethi
##### axis2 engine
ENGINE_SRC = $(AXIS2_SOURCE_DIR)\src\core
ENGINE_INTDIR = $(AXIS2_INTDIR)\core\addr
ENGINE_INTDIR1 = $(AXIS2_INTDIR)\core\clientapi
ENGINE_INTDIR2 = $(AXIS2_INTDIR)\core\context
ENGINE_INTDIR3 = $(AXIS2_INTDIR)\core\deployment
ENGINE_INTDIR4 = $(AXIS2_INTDIR)\core\description
ENGINE_INTDIR5 = $(AXIS2_INTDIR)\core\engine
ENGINE_INTDIR6 = $(AXIS2_INTDIR)\core\phaseresolver
ENGINE_INTDIR7 = $(AXIS2_INTDIR)\core\receivers
ENGINE_INTDIR8 = $(AXIS2_INTDIR)\core\util
ENGINE_INTDIR9 = $(AXIS2_INTDIR)\core\transport
ENGINE_INTDIR10 = $(AXIS2_INTDIR)\core\transport\http\common
ENGINE_INTDIR11 = $(AXIS2_INTDIR)\core\transport\http\util
ENGINE_OBJS = $(ENGINE_INTDIR)\*.obj \
$(ENGINE_INTDIR1)\*.obj \
$(ENGINE_INTDIR2)\*.obj \
$(ENGINE_INTDIR3)\*.obj \
$(ENGINE_INTDIR4)\*.obj \
$(ENGINE_INTDIR5)\*.obj \
$(ENGINE_INTDIR6)\*.obj \
$(ENGINE_INTDIR7)\*.obj \
$(ENGINE_INTDIR8)\*.obj \
$(ENGINE_INTDIR9)\*.obj \
$(ENGINE_INTDIR10)\*.obj \
$(ENGINE_INTDIR11)\*.obj
$(ENGINE_INTDIR) :
@if not exist $(ENGINE_INTDIR) mkdir $(ENGINE_INTDIR)
$(ENGINE_INTDIR1) :
@if not exist $(ENGINE_INTDIR1) mkdir $(ENGINE_INTDIR1)
$(ENGINE_INTDIR2) :
@if not exist $(ENGINE_INTDIR2) mkdir $(ENGINE_INTDIR2)
$(ENGINE_INTDIR3) :
@if not exist $(ENGINE_INTDIR3) mkdir $(ENGINE_INTDIR3)
$(ENGINE_INTDIR4) :
@if not exist $(ENGINE_INTDIR4) mkdir $(ENGINE_INTDIR4)
$(ENGINE_INTDIR5) :
@if not exist $(ENGINE_INTDIR5) mkdir $(ENGINE_INTDIR5)
$(ENGINE_INTDIR6) :
@if not exist $(ENGINE_INTDIR6) mkdir $(ENGINE_INTDIR6)
$(ENGINE_INTDIR7) :
@if not exist $(ENGINE_INTDIR7) mkdir $(ENGINE_INTDIR7)
$(ENGINE_INTDIR8) :
@if not exist $(ENGINE_INTDIR8) mkdir $(ENGINE_INTDIR8)
$(ENGINE_INTDIR9) :
@if not exist $(ENGINE_INTDIR9) mkdir $(ENGINE_INTDIR9)
$(ENGINE_INTDIR10) :
@if not exist $(ENGINE_INTDIR10) mkdir $(ENGINE_INTDIR10)
$(ENGINE_INTDIR11) :
@if not exist $(ENGINE_INTDIR11) mkdir $(ENGINE_INTDIR11)
{$(ENGINE_SRC)\addr}.c{$(ENGINE_INTDIR)}.obj ::
$(CC) $(CFLAGS) /Fo$(ENGINE_INTDIR)\ /c $<
{$(ENGINE_SRC)\clientapi}.c{$(ENGINE_INTDIR1)}.obj ::
$(CC) $(CFLAGS) /Fo$(ENGINE_INTDIR1)\ /c $<
{$(ENGINE_SRC)\context}.c{$(ENGINE_INTDIR2)}.obj ::
$(CC) $(CFLAGS) /Fo$(ENGINE_INTDIR2)\ /c $<
{$(ENGINE_SRC)\deployment}.c{$(ENGINE_INTDIR3)}.obj ::
$(CC) $(CFLAGS) /Fo$(ENGINE_INTDIR3)\ /c $<
{$(ENGINE_SRC)\description}.c{$(ENGINE_INTDIR4)}.obj ::
$(CC) $(CFLAGS) /Fo$(ENGINE_INTDIR4)\ /c $<
{$(ENGINE_SRC)\engine}.c{$(ENGINE_INTDIR5)}.obj ::
$(CC) $(CFLAGS) /Fo$(ENGINE_INTDIR5)\ /c $<
{$(ENGINE_SRC)\phaseresolver}.c{$(ENGINE_INTDIR6)}.obj ::
$(CC) $(CFLAGS) /Fo$(ENGINE_INTDIR6)\ /c $<
{$(ENGINE_SRC)\receivers}.c{$(ENGINE_INTDIR7)}.obj ::
$(CC) $(CFLAGS) /Fo$(ENGINE_INTDIR7)\ /c $<
{$(ENGINE_SRC)\util}.c{$(ENGINE_INTDIR8)}.obj ::
$(CC) $(CFLAGS) /Fo$(ENGINE_INTDIR8)\ /c $<
{$(ENGINE_SRC)\transport}.c{$(ENGINE_INTDIR9)}.obj ::
$(CC) $(CFLAGS) /Fo$(ENGINE_INTDIR9)\ /c $<
{$(ENGINE_SRC)\transport\http\common}.c{$(ENGINE_INTDIR10)}.obj ::
$(CC) $(CFLAGS) /Fo$(ENGINE_INTDIR10)\ /c $<
{$(ENGINE_SRC)\transport\http\util}.c{$(ENGINE_INTDIR11)}.obj ::
$(CC) $(CFLAGS) /Fo$(ENGINE_INTDIR11)\ /c $<
$(ENGINE_OBJS) : $(ENGINE_INTDIR) $(ENGINE_INTDIR1) $(ENGINE_INTDIR2) $(ENGINE_INTDIR3) \
$(ENGINE_INTDIR4) $(ENGINE_INTDIR5) $(ENGINE_INTDIR6) $(ENGINE_INTDIR7) \
$(ENGINE_INTDIR8) $(ENGINE_INTDIR9) $(ENGINE_INTDIR10) $(ENGINE_INTDIR11)
$(AXIS2_LIBS)\$(AXIS2_ENGINE).dll : $(ENGINE_OBJS)
$(LD) $(LDFLAGS) $(ENGINE_OBJS) $(AXUTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib \
$(NEETHI).lib $(LIBS) /DLL /OUT:$(AXIS2_LIBS)\$(AXIS2_ENGINE).dll \
/IMPLIB:$(AXIS2_LIBS)\$(AXIS2_ENGINE).lib
-@$(_VC_MANIFEST_EMBED_DLL)
axis2_engine : $(AXIS2_LIBS)\$(AXIS2_ENGINE).dll
##### end axis2 engine
##### axis2 http sender
HTTP_SENDER_SRC = $(AXIS2_SOURCE_DIR)\src\core\transport\http\sender
HTTP_SENDER_INTDIR = $(AXIS2_INTDIR)\http_sender
HTTP_SENDER_INTDIR1 = $(AXIS2_INTDIR)\http_sender\ssl
HTTP_SENDER_INTDIR2 = $(AXIS2_INTDIR)\http_sender\libcurl
HTTP_SENDER_INTDIR3 = $(AXIS2_INTDIR)\http_sender\ntlm
HTTP_SENDER_INTDIR4 = $(AXIS2_INTDIR)\http_sender\ntlm\heimdal
HTTP_SENDER_INTDIR5 = $(AXIS2_INTDIR)\http_sender\ntlm\libntlm
HTTP_SENDER_OBJS = $(HTTP_SENDER_INTDIR)\*.obj
$(HTTP_SENDER_INTDIR) :
@if not exist $(HTTP_SENDER_INTDIR) mkdir $(HTTP_SENDER_INTDIR)
$(HTTP_SENDER_INTDIR1) :
@if not exist $(HTTP_SENDER_INTDIR1) mkdir $(HTTP_SENDER_INTDIR1)
$(HTTP_SENDER_INTDIR2) :
@if not exist $(HTTP_SENDER_INTDIR2) mkdir $(HTTP_SENDER_INTDIR2)
$(HTTP_SENDER_INTDIR3) :
@if not exist $(HTTP_SENDER_INTDIR3) mkdir $(HTTP_SENDER_INTDIR3)
$(HTTP_SENDER_INTDIR4) :
@if not exist $(HTTP_SENDER_INTDIR4) mkdir $(HTTP_SENDER_INTDIR4)
$(HTTP_SENDER_INTDIR5) :
@if not exist $(HTTP_SENDER_INTDIR5) mkdir $(HTTP_SENDER_INTDIR5)
{$(HTTP_SENDER_SRC)}.c{$(HTTP_SENDER_INTDIR)}.obj ::
$(CC) $(CFLAGS) /Fo$(HTTP_SENDER_INTDIR)\ /c $<
{$(HTTP_SENDER_SRC)\ssl}.c{$(HTTP_SENDER_INTDIR1)}.obj ::
$(CC) $(CFLAGS) /Fo$(HTTP_SENDER_INTDIR1)\ /c $<
{$(HTTP_SENDER_SRC)\libcurl}.c{$(HTTP_SENDER_INTDIR2)}.obj ::
$(CC) $(CFLAGS) /Fo$(HTTP_SENDER_INTDIR2)\ /c $<
{$(HTTP_SENDER_SRC)\ntlm}.c{$(HTTP_SENDER_INTDIR3)}.obj ::
$(CC) $(CFLAGS) /Fo$(HTTP_SENDER_INTDIR3)\ /c $<
{$(HTTP_SENDER_SRC)\ntlm\heimdal}.c{$(HTTP_SENDER_INTDIR4)}.obj ::
$(CC) $(CFLAGS) /Fo$(HTTP_SENDER_INTDIR4)\ /c $<
{$(HTTP_SENDER_SRC)\ntlm\libntlm}.c{$(HTTP_SENDER_INTDIR5)}.obj ::
$(CC) $(CFLAGS) /Fo$(HTTP_SENDER_INTDIR5)\ /c $<
!if "$(ENABLE_SSL)" == "1"
!if "$(ENABLE_LIBCURL)" == "1"
HTTP_SENDER_OBJS = $(HTTP_SENDER_OBJS) \
$(HTTP_SENDER_INTDIR1)\*.obj \
$(HTTP_SENDER_INTDIR2)\*.obj
$(HTTP_SENDER_OBJS) : $(HTTP_SENDER_INTDIR) $(HTTP_SENDER_INTDIR1) $(HTTP_SENDER_INTDIR2)
!else
HTTP_SENDER_OBJS = $(HTTP_SENDER_OBJS) \
$(HTTP_SENDER_INTDIR1)\*.obj
$(HTTP_SENDER_OBJS) : $(HTTP_SENDER_INTDIR) $(HTTP_SENDER_INTDIR1)
!endif
!elseif "$(ENABLE_LIBCURL)" == "1"
HTTP_SENDER_OBJS = $(HTTP_SENDER_OBJS) \
$(HTTP_SENDER_INTDIR2)\*.obj
$(HTTP_SENDER_OBJS) : $(HTTP_SENDER_INTDIR) $(HTTP_SENDER_INTDIR2)
!else
$(HTTP_SENDER_OBJS) : $(HTTP_SENDER_INTDIR)
!endif
!if "$(ENABLE_NTLM_WITH_HEIMDAL)" == "1"
HTTP_SENDER_OBJS = $(HTTP_SENDER_OBJS) \
$(HTTP_SENDER_INTDIR3)\*.obj \
$(HTTP_SENDER_INTDIR4)\*.obj
$(HTTP_SENDER_OBJS) : $(HTTP_SENDER_INTDIR3) $(HTTP_SENDER_INTDIR4)
!endif
!if "$(ENABLE_NTLM_WITH_LIBNTLM)" == "1"
HTTP_SENDER_OBJS = $(HTTP_SENDER_OBJS) \
$(HTTP_SENDER_INTDIR3)\*.obj \
$(HTTP_SENDER_INTDIR5)\*.obj
$(HTTP_SENDER_OBJS) : $(HTTP_SENDER_INTDIR3) $(HTTP_SENDER_INTDIR5)
!endif
$(AXIS2_LIBS)\$(AXIS2_HTTP_SENDER).dll : $(HTTP_SENDER_OBJS)
$(LD) $(LDFLAGS) $(HTTP_SENDER_OBJS) $(AXUTIL).lib \
$(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib \
/DLL /OUT:$(AXIS2_LIBS)\$(AXIS2_HTTP_SENDER).dll /IMPLIB:$(AXIS2_LIBS)\$(AXIS2_HTTP_SENDER).lib
-@$(_VC_MANIFEST_EMBED_DLL)
axis2_http_sender : $(AXIS2_LIBS)\$(AXIS2_HTTP_SENDER).dll
# axis2 http sender
# axis2_tcp_sender
##########################
TCP_SENDER_SRC = $(AXIS2_SOURCE_DIR)\src\core\transport\tcp\sender
TCP_SENDER_INTDIR = $(AXIS2_INTDIR)\tcp_sender
TCP_SENDER_OBJS = $(TCP_SENDER_INTDIR)\*.obj
$(TCP_SENDER_INTDIR) :
@if not exist $(TCP_SENDER_INTDIR) mkdir $(TCP_SENDER_INTDIR)
{$(TCP_SENDER_SRC)}.c{$(TCP_SENDER_INTDIR)}.obj ::
$(CC) $(CFLAGS) /Fo$(TCP_SENDER_INTDIR)\ /c $<
$(TCP_SENDER_OBJS) : $(TCP_SENDER_INTDIR)
$(AXIS2_LIBS)\$(AXIS2_TCP_SENDER).dll : $(TCP_SENDER_OBJS)
$(LD) $(LDFLAGS) $(TCP_SENDER_OBJS) $(AXUTIL).lib \
$(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib \
/DLL /OUT:$(AXIS2_LIBS)\$(AXIS2_TCP_SENDER).dll /IMPLIB:$(AXIS2_LIBS)\$(AXIS2_TCP_SENDER).lib
-@$(_VC_MANIFEST_EMBED_DLL)
axis2_tcp_sender : $(AXIS2_LIBS)\$(AXIS2_TCP_SENDER).dll
# end axis2_tcp_sender
# axis2 http receiver
##############################
HTTP_RECEIVER_SRC = $(AXIS2_SOURCE_DIR)\src\core\transport\http\receiver
HTTP_RECEIVER_INTDIR = $(AXIS2_INTDIR)\http_receiver
HTTP_RECEIVER_OBJS = $(HTTP_RECEIVER_INTDIR)\*.obj
$(HTTP_RECEIVER_INTDIR) :
@if not exist $(HTTP_RECEIVER_INTDIR) mkdir $(HTTP_RECEIVER_INTDIR)
{$(HTTP_RECEIVER_SRC)}.c{$(HTTP_RECEIVER_INTDIR)}.obj ::
$(CC) $(CFLAGS) /Fo$(HTTP_RECEIVER_INTDIR)\ /c $<
$(HTTP_RECEIVER_OBJS) : $(HTTP_RECEIVER_INTDIR)
$(AXIS2_LIBS)\$(AXIS2_HTTP_RECEIVER).dll : $(HTTP_RECEIVER_OBJS)
$(LD) $(LDFLAGS) $(HTTP_RECEIVER_OBJS) $(AXUTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib \
$(LIBS) $(AXIS2_ENGINE).lib /DLL /OUT:$(AXIS2_LIBS)\$(AXIS2_HTTP_RECEIVER).dll \
/IMPLIB:$(AXIS2_LIBS)\$(AXIS2_HTTP_RECEIVER).lib
-@$(_VC_MANIFEST_EMBED_DLL)
axis2_http_receiver : $(AXIS2_LIBS)\$(AXIS2_HTTP_RECEIVER).dll
# end axis2 http receiver
# axis2_tcp_receiver
##########################
TCP_RECEIVER_SRC = $(AXIS2_SOURCE_DIR)\src\core\transport\tcp\receiver
TCP_RECEIVER_INTDIR = $(AXIS2_INTDIR)\tcp_receiver
TCP_RECEIVER_OBJS = $(TCP_RECEIVER_INTDIR)\*.obj
$(TCP_RECEIVER_INTDIR) :
@if not exist $(TCP_RECEIVER_INTDIR) mkdir $(TCP_RECEIVER_INTDIR)
{$(TCP_RECEIVER_SRC)}.c{$(TCP_RECEIVER_INTDIR)}.obj ::
$(CC) $(CFLAGS) /Fo$(TCP_RECEIVER_INTDIR)\ /c $<
$(TCP_RECEIVER_OBJS) : $(TCP_RECEIVER_INTDIR)
$(AXIS2_LIBS)\$(AXIS2_TCP_RECEIVER).dll : $(TCP_RECEIVER_OBJS)
$(LD) $(LDFLAGS) $(TCP_RECEIVER_OBJS) $(AXUTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib \
$(LIBS) $(AXIS2_ENGINE).lib /DLL /OUT:$(AXIS2_LIBS)\$(AXIS2_TCP_RECEIVER).dll \
/IMPLIB:$(AXIS2_LIBS)\$(AXIS2_TCP_RECEIVER).lib
-@$(_VC_MANIFEST_EMBED_DLL)
axis2_tcp_receiver : $(AXIS2_LIBS)\$(AXIS2_TCP_RECEIVER).dll
##### end axis2_tcp_receiver
##### axis2 mod addr
ADDR_SRC = $(AXIS2_SOURCE_DIR)\src\modules\mod_addr
ADDR_INTDIR = $(AXIS2_INTDIR)\addressing
ADDR_OBJS = $(ADDR_INTDIR)\*.obj
$(ADDR_INTDIR) :
@if not exist $(ADDR_INTDIR) mkdir $(ADDR_INTDIR)
{$(ADDR_SRC)}.c{$(ADDR_INTDIR)}.obj ::
$(CC) $(CFLAGS) /Fo$(ADDR_INTDIR)\ /c $<
$(ADDR_OBJS) : $(ADDR_INTDIR)
$(AXIS2_MODULES)\addressing\$(AXIS2_MOD_ADDR).dll : $(ADDR_OBJS)
$(LD) $(LDFLAGS) $(ADDR_OBJS) $(AXUTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) \
$(AXIS2_ENGINE).lib /DLL /OUT:$(AXIS2_MODULES)\addressing\$(AXIS2_MOD_ADDR).dll
@copy $(AXIS2_SOURCE_DIR)\src\modules\mod_addr\module.xml $(AXIS2_MODULES)\addressing
-@$(_VC_MANIFEST_EMBED_DLL)
axis2_mod_addr : $(AXIS2_MODULES)\addressing\$(AXIS2_MOD_ADDR).dll
##### end axis2 mod addr
##### simple_axis_server
SIMPLE_AXIS2_SVR_SRC = $(AXIS2_SOURCE_DIR)\src\core\transport\http\server\simple_axis2_server
AXIS2_SVR_INTDIR = $(AXIS2_INTDIR)\simple_http_server
AXIS2_SVR_OBJS = $(AXIS2_INTDIR)\simple_http_server\*.obj
$(AXIS2_SVR_INTDIR) :
@if not exist $(AXIS2_SVR_INTDIR) mkdir $(AXIS2_SVR_INTDIR)
{$(SIMPLE_AXIS2_SVR_SRC)}.c{$(AXIS2_SVR_INTDIR)}.obj ::
$(CC) $(CFLAGS) /Fo$(AXIS2_SVR_INTDIR)\ /c $<
$(AXIS2_SVR_OBJS) : $(AXIS2_SVR_INTDIR)
$(AXIS2_BINS)\$(AXIS2_HTTP_SERVER).exe : $(AXIS2_SVR_OBJS)
$(LD) $(LDFLAGS) $(AXIS2_SVR_OBJS) $(AXUTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib \
$(LIBS) $(AXIS2_ENGINE).lib $(AXIS2_HTTP_RECEIVER).lib /OUT:$(AXIS2_BINS)\$(AXIS2_HTTP_SERVER).exe
-@$(_VC_MANIFEST_EMBED_EXE)
@copy $(AXIS2_SOURCE_DIR)\samples\server\axis2.xml $(AXIS2_BINDIR)\
simple_axis2_http_server : $(AXIS2_BINS)\$(AXIS2_HTTP_SERVER).exe
##### end simple_axis2_server
##### simple tcp server
AXIS2_TCP_SVR_SRC = $(AXIS2_SOURCE_DIR)\src\core\transport\tcp\server\simple_tcp_server
AXIS2_TCP_SVR_INTDIR = $(AXIS2_INTDIR)\simple_tcp_server
AXIS2_TCP_SVR_OBJS = $(AXIS2_INTDIR)\simple_tcp_server\*.obj
$(AXIS2_TCP_SVR_INTDIR) :
@if not exist $(AXIS2_TCP_SVR_INTDIR) mkdir $(AXIS2_TCP_SVR_INTDIR)
{$(AXIS2_TCP_SVR_SRC)}.c{$(AXIS2_TCP_SVR_INTDIR)}.obj ::
$(CC) $(CFLAGS) /Fo$(AXIS2_TCP_SVR_INTDIR)\ /c $<
$(AXIS2_TCP_SVR_OBJS) : $(AXIS2_TCP_SVR_INTDIR)
$(AXIS2_BINS)\$(AXIS2_TCP_SERVER).exe : $(AXIS2_TCP_SVR_OBJS)
$(LD) $(LDFLAGS) $(AXIS2_TCP_SVR_OBJS) $(AXUTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib \
$(LIBS) $(AXIS2_ENGINE).lib $(AXIS2_TCP_RECEIVER).lib /OUT:$(AXIS2_BINS)\$(AXIS2_TCP_SERVER).exe
-@$(_VC_MANIFEST_EMBED_EXE)
@copy $(AXIS2_SOURCE_DIR)\samples\server\axis2.xml $(AXIS2_BINDIR)\
simple_axis2_tcp_server : $(AXIS2_BINS)\$(AXIS2_TCP_SERVER).exe
##### end simple tcp server
########## server modules
#apache module
MOD_AXIS2_SRC=$(AXIS2_SOURCE_DIR)\src\core\transport\http\server\apache2
MOD_AXIS2_INTDIR = $(AXIS2_INTDIR)\apache_module
MOD_AXIS2_OBJS = $(MOD_AXIS2_INTDIR)\*.obj
$(MOD_AXIS2_INTDIR) :
@if not exist $(MOD_AXIS2_INTDIR) mkdir $(MOD_AXIS2_INTDIR)
{$(MOD_AXIS2_SRC)}.c{$(MOD_AXIS2_INTDIR)}.obj ::
$(CC) $(CFLAGS) $(APACHE_INCLUDE_PATH) /Fo$(MOD_AXIS2_INTDIR)\ /c $<
$(MOD_AXIS2_OBJS) : $(MOD_AXIS2_INTDIR)
$(AXIS2_LIBS)\mod_axis2.dll : $(MOD_AXIS2_OBJS)
$(LD) $(LDFLAGS) $(MOD_AXIS2_OBJS) $(AXUTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib \
$(LIBS) $(AXIS2_ENGINE).lib $(APACHE_LIBS) /DLL /OUT:$(AXIS2_LIBS)\mod_axis2.dll
-@$(_VC_MANIFEST_EMBED_DLL)
axis2_apache_module : $(AXIS2_LIBS)\mod_axis2.dll
#mod IIS
MOD_IIS_SRC = $(AXIS2_SOURCE_DIR)\src\core\transport\http\server\IIS
MOD_IIS_INTDIR = $(AXIS2_INTDIR)\mod_IIS
MOD_IIS_INTDIR1 = $(AXIS2_INTDIR)\mod_IIS\isapi51
DEF_FILE = $(AXIS2_SOURCE_DIR)\src\core\transport\http\server\IIS\mod_axis2.def
MOD_IIS_OBJS = $(MOD_IIS_INTDIR)\*.obj \
$(MOD_IIS_INTDIR1)\*.obj
$(MOD_IIS_INTDIR) :
@if not exist $(MOD_IIS_INTDIR) mkdir $(MOD_IIS_INTDIR)
$(MOD_IIS_INTDIR1) :
@if not exist $(MOD_IIS_INTDIR1) mkdir $(MOD_IIS_INTDIR1)
{$(MOD_IIS_SRC)\iis_iaspi_plugin_51}.c{$(MOD_IIS_INTDIR1)}.obj ::
$(CC) $(CFLAGS) /D "WIN32" /D "_WINDOWS" /D "_CRT_SECURE_NO_DEPRECATE" /Fo$(MOD_IIS_INTDIR1)\ /c $<
{$(MOD_IIS_SRC)}.c{$(MOD_IIS_INTDIR)}.obj ::
$(CC) $(CFLAGS) /Fo$(MOD_IIS_INTDIR)\ /c $<
$(MOD_IIS_OBJS) : $(MOD_IIS_INTDIR) $(MOD_IIS_INTDIR1)
$(AXIS2_LIBS)\mod_axis2_IIS.dll : $(MOD_IIS_OBJS)
$(LD) $(LDFLAGS) $(MOD_IIS_OBJS) $(AXUTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib \
$(LIBS) Advapi32.lib $(AXIS2_ENGINE).lib /DEF:$(DEF_FILE) /DLL /OUT:$(AXIS2_LIBS)\mod_axis2_IIS.dll
@copy $(MOD_IIS_SRC)\axis2_iis_regedit.js $(AXIS2_BINDIR)
-@$(_VC_MANIFEST_EMBED_DLL)
axis2_IIS_module : $(AXIS2_LIBS)\mod_axis2_IIS.dll
#CGI module
MOD_CGI_SRC=$(AXIS2_SOURCE_DIR)\src\core\transport\http\server\CGI
MOD_CGI_INTDIR = $(AXIS2_INTDIR)\CGI
MOD_CGI_OBJS = $(MOD_CGI_INTDIR)\*.obj
$(MOD_CGI_INTDIR) :
@if not exist $(MOD_CGI_INTDIR) mkdir $(MOD_CGI_INTDIR)
{$(MOD_CGI_SRC)}.c{$(MOD_CGI_INTDIR)}.obj ::
$(CC) $(CFLAGS) /Fo$(MOD_CGI_INTDIR)\ /c $<
$(MOD_CGI_OBJS) : $(MOD_CGI_INTDIR)
$(AXIS2_BINS)\axis2.cgi : $(MOD_CGI_OBJS)
$(LD) $(LDFLAGS) $(MOD_CGI_OBJS) $(AXUTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib \
$(LIBS) $(AXIS2_ENGINE).lib /OUT:$(AXIS2_BINS)\$(AXIS2_CGI)
-@$(_VC_MANIFEST_EMBED_EXE)
axis2_cgi : $(AXIS2_BINS)\$(AXIS2_CGI)
# end modules
# Core Build Targets
################################
axis2_core:axis2_basic_modules axiom axis2_xpath neethi axis2_engine axis2_http_sender \
axis2_http_receiver axis2_mod_addr simple_axis2_http_server
axis2_core_without_server: axis2_basic_modules axiom axis2_xpath neethi axis2_engine axis2_http_sender \
axis2_http_receiver axis2_mod_addr
axis2_tcp : axis2_tcp_sender axis2_tcp_receiver simple_axis2_tcp_server
##### logging module
MOD_LOG_SRC = $(AXIS2_SOURCE_DIR)\src\modules\mod_log
MOD_LOG_INTDIR = $(AXIS2_INTDIR)\mod_log
MOD_LOG_OBJS = $(MOD_LOG_INTDIR)\*.obj
$(MOD_LOG_INTDIR) :
@if not exist $(AXIS2_MDOULES)\logging mkdir $(AXIS2_MODULES)\logging
@if not exist $(MOD_LOG_INTDIR) mkdir $(MOD_LOG_INTDIR)
{$(MOD_LOG_SRC)}.c{$(MOD_LOG_INTDIR)}.obj ::
$(CC) $(CFLAGS) /Fo$(MOD_LOG_INTDIR)\ /c $<
$(MOD_LOG_OBJS) : $(MOD_LOG_INTDIR)
$(AXIS2_MODULES)\logging\axis2_mod_log.dll : $(MOD_LOG_OBJS)
$(LD) $(LDFLAGS) $(MOD_LOG_OBJS) $(AXUTIL).lib $(AXIOM).lib \
$(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib /DLL /OUT:$(AXIS2_MODULES)\logging\axis2_mod_log.dll
@copy $(AXIS2_SOURCE_DIR)\src\modules\mod_log\module.xml $(AXIS2_MODULES)\logging
-@$(_VC_MANIFEST_EMBED_DLL)
axis2_mod_log: $(AXIS2_MODULES)\logging\axis2_mod_log.dll
##### end logging module
################ samples ####################
#sample services
### echo
ECHO_SRC = $(AXIS2_SOURCE_DIR)\samples\server\echo
ECHO_INTDIR = $(AXIS2_INTDIR_SAMPLES)\services\echo
ECHO_OBJS = $(ECHO_INTDIR)\*.obj
$(ECHO_INTDIR) :
@if not exist $(ECHO_INTDIR) mkdir $(ECHO_INTDIR)
@if not exist $(AXIS2_SERVICES)\echo mkdir $(AXIS2_SERVICES)\echo
{$(ECHO_SRC)}.c{$(ECHO_INTDIR)}.obj ::
$(CC) $(CFLAGS) /Fo$(ECHO_INTDIR)\ /c $<
$(ECHO_OBJS) : $(ECHO_INTDIR)
$(AXIS2_SERVICES)\echo\echo.dll : $(ECHO_OBJS)
$(LD) $(LDFLAGS) $(ECHO_OBJS) $(AXUTIL).lib $(AXIOM).lib \
$(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib /DLL /OUT:$(AXIS2_SERVICES)\echo\echo.dll
-@$(_VC_MANIFEST_EMBED_DLL)
@copy $(AXIS2_SOURCE_DIR)\samples\server\echo\services.xml $(AXIS2_SERVICES)\echo
axis2_services_echo: $(AXIS2_SERVICES)\echo\echo.dll
### notify
NOTIFY_SRC = $(AXIS2_SOURCE_DIR)\samples\server\notify
NOTIFY_INTDIR = $(AXIS2_INTDIR_SAMPLES)\services\notify
NOTIFY_OBJS = $(NOTIFY_INTDIR)\*.obj
$(NOTIFY_INTDIR) :
@if not exist $(NOTIFY_INTDIR) mkdir $(NOTIFY_INTDIR)
@if not exist $(AXIS2_SERVICES)\notify mkdir $(AXIS2_SERVICES)\notify
{$(NOTIFY_SRC)}.c{$(NOTIFY_INTDIR)}.obj ::
$(CC) $(CFLAGS) /Fo$(NOTIFY_INTDIR)\ /c $<
$(NOTIFY_OBJS) : $(NOTIFY_INTDIR)
$(AXIS2_SERVICES)\notify\notify.dll : $(NOTIFY_OBJS)
$(LD) $(LDFLAGS) $(NOTIFY_OBJS) $(AXUTIL).lib $(AXIOM).lib \
$(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib /DLL /OUT:$(AXIS2_SERVICES)\notify\notify.dll
-@$(_VC_MANIFEST_EMBED_DLL)
@copy $(AXIS2_SOURCE_DIR)\samples\server\notify\services.xml $(AXIS2_SERVICES)\notify
axis2_services_notify: $(AXIS2_SERVICES)\notify\notify.dll
### math
MATH_SRC = $(AXIS2_SOURCE_DIR)\samples\server\math
MATH_INTDIR = $(AXIS2_INTDIR_SAMPLES)\services\math
MATH_OBJS = $(MATH_INTDIR)\*.obj
$(MATH_INTDIR) :
@if not exist $(MATH_INTDIR) mkdir $(MATH_INTDIR)
@if not exist $(AXIS2_SERVICES)\math mkdir $(AXIS2_SERVICES)\math
{$(MATH_SRC)}.c{$(MATH_INTDIR)}.obj ::
$(CC) $(CFLAGS) /Fo$(MATH_INTDIR)\ /c $<
$(MATH_OBJS) : $(MATH_INTDIR)
$(AXIS2_SERVICES)\math\math.dll : $(MATH_OBJS)
$(LD) $(LDFLAGS) $(MATH_OBJS) $(AXUTIL).lib $(AXIOM).lib \
$(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib /DLL /OUT:$(AXIS2_SERVICES)\math\math.dll
-@$(_VC_MANIFEST_EMBED_DLL)
@copy $(AXIS2_SOURCE_DIR)\samples\server\math\services.xml $(AXIS2_SERVICES)\math
axis2_services_math: $(AXIS2_SERVICES)\math\math.dll
### session
SESSION_SRC = $(AXIS2_SOURCE_DIR)\samples\server\session
SESSION_INTDIR = $(AXIS2_INTDIR_SAMPLES)\services\session
SESSION_OBJS = $(SESSION_INTDIR)\*.obj
$(SESSION_INTDIR) :
@if not exist $(SESSION_INTDIR) mkdir $(SESSION_INTDIR)
@if not exist $(AXIS2_SERVICES)\session mkdir $(AXIS2_SERVICES)\session
{$(SESSION_SRC)}.c{$(SESSION_INTDIR)}.obj ::
$(CC) $(CFLAGS) /Fo$(SESSION_INTDIR)\ /c $<
$(SESSION_OBJS) : $(SESSION_INTDIR)
$(AXIS2_SERVICES)\session\session.dll : $(SESSION_OBJS)
$(LD) $(LDFLAGS) $(SESSION_OBJS) $(AXUTIL).lib $(AXIOM).lib \
$(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib /DLL /OUT:$(AXIS2_SERVICES)\session\session.dll
-@$(_VC_MANIFEST_EMBED_DLL)
@copy $(AXIS2_SOURCE_DIR)\samples\server\session\services.xml $(AXIS2_SERVICES)\session
axis2_services_session: $(AXIS2_SERVICES)\session\session.dll
### version
VERSION_SRC = $(AXIS2_SOURCE_DIR)\samples\server\version
VERSION_INTDIR = $(AXIS2_INTDIR_SAMPLES)\services\version
VERSION_OBJS = $(VERSION_INTDIR)\*.obj
$(VERSION_INTDIR) :
@if not exist $(VERSION_INTDIR) mkdir $(VERSION_INTDIR)
@if not exist $(AXIS2_SERVICES)\version mkdir $(AXIS2_SERVICES)\version
{$(VERSION_SRC)}.c{$(VERSION_INTDIR)}.obj ::
$(CC) $(CFLAGS) /Fo$(VERSION_INTDIR)\ /c $<
$(VERSION_OBJS) : $(VERSION_INTDIR)
$(AXIS2_SERVICES)\version\version.dll : $(VERSION_OBJS)
$(LD) $(LDFLAGS) $(VERSION_OBJS) $(AXUTIL).lib $(AXIOM).lib \
$(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib /DLL /OUT:$(AXIS2_SERVICES)\version\version.dll
-@$(_VC_MANIFEST_EMBED_DLL)
@copy $(AXIS2_SOURCE_DIR)\samples\server\version\services.xml $(AXIS2_SERVICES)\version
axis2_services_version: $(AXIS2_SERVICES)\version\version.dll
### mtom
MTOM_SRC = $(AXIS2_SOURCE_DIR)\samples\server\mtom
MTOM_INTDIR = $(AXIS2_INTDIR_SAMPLES)\services\mtom
MTOM_OBJS = $(MTOM_INTDIR)\*.obj
$(MTOM_INTDIR) :
@if not exist $(MTOM_INTDIR) mkdir $(MTOM_INTDIR)
@if not exist $(AXIS2_SERVICES)\mtom mkdir $(AXIS2_SERVICES)\mtom
{$(MTOM_SRC)}.c{$(MTOM_INTDIR)}.obj ::
$(CC) $(CFLAGS) /Fo$(MTOM_INTDIR)\ /c $<
$(MTOM_OBJS) : $(MTOM_INTDIR)
$(AXIS2_SERVICES)\mtom\mtom.dll : $(MTOM_OBJS)
$(LD) $(LDFLAGS) $(MTOM_OBJS) $(AXUTIL).lib $(AXIOM).lib \
$(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib /DLL /OUT:$(AXIS2_SERVICES)\mtom\mtom.dll
-@$(_VC_MANIFEST_EMBED_DLL)
@copy $(AXIS2_SOURCE_DIR)\samples\server\mtom\services.xml $(AXIS2_SERVICES)\mtom
axis2_services_mtom: $(AXIS2_SERVICES)\mtom\mtom.dll
MTOM_SERVICE_CALLBACK_SRC = $(AXIS2_SOURCE_DIR)\samples\server\mtom_callback
MTOM_SERVICE_CALLBACK_INTDIR = $(AXIS2_INTDIR_SAMPLES)\services\mtom_callback
MTOM_SERVICE_CALLBACK_OBJS = $(MTOM_SERVICE_CALLBACK_INTDIR)\*.obj
$(MTOM_SERVICE_CALLBACK_INTDIR) :
@if not exist $(MTOM_SERVICE_CALLBACK_INTDIR) mkdir $(MTOM_SERVICE_CALLBACK_INTDIR)
@if not exist $(AXIS2_SERVICES)\mtom_callback mkdir $(AXIS2_SERVICES)\mtom_callback
{$(MTOM_SERVICE_CALLBACK_SRC)}.c{$(MTOM_SERVICE_CALLBACK_INTDIR)}.obj ::
$(CC) $(CFLAGS) /Fo$(MTOM_SERVICE_CALLBACK_INTDIR)\ /c $<
$(MTOM_SERVICE_CALLBACK_OBJS) : $(MTOM_SERVICE_CALLBACK_INTDIR)
$(AXIS2_SERVICES)\mtom_callback\mtom_callback.dll : $(MTOM_SERVICE_CALLBACK_OBJS)
$(LD) $(LDFLAGS) $(MTOM_SERVICE_CALLBACK_OBJS) $(AXUTIL).lib $(AXIOM).lib \
$(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib /DLL /OUT:$(AXIS2_SERVICES)\mtom_callback\mtom_callback.dll
-@$(_VC_MANIFEST_EMBED_DLL)
@copy $(AXIS2_SOURCE_DIR)\samples\server\mtom_callback\services.xml $(AXIS2_SERVICES)\mtom_callback
axis2_services_mtom_callback: $(AXIS2_SERVICES)\mtom_callback\mtom_callback.dll
#### Calculator
CALCULATOR_SRC = $(AXIS2_SOURCE_DIR)\samples\server\\Calculator
CALCULATOR_INTDIR = $(AXIS2_INTDIR_SAMPLES)\services\\Calculator
CALCULATOR_OBJS = $(CALCULATOR_INTDIR)\*.obj
$(CALCULATOR_INTDIR) :
@if not exist $(CALCULATOR_INTDIR) mkdir $(CALCULATOR_INTDIR)
@if not exist $(AXIS2_SERVICES)\\Calculator mkdir $(AXIS2_SERVICES)\\Calculator
{$(CALCULATOR_SRC)}.c{$(CALCULATOR_INTDIR)}.obj ::
$(CC) $(CFLAGS) /Fo$(CALCULATOR_INTDIR)\ /c $<
$(CALCULATOR_OBJS) : $(CALCULATOR_INTDIR)
$(AXIS2_SERVICES)\Calculator\Calculator.dll : $(CALCULATOR_OBJS)
$(LD) $(LDFLAGS) $(CALCULATOR_OBJS) $(AXUTIL).lib $(AXIOM).lib \
$(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib /DLL /OUT:$(AXIS2_SERVICES)\Calculator\Calculator.dll
-@$(_VC_MANIFEST_EMBED_DLL)
@copy $(AXIS2_SOURCE_DIR)\samples\server\Calculator\services.xml $(AXIS2_SERVICES)\Calculator
@copy $(AXIS2_SOURCE_DIR)\samples\server\Calculator\Calculator.wsdl $(AXIS2_SERVICES)\Calculator
axis2_services_calculator : $(AXIS2_SERVICES)\Calculator\Calculator.dll
### sgmath
AXIS2_INTDIR_SGM=$(AXIS2_INTDIR_SAMPLES)\services\sgmath
axis2_services_sg_math_int:
@if not exist $(AXIS2_SERVICES)\sg_math mkdir $(AXIS2_SERVICES)\sg_math
@if not exist $(AXIS2_INTDIR_SGM)\add mkdir $(AXIS2_INTDIR_SGM)\add
@if not exist $(AXIS2_INTDIR_SGM)\sub mkdir $(AXIS2_INTDIR_SGM)\sub
@if not exist $(AXIS2_INTDIR_SGM)\mul mkdir $(AXIS2_INTDIR_SGM)\mul
@if not exist $(AXIS2_INTDIR_SGM)\div mkdir $(AXIS2_INTDIR_SGM)\div
$(AXIS2_SERVICES)\sg_math\add.dll :
$(CC) $(CFLAGS) /I$(AXIS2_SOURCE_DIR)\samples\server\sg_math \
$(AXIS2_SOURCE_DIR)\samples\server\sg_math\add.c \
$(AXIS2_SOURCE_DIR)\samples\server\sg_math\add_skeleton.c /Fo$(AXIS2_INTDIR_SGM)\add\ /c
$(LD) $(LDFLAGS) $(AXIS2_INTDIR_SGM)\add\*.obj $(AXUTIL).lib $(AXIOM).lib \
$(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib \
/DLL /OUT:$(AXIS2_SERVICES)\sg_math\add.dll
-@$(_VC_MANIFEST_EMBED_DLL)
$(AXIS2_SERVICES)\sg_math\div.dll :
$(CC) $(CFLAGS) /I$(AXIS2_SOURCE_DIR)\samples\server\sg_math \
$(AXIS2_SOURCE_DIR)\samples\server\sg_math\div.c \
$(AXIS2_SOURCE_DIR)\samples\server\sg_math\div_skeleton.c /Fo$(AXIS2_INTDIR_SGM)\div\ /c
$(LD) $(LDFLAGS) $(AXIS2_INTDIR_SGM)\div\*.obj $(AXUTIL).lib $(AXIOM).lib \
$(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib /DLL /OUT:$(AXIS2_SERVICES)\sg_math\div.dll
-@$(_VC_MANIFEST_EMBED_DLL)
$(AXIS2_SERVICES)\sg_math\sub.dll :
$(CC) $(CFLAGS) /I$(AXIS2_SOURCE_DIR)\samples\server\sg_math \
$(AXIS2_SOURCE_DIR)\samples\server\sg_math\sub.c \
$(AXIS2_SOURCE_DIR)\samples\server\sg_math\sub_skeleton.c /Fo$(AXIS2_INTDIR_SGM)\sub\ /c
$(LD) $(LDFLAGS) $(AXIS2_INTDIR_SGM)\sub\*.obj $(AXUTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib \
$(LIBS) $(AXIS2_ENGINE).lib /DLL /OUT:$(AXIS2_SERVICES)\sg_math\sub.dll
-@$(_VC_MANIFEST_EMBED_DLL)
$(AXIS2_SERVICES)\sg_math\mul.dll :
$(CC) $(CFLAGS) /I$(AXIS2_SOURCE_DIR)\samples\server\sg_math \
$(AXIS2_SOURCE_DIR)\samples\server\sg_math\mul.c \
$(AXIS2_SOURCE_DIR)\samples\server\sg_math\mul_skeleton.c /Fo$(AXIS2_INTDIR_SGM)\mul\ /c
$(LD) $(LDFLAGS) $(AXIS2_INTDIR_SGM)\mul\*.obj $(AXUTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib \
$(LIBS) $(AXIS2_ENGINE).lib $(AXIS2_HTTP_RECEIVER).lib \
$(AXIS2_HTTP_SENDER).lib /DLL /OUT:$(AXIS2_SERVICES)\sg_math\mul.dll
-@$(_VC_MANIFEST_EMBED_DLL)
axis2_services_sg_math : axis2_services_sg_math_int $(AXIS2_SERVICES)\sg_math\add.dll \
$(AXIS2_SERVICES)\sg_math\div.dll $(AXIS2_SERVICES)\sg_math\sub.dll $(AXIS2_SERVICES)\sg_math\mul.dll
@copy $(AXIS2_SOURCE_DIR)\samples\server\sg_math\services.xml $(AXIS2_SERVICES)\sg_math
###################### clients #################################
AXIS2_INTDIR_CLI = $(AXIS2_INTDIR)\samples\clients
axis2_clients_intdir:
@if not exist $(AXIS2_BINDIR)\samples\bin mkdir $(AXIS2_BINDIR)\samples\bin
@if not exist $(AXIS2_INTDIR_CLI)\math mkdir $(AXIS2_INTDIR_CLI)\math
@if not exist $(AXIS2_INTDIR_CLI)\session mkdir $(AXIS2_INTDIR_CLI)\session
@if not exist $(AXIS2_INTDIR_CLI)\version mkdir $(AXIS2_INTDIR_CLI)\version
@if not exist $(AXIS2_INTDIR_CLI)\echo mkdir $(AXIS2_INTDIR_CLI)\echo
@if not exist $(AXIS2_INTDIR_CLI)\dyn_cli mkdir $(AXIS2_INTDIR_CLI)\dyn_cli
@if not exist $(AXIS2_INTDIR_CLI)\gslc mkdir $(AXIS2_INTDIR_CLI)\gslc
@if not exist $(AXIS2_INTDIR_CLI)\yahoo mkdir $(AXIS2_INTDIR_CLI)\yahoo
@if not exist $(AXIS2_INTDIR_CLI)\notify mkdir $(AXIS2_INTDIR_CLI)\notify
@if not exist $(AXIS2_INTDIR_CLI)\mtom mkdir $(AXIS2_INTDIR_CLI)\mtom
@if not exist $(AXIS2_INTDIR_CLI)\mtom_callback mkdir $(AXIS2_INTDIR_CLI)\mtom_callback
@if not exist $(AXIS2_INTDIR_CLI)\ntlm mkdir $(AXIS2_INTDIR_CLI)\ntlm
@if not exist $(AXIS2_INTDIR_CLI)\ntlm_postcheck mkdir $(AXIS2_INTDIR_CLI)\ntlm_postcheck
AXIS2_SAMPLES_BIN = $(AXIS2_BINDIR)\samples\bin
$(AXIS2_SAMPLES_BIN)\math.exe :
$(CC) $(CFLAGS) $(AXIS2_SOURCE_DIR)\samples\client\math\*.c /Fo$(AXIS2_INTDIR_CLI)\math\ /c
$(LD) $(LDFLAGS) /FIXED:No $(AXIS2_INTDIR_CLI)\math\*.obj $(AXUTIL).lib $(AXIOM).lib \
$(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib /OUT:$(AXIS2_SAMPLES_BIN)\math.exe
-@$(_VC_MANIFEST_EMBED_EXE)
axis2_client_math: $(AXIS2_SAMPLES_BIN)\math.exe
$(AXIS2_SAMPLES_BIN)\session.exe :
$(CC) $(CFLAGS) $(AXIS2_SOURCE_DIR)\samples\client\session\*.c /Fo$(AXIS2_INTDIR_CLI)\session\ /c
$(LD) $(LDFLAGS) /FIXED:No $(AXIS2_INTDIR_CLI)\session\*.obj $(AXUTIL).lib $(AXIOM).lib \
$(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib /OUT:$(AXIS2_SAMPLES_BIN)\session.exe
-@$(_VC_MANIFEST_EMBED_EXE)
axis2_client_session: $(AXIS2_SAMPLES_BIN)\session.exe
$(AXIS2_SAMPLES_BIN)\version.exe :
$(CC) $(CFLAGS) $(AXIS2_SOURCE_DIR)\samples\client\version\*.c /Fo$(AXIS2_INTDIR_CLI)\version\ /c
$(LD) $(LDFLAGS) /FIXED:No $(AXIS2_INTDIR_CLI)\version\*.obj $(AXUTIL).lib $(AXIOM).lib \
$(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib /OUT:$(AXIS2_SAMPLES_BIN)\version.exe
-@$(_VC_MANIFEST_EMBED_EXE)
axis2_client_version: $(AXIS2_SAMPLES_BIN)\version.exe
$(AXIS2_SAMPLES_BIN)\echo.exe :
$(CC) $(CFLAGS) $(AXIS2_SOURCE_DIR)\samples\client\echo\echo.c /Fo$(AXIS2_INTDIR_CLI)\echo\ /c
$(LD) $(LDFLAGS) /FIXED:No $(AXIS2_INTDIR_CLI)\echo\*.obj $(AXUTIL).lib $(AXIOM).lib \
$(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib /OUT:$(AXIS2_SAMPLES_BIN)\echo.exe
-@$(_VC_MANIFEST_EMBED_EXE)
axis2_client_echo: $(AXIS2_SAMPLES_BIN)\echo.exe
$(AXIS2_SAMPLES_BIN)\google.exe :
$(CC) $(CFLAGS) $(AXIS2_SOURCE_DIR)\samples\client\google\*.c /Fo$(AXIS2_INTDIR_CLI)\gslc\ /c
$(LD) $(LDFLAGS) /FIXED:No $(AXIS2_INTDIR_CLI)\gslc\*.obj $(AXUTIL).lib $(AXIOM).lib \
$(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib /OUT:$(AXIS2_SAMPLES_BIN)\google.exe
-@$(_VC_MANIFEST_EMBED_EXE)
axis2_client_google_spell : $(AXIS2_SAMPLES_BIN)\google.exe
$(AXIS2_SAMPLES_BIN)\yahoo.exe :
$(CC) $(CFLAGS) $(AXIS2_SOURCE_DIR)\samples\client\yahoo\*.c /Fo$(AXIS2_INTDIR_CLI)\yahoo\ /c
$(LD) $(LDFLAGS) /FIXED:No $(AXIS2_INTDIR_CLI)\yahoo\*.obj $(AXUTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) \
$(AXIS2_ENGINE).lib /OUT:$(AXIS2_SAMPLES_BIN)\yahoo.exe
-@$(_VC_MANIFEST_EMBED_EXE)
axis2_client_yahoo: $(AXIS2_SAMPLES_BIN)\yahoo.exe
$(AXIS2_SAMPLES_BIN)\notify.exe :
$(CC) $(CFLAGS) $(AXIS2_SOURCE_DIR)\samples\client\notify\*.c /Fo$(AXIS2_INTDIR_CLI)\notify\ /c
$(LD) $(LDFLAGS) /FIXED:No $(AXIS2_INTDIR_CLI)\notify\*.obj $(AXUTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) \
$(AXIS2_ENGINE).lib /OUT:$(AXIS2_SAMPLES_BIN)\notify.exe
-@$(_VC_MANIFEST_EMBED_EXE)
axis2_client_notify: $(AXIS2_SAMPLES_BIN)\notify.exe
$(AXIS2_SAMPLES_BIN)\mtom.exe :
$(CC) $(CFLAGS) $(AXIS2_SOURCE_DIR)\samples\client\mtom\*.c /Fo$(AXIS2_INTDIR_CLI)\mtom\ /c
$(LD) $(LDFLAGS) /FIXED:No $(AXIS2_INTDIR_CLI)\mtom\*.obj $(AXUTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) \
$(AXIS2_ENGINE).lib /OUT:$(AXIS2_SAMPLES_BIN)\mtom.exe
-@$(_VC_MANIFEST_EMBED_EXE)
@if not exist $(AXIS2_SAMPLES_BIN)\resources mkdir $(AXIS2_SAMPLES_BIN)\resources
@xcopy /Y $(AXIS2_SOURCE_DIR)\samples\client\mtom\resources $(AXIS2_SAMPLES_BIN)\resources
axis2_client_mtom: $(AXIS2_SAMPLES_BIN)\mtom.exe
$(AXIS2_SAMPLES_BIN)\mtom_callback.exe :
$(CC) $(CFLAGS) $(AXIS2_SOURCE_DIR)\samples\client\mtom_callback\*.c /Fo$(AXIS2_INTDIR_CLI)\mtom_callback\ /c
$(LD) $(LDFLAGS) /FIXED:No $(AXIS2_INTDIR_CLI)\mtom_callback\*.obj $(AXUTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) \
$(AXIS2_ENGINE).lib /OUT:$(AXIS2_SAMPLES_BIN)\mtom_callback.exe
-@$(_VC_MANIFEST_EMBED_EXE)
axis2_client_mtom_callback: $(AXIS2_SAMPLES_BIN)\mtom_callback.exe
$(AXIS2_SAMPLES_BIN)\ntlm.exe :
$(CC) $(CFLAGS) $(AXIS2_SOURCE_DIR)\samples\client\ntlm\ntlm_post.c \
$(AXIS2_SOURCE_DIR)\samples\client\ntlm\ntlm_util.c /Fo$(AXIS2_INTDIR_CLI)\ntlm\ /c
$(LD) $(LDFLAGS) /FIXED:No $(AXIS2_INTDIR_CLI)\ntlm\*.obj $(AXUTIL).lib $(AXIOM).lib \
$(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib /OUT:$(AXIS2_SAMPLES_BIN)\ntlm.exe
-@$(_VC_MANIFEST_EMBED_EXE)
axis2_client_ntlm: $(AXIS2_SAMPLES_BIN)\ntlm.exe
$(AXIS2_SAMPLES_BIN)\ntlm_postcheck.exe :
$(CC) $(CFLAGS) $(AXIS2_SOURCE_DIR)\samples\client\ntlm\ntlm_post_with_check.c \
$(AXIS2_SOURCE_DIR)\samples\client\ntlm\ntlm_util.c /Fo$(AXIS2_INTDIR_CLI)\ntlm_postcheck\ /c
$(LD) $(LDFLAGS) /FIXED:No $(AXIS2_INTDIR_CLI)\ntlm_postcheck\*.obj $(AXUTIL).lib $(AXIOM).lib \
$(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib /OUT:$(AXIS2_SAMPLES_BIN)\ntlm_postcheck.exe
-@$(_VC_MANIFEST_EMBED_EXE)
axis2_client_ntlmpost: $(AXIS2_SAMPLES_BIN)\ntlm_postcheck.exe
axis2_client_userguide_int:
@if not exist $(AXIS2_INTDIR)\userguide\echo_blocking mkdir $(AXIS2_INTDIR)\userguide\echo_blocking
@if not exist $(AXIS2_INTDIR)\userguide\echo_non_blocking mkdir $(AXIS2_INTDIR)\userguide\echo_non_blocking
@if not exist $(AXIS2_INTDIR)\userguide\echo_blocking_addr mkdir $(AXIS2_INTDIR)\userguide\echo_blocking_addr
@if not exist $(AXIS2_INTDIR)\userguide\echo_rest mkdir $(AXIS2_INTDIR)\userguide\echo_rest
@if not exist $(AXIS2_INTDIR)\userguide\echo_blocking_dual mkdir $(AXIS2_INTDIR)\userguide\echo_blocking_dual
@if not exist $(AXIS2_INTDIR)\userguide\echo_non_blocking_dual mkdir $(AXIS2_INTDIR)\userguide\echo_non_blocking_dual
@if not exist $(AXIS2_INTDIR)\userguide\echo_blocking_soap11 mkdir $(AXIS2_INTDIR)\userguide\echo_blocking_soap11
@if not exist $(AXIS2_INTDIR)\userguide\echo_blocking_auth mkdir $(AXIS2_INTDIR)\userguide\echo_blocking_auth
$(AXIS2_SAMPLES_BIN)\echo_blocking.exe :
$(CC) $(CFLAGS) $(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_blocking.c \
$(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_util.c /Fo$(AXIS2_INTDIR)\userguide\echo_blocking\ /c
$(LD) $(LDFLAGS) /FIXED:No $(AXIS2_INTDIR)\userguide\echo_blocking\*.obj $(AXUTIL).lib \
$(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib /OUT:$(AXIS2_SAMPLES_BIN)\echo_blocking.exe
-@$(_VC_MANIFEST_EMBED_EXE)
$(AXIS2_SAMPLES_BIN)\echo_non_blocking.exe :
$(CC) $(CFLAGS) $(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_non_blocking.c \
$(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_util.c /Fo$(AXIS2_INTDIR)\userguide\echo_non_blocking\ /c
$(LD) $(LDFLAGS) /FIXED:No $(AXIS2_INTDIR)\userguide\echo_non_blocking\*.obj $(AXUTIL).lib \
$(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib \
/OUT:$(AXIS2_SAMPLES_BIN)\echo_non_blocking.exe
-@$(_VC_MANIFEST_EMBED_EXE)
$(AXIS2_SAMPLES_BIN)\echo_blocking_addr.exe :
$(CC) $(CFLAGS) $(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_blocking_addr.c \
$(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_util.c /Fo$(AXIS2_INTDIR)\userguide\echo_blocking_addr\ /c
$(LD) $(LDFLAGS) /FIXED:No $(AXIS2_INTDIR)\userguide\echo_blocking_addr\*.obj $(AXUTIL).lib \
$(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib \
/OUT:$(AXIS2_SAMPLES_BIN)\echo_blocking_addr.exe
-@$(_VC_MANIFEST_EMBED_EXE)
$(AXIS2_SAMPLES_BIN)\echo_rest.exe :
$(CC) $(CFLAGS) $(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_rest.c \
$(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_util.c /Fo$(AXIS2_INTDIR)\userguide\echo_rest\ /c
$(LD) $(LDFLAGS) /FIXED:No $(AXIS2_INTDIR)\userguide\echo_rest\*.obj $(AXUTIL).lib \
$(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib \
/OUT:$(AXIS2_SAMPLES_BIN)\echo_rest.exe
-@$(_VC_MANIFEST_EMBED_EXE)
$(AXIS2_SAMPLES_BIN)\echo_blocking_dual.exe :
$(CC) $(CFLAGS) $(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_blocking_dual.c \
$(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_util.c /Fo$(AXIS2_INTDIR)\userguide\echo_blocking_dual\ /c
$(LD) $(LDFLAGS) /FIXED:No $(AXIS2_INTDIR)\userguide\echo_blocking_dual\*.obj $(AXUTIL).lib \
$(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib /OUT:$(AXIS2_SAMPLES_BIN)\echo_blocking_dual.exe
-@$(_VC_MANIFEST_EMBED_EXE)
$(AXIS2_SAMPLES_BIN)\echo_non_blocking_dual.exe :
$(CC) $(CFLAGS) $(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_non_blocking_dual.c \
$(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_util.c /Fo$(AXIS2_INTDIR)\userguide\echo_non_blocking_dual\ /c
$(LD) $(LDFLAGS) /FIXED:No $(AXIS2_INTDIR)\userguide\echo_non_blocking_dual\*.obj $(AXUTIL).lib \
$(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib \
/OUT:$(AXIS2_SAMPLES_BIN)\echo_non_blocking_dual.exe
-@$(_VC_MANIFEST_EMBED_EXE)
$(AXIS2_SAMPLES_BIN)\echo_blocking_soap11.exe :
$(CC) $(CFLAGS) $(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_blocking_soap11.c \
$(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_util.c /Fo$(AXIS2_INTDIR)\userguide\echo_blocking_soap11\ /c
$(LD) $(LDFLAGS) /FIXED:No $(AXIS2_INTDIR)\userguide\echo_blocking_soap11\*.obj $(AXUTIL).lib \
$(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) \
$(AXIS2_ENGINE).lib /OUT:$(AXIS2_SAMPLES_BIN)\echo_blocking_soap11.exe
-@$(_VC_MANIFEST_EMBED_EXE)
$(AXIS2_SAMPLES_BIN)\echo_blocking_auth.exe :
$(CC) $(CFLAGS) $(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_blocking_auth.c \
$(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_util.c /Fo$(AXIS2_INTDIR)\userguide\echo_blocking_auth\ /c
$(LD) $(LDFLAGS) /FIXED:No $(AXIS2_INTDIR)\userguide\echo_blocking_auth\*.obj $(AXUTIL).lib \
$(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) \
$(AXIS2_ENGINE).lib /OUT:$(AXIS2_SAMPLES_BIN)\echo_blocking_auth.exe
-@$(_VC_MANIFEST_EMBED_EXE)
################ callbacks ###################
AXIS2_INTDIR_CALLBACK = $(AXIS2_INTDIR)\samples\callback
MTOM_SENDING_CALLBACK_SRC = $(AXIS2_SOURCE_DIR)\samples\mtom_sending_callback
MTOM_SENDING_CALLBACK_INTDIR = $(AXIS2_INTDIR_CALLBACK)\mtom_sending_callback
MTOM_SENDING_CALLBACK_OBJS = $(MTOM_SENDING_CALLBACK_INTDIR)\*.obj
AXIS2_SAMPLES_LIB = $(AXIS2_BINDIR)\samples\lib
$(MTOM_SENDING_CALLBACK_INTDIR) :
@if not exist $(AXIS2_INTDIR_CALLBACK) mkdir $(AXIS2_INTDIR_CALLBACK)
@if not exist $(MTOM_SENDING_CALLBACK_INTDIR) mkdir $(MTOM_SENDING_CALLBACK_INTDIR)
@if not exist $(AXIS2_SAMPLES_LIB)\mtom_sending_callback mkdir $(AXIS2_SAMPLES_LIB)\mtom_sending_callback
{$(MTOM_SENDING_CALLBACK_SRC)}.c{$(MTOM_SENDING_CALLBACK_INTDIR)}.obj ::
$(CC) $(CFLAGS) /Fo$(MTOM_SENDING_CALLBACK_INTDIR)\ /c $<
$(MTOM_SENDING_CALLBACK_OBJS) : $(MTOM_SENDING_CALLBACK_INTDIR)
$(AXIS2_SAMPLES_LIB)\mtom_sending_callback\mtom_sending_callback.dll : $(MTOM_SENDING_CALLBACK_OBJS)
$(LD) $(LDFLAGS) /FIXED:No $(MTOM_SENDING_CALLBACK_OBJS) $(AXUTIL).lib $(AXIOM).lib \
$(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib /DLL /OUT:$(AXIS2_SAMPLES_LIB)\mtom_sending_callback\mtom_sending_callback.dll
-@$(_VC_MANIFEST_EMBED_DLL)
axis2_mtom_sending_callback: $(AXIS2_SAMPLES_LIB)\mtom_sending_callback\mtom_sending_callback.dll
MTOM_CACHING_CALLBACK_SRC = $(AXIS2_SOURCE_DIR)\samples\mtom_caching_callback
MTOM_CACHING_CALLBACK_INTDIR = $(AXIS2_INTDIR_CALLBACK)\mtom_caching_callback
MTOM_CACHING_CALLBACK_OBJS = $(MTOM_CACHING_CALLBACK_INTDIR)\*.obj
$(MTOM_CACHING_CALLBACK_INTDIR) :
@if not exist $(AXIS2_INTDIR_CALLBACK) mkdir $(AXIS2_INTDIR_CALLBACK)
@if not exist $(MTOM_CACHING_CALLBACK_INTDIR) mkdir $(MTOM_CACHING_CALLBACK_INTDIR)
@if not exist $(AXIS2_SAMPLES_LIB)\mtom_caching_callback mkdir $(AXIS2_SAMPLES_LIB)\mtom_caching_callback
{$(MTOM_CACHING_CALLBACK_SRC)}.c{$(MTOM_CACHING_CALLBACK_INTDIR)}.obj ::
$(CC) $(CFLAGS) /Fo$(MTOM_CACHING_CALLBACK_INTDIR)\ /c $<
$(MTOM_CACHING_CALLBACK_OBJS) : $(MTOM_CACHING_CALLBACK_INTDIR)
$(AXIS2_SAMPLES_LIB)\mtom_caching_callback\mtom_caching_callback.dll : $(MTOM_CACHING_CALLBACK_OBJS)
$(LD) $(LDFLAGS) /FIXED:No $(MTOM_CACHING_CALLBACK_OBJS) $(AXUTIL).lib $(AXIOM).lib \
$(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib /DLL /OUT:$(AXIS2_SAMPLES_LIB)\mtom_caching_callback\mtom_caching_callback.dll
-@$(_VC_MANIFEST_EMBED_DLL)
axis2_mtom_caching_callback: $(AXIS2_SAMPLES_LIB)\mtom_caching_callback\mtom_caching_callback.dll
axis2_client_userguide : axis2_client_userguide_int $(AXIS2_SAMPLES_BIN)\echo_blocking_soap11.exe \
$(AXIS2_SAMPLES_BIN)\echo_non_blocking_dual.exe $(AXIS2_SAMPLES_BIN)\echo_blocking.exe \
$(AXIS2_SAMPLES_BIN)\echo_blocking_dual.exe $(AXIS2_SAMPLES_BIN)\echo_rest.exe \
$(AXIS2_SAMPLES_BIN)\echo_blocking_addr.exe $(AXIS2_SAMPLES_BIN)\echo_non_blocking.exe \
$(AXIS2_SAMPLES_BIN)\echo_blocking_auth.exe
clean_manifest:
@del /s $(AXIS2_BINDIR)\*.manifest
copy_extra:
@copy $(AXIS2_SOURCE_DIR)\INSTALL $(AXIS2_BINDIR)
@copy $(AXIS2_SOURCE_DIR)\LICENSE $(AXIS2_BINDIR)
@copy $(AXIS2_SOURCE_DIR)\CREDITS $(AXIS2_BINDIR)
@copy $(AXIS2_SOURCE_DIR)\README $(AXIS2_BINDIR)
@copy $(AXIS2_SOURCE_DIR)\AUTHORS $(AXIS2_BINDIR)
@copy $(AXIS2_SOURCE_DIR)\NEWS $(AXIS2_BINDIR)
@copy $(AXIS2_SOURCE_DIR)\NOTICE $(AXIS2_BINDIR)
@copy $(AXIS2_SOURCE_DIR)\ChangeLog $(AXIS2_BINDIR)
@if exist $(AXIS2_SOURCE_DIR)\docs xcopy /E /I /Y $(AXIS2_SOURCE_DIR)\docs $(AXIS2_BINDIR)\docs
copy_samples:
@if not exist $(AXIS2_BINDIR)\samples mkdir $(AXIS2_BINDIR)\samples
@if not exist $(AXIS2_BINDIR)\samples\src mkdir $(AXIS2_BINDIR)\samples\src
@xcopy /E /I /Y $(AXIS2_SOURCE_DIR)\samples\client $(AXIS2_BINDIR)\samples\src\client
@xcopy /E /I /Y $(AXIS2_SOURCE_DIR)\samples\user_guide $(AXIS2_BINDIR)\samples\src\user_guide
@xcopy /E /I /Y $(AXIS2_SOURCE_DIR)\samples\codegen $(AXIS2_BINDIR)\samples\src\codegen
@xcopy /E /I /Y $(AXIS2_SOURCE_DIR)\samples\server $(AXIS2_BINDIR)\samples\src\server
@xcopy /E /I /Y $(AXIS2_SOURCE_DIR)\samples\mtom_caching_callback $(AXIS2_BINDIR)\samples\src\mtom_caching_callback
@xcopy /E /I /Y $(AXIS2_SOURCE_DIR)\samples\mtom_sending_callback $(AXIS2_BINDIR)\samples\src\mtom_sending_callback
@cd $(AXIS2_BINDIR)\samples\src
@del /s /q *.am
@cd .\..\..\..\win32
copy_include:
@xcopy /E /I /Y $(AXIS2_SOURCE_DIR)\include $(AXIS2_BINDIR)\include
@xcopy /E /I /Y $(AXIS2_SOURCE_DIR)\axiom\include $(AXIS2_BINDIR)\include
@xcopy /E /I /Y $(AXIS2_SOURCE_DIR)\util\include $(AXIS2_BINDIR)\include
@xcopy /E /I /Y $(AXIS2_SOURCE_DIR)\neethi\include $(AXIS2_BINDIR)\include
@if exist $(AXIS2_BINDIR)\include\Makefile.am del $(AXIS2_BINDIR)\include\Makefile.am
copy_vc_projects:
@if not exist $(AXIS2_BINDIR)\ides mkdir $(AXIS2_BINDIR)\ides
@if not exist $(AXIS2_BINDIR)\ides\vc\samples mkdir $(AXIS2_BINDIR)\ides\vc\samples
@xcopy /E /I /Y $(AXIS2_SOURCE_DIR)\ides\vc\samples $(AXIS2_BINDIR)\ides\vc\samples
copy_wsdl2c:
if not exist $(AXIS2_BINDIR)\bin\tools\wsdl2c mkdir $(AXIS2_BINDIR)\bin\tools\wsdl2c
@copy $(AXIS2_SOURCE_DIR)\tools\codegen\javatool\README $(AXIS2_BINDIR)\bin\tools\wsdl2c
@copy $(AXIS2_SOURCE_DIR)\tools\codegen\javatool\WSDL2C.bat $(AXIS2_BINDIR)\bin\tools\wsdl2c
@copy $(AXIS2_SOURCE_DIR)\tools\codegen\javatool\WSDL2C.sh $(AXIS2_BINDIR)\bin\tools\wsdl2c
mv_dist:
cd $(AXIS2_BINDIR)
cd ..
@if exist $(AXIS2_RELEASE_DIR) rmdir /S /Q $(AXIS2_RELEASE_DIR)
@xcopy /Y /E /I deploy $(AXIS2_RELEASE_DIR)
all_services: axis2_services_echo axis2_services_math axis2_services_session axis2_services_version axis2_services_notify axis2_services_sg_math axis2_services_mtom axis2_services_mtom_callback axis2_services_calculator
all_clients: axis2_clients_intdir axis2_client_echo axis2_client_math axis2_client_session axis2_client_version axis2_client_google_spell axis2_client_yahoo axis2_client_notify axis2_client_mtom axis2_client_mtom_callback axis2_client_userguide axis2_client_ntlm axis2_client_ntlmpost
all_callback: axis2_mtom_sending_callback axis2_mtom_caching_callback
axis2_samples: axis2_mod_log all_services all_clients all_callback
axis2_server_modules: axis2_apache_module axis2_IIS_module
################ tools ###################
# tcpmon
TCPMON_SRC = $(AXIS2_SOURCE_DIR)\tools\tcpmon\src
TCPMON_INTDIR = $(AXIS2_INTDIR)\tools\tcpmon
TCPMON_OBJS = $(TCPMON_INTDIR)\*.obj
$(TCPMON_INTDIR) :
@if not exist $(TCPMON_INTDIR) mkdir $(TCPMON_INTDIR)
{$(TCPMON_SRC)}.c{$(TCPMON_INTDIR)}.obj ::
$(CC) $(CFLAGS) /I $(TCPMON_INTDIR)\include /Fo$(TCPMON_INTDIR)\ /c $<
$(TCPMON_OBJS) : $(TCPMON_INTDIR)
$(AXIS2_TOOLS)\tcpmon.exe : $(TCPMON_OBJS)
@if not exist $(AXIS2_TOOLS) mkdir $(AXIS2_TOOLS)
$(LD) $(LDFLAGS) $(TCPMON_OBJS) $(AXUTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib /OUT:$(AXIS2_TOOLS)\tcpmon.exe
-@$(_VC_MANIFEST_EMBED_EXE)
tcpmon: $(AXIS2_TOOLS)\tcpmon.exe
#########################################
#Copy axis2 xml
copy_axis2_xml:
@copy $(AXIS2_SOURCE_DIR)\samples\server\axis2.xml $(AXIS2_BINDIR)\
#########################################
build: deploy axis2_core axis2_samples copy_include
!if "$(WITH_TCP)" == "1"
all: build axis2_tcp
!else
all: build
!endif
##############################################################################################
install: all copy_extra copy_wsdl2c
dist: install axis2_apache_module axis2_IIS_module axis2_cgi tcpmon copy_samples copy_vc_projects clean_manifest mv_dist
dist_as_lib : deploy axis2_core_without_server copy_axis2_xml copy_include clean_manifest mv_dist
|