summaryrefslogtreecommitdiffhomepage
path: root/project/clbuild.bat
blob: 8fa09052b7244f25cd5d0f93276a43580dcb55d7 (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
@echo on
@dir . > nul


REM override variables either here or from the shell
set source_dir=%source_dir%
set sysroot=%sysroot%


if not exist bin                 mkdir bin
if not exist lib                 mkdir lib
if not exist src                 mkdir src
if not exist src\argv            mkdir src\argv
if not exist src\blitter         mkdir src\blitter
if not exist src\daemon          mkdir src\daemon
if not exist src\fs              mkdir src\fs
if not exist src\guid            mkdir src\guid
if not exist src\hash            mkdir src\hash
if not exist src\internal        mkdir src\internal
if not exist src\ipc             mkdir src\ipc
if not exist src\ldr             mkdir src\ldr
if not exist src\object          mkdir src\object
if not exist src\port            mkdir src\port
if not exist src\process         mkdir src\process
if not exist src\pty             mkdir src\pty
if not exist src\section         mkdir src\section
if not exist src\socket          mkdir src\socket
if not exist src\string          mkdir src\string
if not exist src\sync            mkdir src\sync
if not exist src\system          mkdir src\system
if not exist src\thread          mkdir src\thread
if not exist src\token           mkdir src\token
if not exist src\tty             mkdir src\tty
if not exist src\unicode         mkdir src\unicode
if not exist src\vfd             mkdir src\vfd

@if %errorlevel% neq 0 exit /b %errorlevel%

ml64 /nologo /Fo src/process/tt_fork_v1.lo /c %source_dir%/src/process/nt64/tt_fork_v1.asm

@if %errorlevel% neq 0 exit /b %errorlevel%

ml64 /nologo /Fo src/process/tt_fork_v1.o /c %source_dir%/src/process/nt64/tt_fork_v1.asm

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/argv/ntapi_tt_argv_envp.lo %source_dir%/src/argv/ntapi_tt_argv_envp.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/argv/ntapi_tt_array_utf16.lo %source_dir%/src/argv/ntapi_tt_array_utf16.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/argv/ntapi_tt_array_utf8.lo %source_dir%/src/argv/ntapi_tt_array_utf8.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/argv/ntapi_tt_env_vars.lo %source_dir%/src/argv/ntapi_tt_env_vars.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/blitter/ntapi_blt_alloc.lo %source_dir%/src/blitter/ntapi_blt_alloc.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/blitter/ntapi_blt_block.lo %source_dir%/src/blitter/ntapi_blt_block.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/blitter/ntapi_blt_free.lo %source_dir%/src/blitter/ntapi_blt_free.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/daemon/ntapi_dsr_init.lo %source_dir%/src/daemon/ntapi_dsr_init.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/daemon/ntapi_dsr_internal_connection.lo %source_dir%/src/daemon/ntapi_dsr_internal_connection.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/fs/ntapi_tt_get_file_handle_type.lo %source_dir%/src/fs/ntapi_tt_get_file_handle_type.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/fs/ntapi_tt_istat.lo %source_dir%/src/fs/ntapi_tt_istat.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/fs/ntapi_tt_mount.lo %source_dir%/src/fs/ntapi_tt_mount.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/fs/ntapi_tt_open_logical_parent_directory.lo %source_dir%/src/fs/ntapi_tt_open_logical_parent_directory.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/fs/ntapi_tt_open_physical_parent_directory.lo %source_dir%/src/fs/ntapi_tt_open_physical_parent_directory.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/fs/ntapi_tt_stat.lo %source_dir%/src/fs/ntapi_tt_stat.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/fs/ntapi_tt_statfs.lo %source_dir%/src/fs/ntapi_tt_statfs.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/guid/ntapi_tt_guid.lo %source_dir%/src/guid/ntapi_tt_guid.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/hash/ntapi_tt_crc32.lo %source_dir%/src/hash/ntapi_tt_crc32.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/hash/ntapi_tt_populate_hashed_import_table.lo %source_dir%/src/hash/ntapi_tt_populate_hashed_import_table.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/internal/ntapi.lo %source_dir%/src/internal/ntapi.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/internal/ntapi_debug.lo %source_dir%/src/internal/ntapi_debug.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/internal/ntapi_entry_point.lo %source_dir%/src/internal/ntapi_entry_point.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/internal/ntapi_open.lo %source_dir%/src/internal/ntapi_open.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/ipc/ntapi_tt_create_pipe_v1.lo %source_dir%/src/ipc/ntapi_tt_create_pipe_v1.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/ipc/ntapi_tt_create_pipe_v2.lo %source_dir%/src/ipc/ntapi_tt_create_pipe_v2.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/ldr/ntapi_ldr_create_state_snapshot.lo %source_dir%/src/ldr/ntapi_ldr_create_state_snapshot.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/ldr/ntapi_ldr_load_system_dll.lo %source_dir%/src/ldr/ntapi_ldr_load_system_dll.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/ldr/ntapi_ldr_revert_state_to_snapshot.lo %source_dir%/src/ldr/ntapi_ldr_revert_state_to_snapshot.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/object/ntapi_tt_keyed_object_directory.lo %source_dir%/src/object/ntapi_tt_keyed_object_directory.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/port/ntapi_port_name_helper.lo %source_dir%/src/port/ntapi_port_name_helper.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/process/ntapi_tt_create_native_process_v1.lo %source_dir%/src/process/ntapi_tt_create_native_process_v1.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/process/ntapi_tt_create_native_process_v2.lo %source_dir%/src/process/ntapi_tt_create_native_process_v2.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/process/ntapi_tt_create_remote_process_params.lo %source_dir%/src/process/ntapi_tt_create_remote_process_params.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/process/ntapi_tt_create_remote_runtime_data.lo %source_dir%/src/process/ntapi_tt_create_remote_runtime_data.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/process/ntapi_tt_fork.lo %source_dir%/src/process/ntapi_tt_fork.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/process/ntapi_tt_fork_v1.lo %source_dir%/src/process/ntapi_tt_fork_v1.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/process/ntapi_tt_fork_v2.lo %source_dir%/src/process/ntapi_tt_fork_v2.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/process/ntapi_tt_get_runtime_data.lo %source_dir%/src/process/ntapi_tt_get_runtime_data.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/process/ntapi_tt_init_runtime_data.lo %source_dir%/src/process/ntapi_tt_init_runtime_data.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/process/ntapi_tt_map_image_as_data.lo %source_dir%/src/process/ntapi_tt_map_image_as_data.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/process/ntapi_tt_spawn_native_process.lo %source_dir%/src/process/ntapi_tt_spawn_native_process.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/pty/ntapi_pty_cancel.lo %source_dir%/src/pty/ntapi_pty_cancel.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/pty/ntapi_pty_fd.lo %source_dir%/src/pty/ntapi_pty_fd.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/pty/ntapi_pty_io.lo %source_dir%/src/pty/ntapi_pty_io.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/pty/ntapi_pty_ioctl.lo %source_dir%/src/pty/ntapi_pty_ioctl.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/pty/ntapi_pty_query.lo %source_dir%/src/pty/ntapi_pty_query.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/pty/ntapi_pty_set.lo %source_dir%/src/pty/ntapi_pty_set.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/section/ntapi_tt_get_section_name.lo %source_dir%/src/section/ntapi_tt_get_section_name.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_accept.lo %source_dir%/src/socket/ntapi_sc_accept.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_bind_v1.lo %source_dir%/src/socket/ntapi_sc_bind_v1.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_bind_v2.lo %source_dir%/src/socket/ntapi_sc_bind_v2.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_connect_v1.lo %source_dir%/src/socket/ntapi_sc_connect_v1.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_connect_v2.lo %source_dir%/src/socket/ntapi_sc_connect_v2.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_getpeername_v1.lo %source_dir%/src/socket/ntapi_sc_getpeername_v1.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_getpeername_v2.lo %source_dir%/src/socket/ntapi_sc_getpeername_v2.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_getsockname_v1.lo %source_dir%/src/socket/ntapi_sc_getsockname_v1.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_getsockname_v2.lo %source_dir%/src/socket/ntapi_sc_getsockname_v2.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_listen.lo %source_dir%/src/socket/ntapi_sc_listen.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_recv.lo %source_dir%/src/socket/ntapi_sc_recv.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_send.lo %source_dir%/src/socket/ntapi_sc_send.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_server_accept_connection_v1.lo %source_dir%/src/socket/ntapi_sc_server_accept_connection_v1.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_server_accept_connection_v2.lo %source_dir%/src/socket/ntapi_sc_server_accept_connection_v2.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_server_duplicate_socket.lo %source_dir%/src/socket/ntapi_sc_server_duplicate_socket.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_setsockopt.lo %source_dir%/src/socket/ntapi_sc_setsockopt.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_getsockopt.lo %source_dir%/src/socket/ntapi_sc_getsockopt.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_shutdown.lo %source_dir%/src/socket/ntapi_sc_shutdown.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_socket_v1.lo %source_dir%/src/socket/ntapi_sc_socket_v1.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_socket_v2.lo %source_dir%/src/socket/ntapi_sc_socket_v2.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_wait.lo %source_dir%/src/socket/ntapi_sc_wait.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/string/ntapi_tt_aligned_block_memcpy.lo %source_dir%/src/string/ntapi_tt_aligned_block_memcpy.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/string/ntapi_tt_aligned_block_memset.lo %source_dir%/src/string/ntapi_tt_aligned_block_memset.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/string/ntapi_tt_aligned_memcpy_utf16.lo %source_dir%/src/string/ntapi_tt_aligned_memcpy_utf16.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/string/ntapi_tt_hex_utf16_to_uintptr.lo %source_dir%/src/string/ntapi_tt_hex_utf16_to_uintptr.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/string/ntapi_tt_init_unicode_string_from_utf16.lo %source_dir%/src/string/ntapi_tt_init_unicode_string_from_utf16.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/string/ntapi_tt_memcpy_utf16.lo %source_dir%/src/string/ntapi_tt_memcpy_utf16.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/string/ntapi_tt_strcmp_multibyte.lo %source_dir%/src/string/ntapi_tt_strcmp_multibyte.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/string/ntapi_tt_strcmp_utf16.lo %source_dir%/src/string/ntapi_tt_strcmp_utf16.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/string/ntapi_tt_string_null_offset.lo %source_dir%/src/string/ntapi_tt_string_null_offset.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/string/ntapi_tt_strncmp_multibyte.lo %source_dir%/src/string/ntapi_tt_strncmp_multibyte.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/string/ntapi_tt_strncmp_utf16.lo %source_dir%/src/string/ntapi_tt_strncmp_utf16.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/string/ntapi_tt_uintptr_to_hex_utf16.lo %source_dir%/src/string/ntapi_tt_uintptr_to_hex_utf16.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/string/ntapi_tt_uintptr_to_hex_utf8.lo %source_dir%/src/string/ntapi_tt_uintptr_to_hex_utf8.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/sync/ntapi_tt_create_event.lo %source_dir%/src/sync/ntapi_tt_create_event.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/sync/ntapi_tt_sync_block.lo %source_dir%/src/sync/ntapi_tt_sync_block.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/sync/ntapi_tt_wait_for_dummy_event.lo %source_dir%/src/sync/ntapi_tt_wait_for_dummy_event.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/system/ntapi_tt_get_csr_port_handle_addr_by_logic.lo %source_dir%/src/system/ntapi_tt_get_csr_port_handle_addr_by_logic.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/system/ntapi_tt_get_system_directory.lo %source_dir%/src/system/ntapi_tt_get_system_directory.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/system/ntapi_tt_get_system_info_snapshot.lo %source_dir%/src/system/ntapi_tt_get_system_info_snapshot.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/thread/ntapi_tt_create_thread.lo %source_dir%/src/thread/ntapi_tt_create_thread.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/token/ntapi_tt_token_privilege.lo %source_dir%/src/token/ntapi_tt_token_privilege.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/tty/ntapi_tty_client_process_register.lo %source_dir%/src/tty/ntapi_tty_client_process_register.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/tty/ntapi_tty_client_session_query.lo %source_dir%/src/tty/ntapi_tty_client_session_query.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/tty/ntapi_tty_client_session_set.lo %source_dir%/src/tty/ntapi_tty_client_session_set.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/tty/ntapi_tty_connect.lo %source_dir%/src/tty/ntapi_tty_connect.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/tty/ntapi_tty_create_session.lo %source_dir%/src/tty/ntapi_tty_create_session.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/tty/ntapi_tty_join_session.lo %source_dir%/src/tty/ntapi_tty_join_session.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/tty/ntapi_tty_query_information_server.lo %source_dir%/src/tty/ntapi_tty_query_information_server.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/tty/ntapi_tty_request_peer.lo %source_dir%/src/tty/ntapi_tty_request_peer.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/tty/ntapi_tty_vms_query.lo %source_dir%/src/tty/ntapi_tty_vms_query.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/tty/ntapi_tty_vms_request.lo %source_dir%/src/tty/ntapi_tty_vms_request.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/unicode/ntapi_uc_unicode_conversion_from_utf16.lo %source_dir%/src/unicode/ntapi_uc_unicode_conversion_from_utf16.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/unicode/ntapi_uc_unicode_conversion_from_utf8.lo %source_dir%/src/unicode/ntapi_uc_unicode_conversion_from_utf8.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/unicode/ntapi_uc_unicode_validation.lo %source_dir%/src/unicode/ntapi_uc_unicode_validation.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/vfd/ntapi_vfd_helper.lo %source_dir%/src/vfd/ntapi_vfd_helper.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_EXPORT -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/argv/ntapi_tt_argv_envp.o %source_dir%/src/argv/ntapi_tt_argv_envp.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/argv/ntapi_tt_array_utf16.o %source_dir%/src/argv/ntapi_tt_array_utf16.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/argv/ntapi_tt_array_utf8.o %source_dir%/src/argv/ntapi_tt_array_utf8.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/argv/ntapi_tt_env_vars.o %source_dir%/src/argv/ntapi_tt_env_vars.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/blitter/ntapi_blt_alloc.o %source_dir%/src/blitter/ntapi_blt_alloc.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/blitter/ntapi_blt_block.o %source_dir%/src/blitter/ntapi_blt_block.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/blitter/ntapi_blt_free.o %source_dir%/src/blitter/ntapi_blt_free.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/daemon/ntapi_dsr_init.o %source_dir%/src/daemon/ntapi_dsr_init.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/daemon/ntapi_dsr_internal_connection.o %source_dir%/src/daemon/ntapi_dsr_internal_connection.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/fs/ntapi_tt_get_file_handle_type.o %source_dir%/src/fs/ntapi_tt_get_file_handle_type.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/fs/ntapi_tt_istat.o %source_dir%/src/fs/ntapi_tt_istat.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/fs/ntapi_tt_mount.o %source_dir%/src/fs/ntapi_tt_mount.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/fs/ntapi_tt_open_logical_parent_directory.o %source_dir%/src/fs/ntapi_tt_open_logical_parent_directory.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/fs/ntapi_tt_open_physical_parent_directory.o %source_dir%/src/fs/ntapi_tt_open_physical_parent_directory.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/fs/ntapi_tt_stat.o %source_dir%/src/fs/ntapi_tt_stat.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/fs/ntapi_tt_statfs.o %source_dir%/src/fs/ntapi_tt_statfs.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/guid/ntapi_tt_guid.o %source_dir%/src/guid/ntapi_tt_guid.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/hash/ntapi_tt_crc32.o %source_dir%/src/hash/ntapi_tt_crc32.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/hash/ntapi_tt_populate_hashed_import_table.o %source_dir%/src/hash/ntapi_tt_populate_hashed_import_table.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/internal/ntapi.o %source_dir%/src/internal/ntapi.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/internal/ntapi_debug.o %source_dir%/src/internal/ntapi_debug.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/internal/ntapi_entry_point.o %source_dir%/src/internal/ntapi_entry_point.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/internal/ntapi_open.o %source_dir%/src/internal/ntapi_open.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/ipc/ntapi_tt_create_pipe_v1.o %source_dir%/src/ipc/ntapi_tt_create_pipe_v1.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/ipc/ntapi_tt_create_pipe_v2.o %source_dir%/src/ipc/ntapi_tt_create_pipe_v2.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/ldr/ntapi_ldr_create_state_snapshot.o %source_dir%/src/ldr/ntapi_ldr_create_state_snapshot.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/ldr/ntapi_ldr_load_system_dll.o %source_dir%/src/ldr/ntapi_ldr_load_system_dll.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/ldr/ntapi_ldr_revert_state_to_snapshot.o %source_dir%/src/ldr/ntapi_ldr_revert_state_to_snapshot.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/object/ntapi_tt_keyed_object_directory.o %source_dir%/src/object/ntapi_tt_keyed_object_directory.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/port/ntapi_port_name_helper.o %source_dir%/src/port/ntapi_port_name_helper.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/process/ntapi_tt_create_native_process_v1.o %source_dir%/src/process/ntapi_tt_create_native_process_v1.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/process/ntapi_tt_create_native_process_v2.o %source_dir%/src/process/ntapi_tt_create_native_process_v2.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/process/ntapi_tt_create_remote_process_params.o %source_dir%/src/process/ntapi_tt_create_remote_process_params.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/process/ntapi_tt_create_remote_runtime_data.o %source_dir%/src/process/ntapi_tt_create_remote_runtime_data.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/process/ntapi_tt_fork.o %source_dir%/src/process/ntapi_tt_fork.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/process/ntapi_tt_fork_v1.o %source_dir%/src/process/ntapi_tt_fork_v1.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/process/ntapi_tt_fork_v2.o %source_dir%/src/process/ntapi_tt_fork_v2.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/process/ntapi_tt_get_runtime_data.o %source_dir%/src/process/ntapi_tt_get_runtime_data.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/process/ntapi_tt_init_runtime_data.o %source_dir%/src/process/ntapi_tt_init_runtime_data.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/process/ntapi_tt_map_image_as_data.o %source_dir%/src/process/ntapi_tt_map_image_as_data.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/process/ntapi_tt_spawn_native_process.o %source_dir%/src/process/ntapi_tt_spawn_native_process.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/pty/ntapi_pty_cancel.o %source_dir%/src/pty/ntapi_pty_cancel.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/pty/ntapi_pty_fd.o %source_dir%/src/pty/ntapi_pty_fd.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/pty/ntapi_pty_io.o %source_dir%/src/pty/ntapi_pty_io.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/pty/ntapi_pty_ioctl.o %source_dir%/src/pty/ntapi_pty_ioctl.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/pty/ntapi_pty_query.o %source_dir%/src/pty/ntapi_pty_query.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/pty/ntapi_pty_set.o %source_dir%/src/pty/ntapi_pty_set.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/section/ntapi_tt_get_section_name.o %source_dir%/src/section/ntapi_tt_get_section_name.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_accept.o %source_dir%/src/socket/ntapi_sc_accept.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_bind_v1.o %source_dir%/src/socket/ntapi_sc_bind_v1.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_bind_v2.o %source_dir%/src/socket/ntapi_sc_bind_v2.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_connect_v1.o %source_dir%/src/socket/ntapi_sc_connect_v1.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_connect_v2.o %source_dir%/src/socket/ntapi_sc_connect_v2.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_getpeername_v1.o %source_dir%/src/socket/ntapi_sc_getpeername_v1.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_getpeername_v2.o %source_dir%/src/socket/ntapi_sc_getpeername_v2.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_getsockname_v1.o %source_dir%/src/socket/ntapi_sc_getsockname_v1.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_getsockname_v2.o %source_dir%/src/socket/ntapi_sc_getsockname_v2.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_listen.o %source_dir%/src/socket/ntapi_sc_listen.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_recv.o %source_dir%/src/socket/ntapi_sc_recv.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_send.o %source_dir%/src/socket/ntapi_sc_send.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_server_accept_connection_v1.o %source_dir%/src/socket/ntapi_sc_server_accept_connection_v1.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_server_accept_connection_v2.o %source_dir%/src/socket/ntapi_sc_server_accept_connection_v2.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_server_duplicate_socket.o %source_dir%/src/socket/ntapi_sc_server_duplicate_socket.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_setsockopt.o %source_dir%/src/socket/ntapi_sc_setsockopt.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_getsockopt.o %source_dir%/src/socket/ntapi_sc_getsockopt.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_shutdown.o %source_dir%/src/socket/ntapi_sc_shutdown.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_socket_v1.o %source_dir%/src/socket/ntapi_sc_socket_v1.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_socket_v2.o %source_dir%/src/socket/ntapi_sc_socket_v2.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/socket/ntapi_sc_wait.o %source_dir%/src/socket/ntapi_sc_wait.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/string/ntapi_tt_aligned_block_memcpy.o %source_dir%/src/string/ntapi_tt_aligned_block_memcpy.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/string/ntapi_tt_aligned_block_memset.o %source_dir%/src/string/ntapi_tt_aligned_block_memset.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/string/ntapi_tt_aligned_memcpy_utf16.o %source_dir%/src/string/ntapi_tt_aligned_memcpy_utf16.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/string/ntapi_tt_hex_utf16_to_uintptr.o %source_dir%/src/string/ntapi_tt_hex_utf16_to_uintptr.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/string/ntapi_tt_init_unicode_string_from_utf16.o %source_dir%/src/string/ntapi_tt_init_unicode_string_from_utf16.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/string/ntapi_tt_memcpy_utf16.o %source_dir%/src/string/ntapi_tt_memcpy_utf16.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/string/ntapi_tt_strcmp_multibyte.o %source_dir%/src/string/ntapi_tt_strcmp_multibyte.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/string/ntapi_tt_strcmp_utf16.o %source_dir%/src/string/ntapi_tt_strcmp_utf16.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/string/ntapi_tt_string_null_offset.o %source_dir%/src/string/ntapi_tt_string_null_offset.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/string/ntapi_tt_strncmp_multibyte.o %source_dir%/src/string/ntapi_tt_strncmp_multibyte.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/string/ntapi_tt_strncmp_utf16.o %source_dir%/src/string/ntapi_tt_strncmp_utf16.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/string/ntapi_tt_uintptr_to_hex_utf16.o %source_dir%/src/string/ntapi_tt_uintptr_to_hex_utf16.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/string/ntapi_tt_uintptr_to_hex_utf8.o %source_dir%/src/string/ntapi_tt_uintptr_to_hex_utf8.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/sync/ntapi_tt_create_event.o %source_dir%/src/sync/ntapi_tt_create_event.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/sync/ntapi_tt_sync_block.o %source_dir%/src/sync/ntapi_tt_sync_block.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/sync/ntapi_tt_wait_for_dummy_event.o %source_dir%/src/sync/ntapi_tt_wait_for_dummy_event.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/system/ntapi_tt_get_csr_port_handle_addr_by_logic.o %source_dir%/src/system/ntapi_tt_get_csr_port_handle_addr_by_logic.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/system/ntapi_tt_get_system_directory.o %source_dir%/src/system/ntapi_tt_get_system_directory.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/system/ntapi_tt_get_system_info_snapshot.o %source_dir%/src/system/ntapi_tt_get_system_info_snapshot.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/thread/ntapi_tt_create_thread.o %source_dir%/src/thread/ntapi_tt_create_thread.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/token/ntapi_tt_token_privilege.o %source_dir%/src/token/ntapi_tt_token_privilege.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/tty/ntapi_tty_client_process_register.o %source_dir%/src/tty/ntapi_tty_client_process_register.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/tty/ntapi_tty_client_session_query.o %source_dir%/src/tty/ntapi_tty_client_session_query.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/tty/ntapi_tty_client_session_set.o %source_dir%/src/tty/ntapi_tty_client_session_set.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/tty/ntapi_tty_connect.o %source_dir%/src/tty/ntapi_tty_connect.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/tty/ntapi_tty_create_session.o %source_dir%/src/tty/ntapi_tty_create_session.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/tty/ntapi_tty_join_session.o %source_dir%/src/tty/ntapi_tty_join_session.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/tty/ntapi_tty_query_information_server.o %source_dir%/src/tty/ntapi_tty_query_information_server.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/tty/ntapi_tty_request_peer.o %source_dir%/src/tty/ntapi_tty_request_peer.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/tty/ntapi_tty_vms_query.o %source_dir%/src/tty/ntapi_tty_vms_query.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/tty/ntapi_tty_vms_request.o %source_dir%/src/tty/ntapi_tty_vms_request.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/unicode/ntapi_uc_unicode_conversion_from_utf16.o %source_dir%/src/unicode/ntapi_uc_unicode_conversion_from_utf16.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/unicode/ntapi_uc_unicode_conversion_from_utf8.o %source_dir%/src/unicode/ntapi_uc_unicode_conversion_from_utf8.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/unicode/ntapi_uc_unicode_validation.o %source_dir%/src/unicode/ntapi_uc_unicode_validation.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%

cl /nologo -c /Fo:src/vfd/ntapi_vfd_helper.o %source_dir%/src/vfd/ntapi_vfd_helper.c /Zi /Od   -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__   /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild      -DNTAPI_TAG_VER_MAJOR=0 -DNTAPI_TAG_VER_MINOR=0 -DNTAPI_TAG_VER_PATCH=0 /Wall /WX /Wall       -DNTAPI_STATIC -I%sysroot%/include

@if %errorlevel% neq 0 exit /b %errorlevel%


@echo.
@echo clbuild: successfully built: shared-objs static-objs app-objs.
@echo.

lib /out:lib/libntapi.a src/argv/ntapi_tt_argv_envp.o src/argv/ntapi_tt_array_utf16.o src/argv/ntapi_tt_array_utf8.o src/argv/ntapi_tt_env_vars.o src/blitter/ntapi_blt_alloc.o src/blitter/ntapi_blt_block.o src/blitter/ntapi_blt_free.o src/daemon/ntapi_dsr_init.o src/daemon/ntapi_dsr_internal_connection.o src/fs/ntapi_tt_get_file_handle_type.o src/fs/ntapi_tt_istat.o src/fs/ntapi_tt_mount.o src/fs/ntapi_tt_open_logical_parent_directory.o src/fs/ntapi_tt_open_physical_parent_directory.o src/fs/ntapi_tt_stat.o src/fs/ntapi_tt_statfs.o src/guid/ntapi_tt_guid.o src/hash/ntapi_tt_crc32.o src/hash/ntapi_tt_populate_hashed_import_table.o src/internal/ntapi.o src/internal/ntapi_debug.o src/internal/ntapi_entry_point.o src/internal/ntapi_open.o src/ipc/ntapi_tt_create_pipe_v1.o src/ipc/ntapi_tt_create_pipe_v2.o src/ldr/ntapi_ldr_create_state_snapshot.o src/ldr/ntapi_ldr_load_system_dll.o src/ldr/ntapi_ldr_revert_state_to_snapshot.o src/object/ntapi_tt_keyed_object_directory.o src/port/ntapi_port_name_helper.o src/process/ntapi_tt_create_native_process_v1.o src/process/ntapi_tt_create_native_process_v2.o src/process/ntapi_tt_create_remote_process_params.o src/process/ntapi_tt_create_remote_runtime_data.o src/process/ntapi_tt_fork.o src/process/ntapi_tt_fork_v1.o src/process/ntapi_tt_fork_v2.o src/process/ntapi_tt_get_runtime_data.o src/process/ntapi_tt_init_runtime_data.o src/process/ntapi_tt_map_image_as_data.o src/process/ntapi_tt_spawn_native_process.o src/process/tt_fork_v1.o src/pty/ntapi_pty_cancel.o src/pty/ntapi_pty_fd.o src/pty/ntapi_pty_io.o src/pty/ntapi_pty_ioctl.o src/pty/ntapi_pty_query.o src/pty/ntapi_pty_set.o src/section/ntapi_tt_get_section_name.o src/socket/ntapi_sc_accept.o src/socket/ntapi_sc_bind_v1.o src/socket/ntapi_sc_bind_v2.o src/socket/ntapi_sc_connect_v1.o src/socket/ntapi_sc_connect_v2.o src/socket/ntapi_sc_getpeername_v1.o src/socket/ntapi_sc_getpeername_v2.o src/socket/ntapi_sc_getsockname_v1.o src/socket/ntapi_sc_getsockname_v2.o src/socket/ntapi_sc_listen.o src/socket/ntapi_sc_recv.o src/socket/ntapi_sc_send.o src/socket/ntapi_sc_server_accept_connection_v1.o src/socket/ntapi_sc_server_accept_connection_v2.o src/socket/ntapi_sc_server_duplicate_socket.o src/socket/ntapi_sc_setsockopt.o src/socket/ntapi_sc_getsockopt.o src/socket/ntapi_sc_shutdown.o src/socket/ntapi_sc_socket_v1.o src/socket/ntapi_sc_socket_v2.o src/socket/ntapi_sc_wait.o src/string/ntapi_tt_aligned_block_memcpy.o src/string/ntapi_tt_aligned_block_memset.o src/string/ntapi_tt_aligned_memcpy_utf16.o src/string/ntapi_tt_hex_utf16_to_uintptr.o src/string/ntapi_tt_init_unicode_string_from_utf16.o src/string/ntapi_tt_memcpy_utf16.o src/string/ntapi_tt_strcmp_multibyte.o src/string/ntapi_tt_strcmp_utf16.o src/string/ntapi_tt_string_null_offset.o src/string/ntapi_tt_strncmp_multibyte.o src/string/ntapi_tt_strncmp_utf16.o src/string/ntapi_tt_uintptr_to_hex_utf16.o src/string/ntapi_tt_uintptr_to_hex_utf8.o src/sync/ntapi_tt_create_event.o src/sync/ntapi_tt_sync_block.o src/sync/ntapi_tt_wait_for_dummy_event.o src/system/ntapi_tt_get_csr_port_handle_addr_by_logic.o src/system/ntapi_tt_get_system_directory.o src/system/ntapi_tt_get_system_info_snapshot.o src/thread/ntapi_tt_create_thread.o src/token/ntapi_tt_token_privilege.o src/tty/ntapi_tty_client_process_register.o src/tty/ntapi_tty_client_session_query.o src/tty/ntapi_tty_client_session_set.o src/tty/ntapi_tty_connect.o src/tty/ntapi_tty_create_session.o src/tty/ntapi_tty_join_session.o src/tty/ntapi_tty_query_information_server.o src/tty/ntapi_tty_request_peer.o src/tty/ntapi_tty_vms_query.o src/tty/ntapi_tty_vms_request.o src/unicode/ntapi_uc_unicode_conversion_from_utf16.o src/unicode/ntapi_uc_unicode_conversion_from_utf8.o src/unicode/ntapi_uc_unicode_validation.o src/vfd/ntapi_vfd_helper.o /nologo


@if %errorlevel% neq 0 exit /b %errorlevel%


@echo.
@echo clbuild: successfully created: static archive.
@echo.

link /dll /nologo /out:lib/libntapi.so src/argv/ntapi_tt_argv_envp.lo src/argv/ntapi_tt_array_utf16.lo src/argv/ntapi_tt_array_utf8.lo src/argv/ntapi_tt_env_vars.lo src/blitter/ntapi_blt_alloc.lo src/blitter/ntapi_blt_block.lo src/blitter/ntapi_blt_free.lo src/daemon/ntapi_dsr_init.lo src/daemon/ntapi_dsr_internal_connection.lo src/fs/ntapi_tt_get_file_handle_type.lo src/fs/ntapi_tt_istat.lo src/fs/ntapi_tt_mount.lo src/fs/ntapi_tt_open_logical_parent_directory.lo src/fs/ntapi_tt_open_physical_parent_directory.lo src/fs/ntapi_tt_stat.lo src/fs/ntapi_tt_statfs.lo src/guid/ntapi_tt_guid.lo src/hash/ntapi_tt_crc32.lo src/hash/ntapi_tt_populate_hashed_import_table.lo src/internal/ntapi.lo src/internal/ntapi_debug.lo src/internal/ntapi_entry_point.lo src/internal/ntapi_open.lo src/ipc/ntapi_tt_create_pipe_v1.lo src/ipc/ntapi_tt_create_pipe_v2.lo src/ldr/ntapi_ldr_create_state_snapshot.lo src/ldr/ntapi_ldr_load_system_dll.lo src/ldr/ntapi_ldr_revert_state_to_snapshot.lo src/object/ntapi_tt_keyed_object_directory.lo src/port/ntapi_port_name_helper.lo src/process/ntapi_tt_create_native_process_v1.lo src/process/ntapi_tt_create_native_process_v2.lo src/process/ntapi_tt_create_remote_process_params.lo src/process/ntapi_tt_create_remote_runtime_data.lo src/process/ntapi_tt_fork.lo src/process/ntapi_tt_fork_v1.lo src/process/ntapi_tt_fork_v2.lo src/process/ntapi_tt_get_runtime_data.lo src/process/ntapi_tt_init_runtime_data.lo src/process/ntapi_tt_map_image_as_data.lo src/process/ntapi_tt_spawn_native_process.lo src/process/tt_fork_v1.lo src/pty/ntapi_pty_cancel.lo src/pty/ntapi_pty_fd.lo src/pty/ntapi_pty_io.lo src/pty/ntapi_pty_ioctl.lo src/pty/ntapi_pty_query.lo src/pty/ntapi_pty_set.lo src/section/ntapi_tt_get_section_name.lo src/socket/ntapi_sc_accept.lo src/socket/ntapi_sc_bind_v1.lo src/socket/ntapi_sc_bind_v2.lo src/socket/ntapi_sc_connect_v1.lo src/socket/ntapi_sc_connect_v2.lo src/socket/ntapi_sc_getpeername_v1.lo src/socket/ntapi_sc_getpeername_v2.lo src/socket/ntapi_sc_getsockname_v1.lo src/socket/ntapi_sc_getsockname_v2.lo src/socket/ntapi_sc_listen.lo src/socket/ntapi_sc_recv.lo src/socket/ntapi_sc_send.lo src/socket/ntapi_sc_server_accept_connection_v1.lo src/socket/ntapi_sc_server_accept_connection_v2.lo src/socket/ntapi_sc_server_duplicate_socket.lo src/socket/ntapi_sc_setsockopt.lo src/socket/ntapi_sc_getsockopt.lo src/socket/ntapi_sc_shutdown.lo src/socket/ntapi_sc_socket_v1.lo src/socket/ntapi_sc_socket_v2.lo src/socket/ntapi_sc_wait.lo src/string/ntapi_tt_aligned_block_memcpy.lo src/string/ntapi_tt_aligned_block_memset.lo src/string/ntapi_tt_aligned_memcpy_utf16.lo src/string/ntapi_tt_hex_utf16_to_uintptr.lo src/string/ntapi_tt_init_unicode_string_from_utf16.lo src/string/ntapi_tt_memcpy_utf16.lo src/string/ntapi_tt_strcmp_multibyte.lo src/string/ntapi_tt_strcmp_utf16.lo src/string/ntapi_tt_string_null_offset.lo src/string/ntapi_tt_strncmp_multibyte.lo src/string/ntapi_tt_strncmp_utf16.lo src/string/ntapi_tt_uintptr_to_hex_utf16.lo src/string/ntapi_tt_uintptr_to_hex_utf8.lo src/sync/ntapi_tt_create_event.lo src/sync/ntapi_tt_sync_block.lo src/sync/ntapi_tt_wait_for_dummy_event.lo src/system/ntapi_tt_get_csr_port_handle_addr_by_logic.lo src/system/ntapi_tt_get_system_directory.lo src/system/ntapi_tt_get_system_info_snapshot.lo src/thread/ntapi_tt_create_thread.lo src/token/ntapi_tt_token_privilege.lo src/tty/ntapi_tty_client_process_register.lo src/tty/ntapi_tty_client_session_query.lo src/tty/ntapi_tty_client_session_set.lo src/tty/ntapi_tty_connect.lo src/tty/ntapi_tty_create_session.lo src/tty/ntapi_tty_join_session.lo src/tty/ntapi_tty_query_information_server.lo src/tty/ntapi_tty_request_peer.lo src/tty/ntapi_tty_vms_query.lo src/tty/ntapi_tty_vms_request.lo src/unicode/ntapi_uc_unicode_conversion_from_utf16.lo src/unicode/ntapi_uc_unicode_conversion_from_utf8.lo src/unicode/ntapi_uc_unicode_validation.lo src/vfd/ntapi_vfd_helper.lo       /libpath:lib /subsystem:windows                  /nodefaultlib %sysroot%/lib/libpemagine.lib %sysroot%/lib/libdalist.lib /entry:__ntapi_entry_point

@if %errorlevel% neq 0 exit /b %errorlevel%


@echo.
@echo clbuild: successfully linked: shared library.
@echo.


@echo.
@echo yay.
@echo.