blob: 6a809d1cb10b366ee8f488bdde8d403abc08255a (
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
|
@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\exports mkdir src\exports
if not exist src\headers mkdir src\headers
if not exist src\imports mkdir src\imports
if not exist src\internal mkdir src\internal
if not exist src\meta mkdir src\meta
if not exist src\modules mkdir src\modules
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/exports/pe_enum_image_exports.lo %source_dir%/src/exports/pe_enum_image_exports.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/exports/pe_get_export_symbol_info.lo %source_dir%/src/exports/pe_get_export_symbol_info.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/exports/pe_get_procedure_address.lo %source_dir%/src/exports/pe_get_procedure_address.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/headers/pe_get_image_coff_hdr_addr.lo %source_dir%/src/headers/pe_get_image_coff_hdr_addr.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/headers/pe_get_image_data_dirs_addr.lo %source_dir%/src/headers/pe_get_image_data_dirs_addr.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/headers/pe_get_image_dos_hdr_addr.lo %source_dir%/src/headers/pe_get_image_dos_hdr_addr.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/headers/pe_get_image_entry_point_addr.lo %source_dir%/src/headers/pe_get_image_entry_point_addr.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/headers/pe_get_image_opt_hdr_addr.lo %source_dir%/src/headers/pe_get_image_opt_hdr_addr.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/headers/pe_get_image_section_tbl_addr.lo %source_dir%/src/headers/pe_get_image_section_tbl_addr.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/headers/pe_get_image_special_hdr_addr.lo %source_dir%/src/headers/pe_get_image_special_hdr_addr.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/imports/pe_enum_image_import_hdrs.lo %source_dir%/src/imports/pe_enum_image_import_hdrs.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/meta/pe_get_image_stack_heap_info.lo %source_dir%/src/meta/pe_get_image_stack_heap_info.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/meta/pe_get_symbol_module_info.lo %source_dir%/src/meta/pe_get_symbol_module_info.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/meta/pe_get_symbol_name.lo %source_dir%/src/meta/pe_get_symbol_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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/modules/pe_enum_modules.lo %source_dir%/src/modules/pe_enum_modules.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/modules/pe_get_kernel32_module_handle.lo %source_dir%/src/modules/pe_get_kernel32_module_handle.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/modules/pe_get_module_handle.lo %source_dir%/src/modules/pe_get_module_handle.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/modules/pe_get_ntdll_module_handle.lo %source_dir%/src/modules/pe_get_ntdll_module_handle.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/internal/pe_entry_point.lo %source_dir%/src/internal/pe_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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/exports/pe_enum_image_exports.o %source_dir%/src/exports/pe_enum_image_exports.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/exports/pe_get_export_symbol_info.o %source_dir%/src/exports/pe_get_export_symbol_info.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/exports/pe_get_procedure_address.o %source_dir%/src/exports/pe_get_procedure_address.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/headers/pe_get_image_coff_hdr_addr.o %source_dir%/src/headers/pe_get_image_coff_hdr_addr.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/headers/pe_get_image_data_dirs_addr.o %source_dir%/src/headers/pe_get_image_data_dirs_addr.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/headers/pe_get_image_dos_hdr_addr.o %source_dir%/src/headers/pe_get_image_dos_hdr_addr.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/headers/pe_get_image_entry_point_addr.o %source_dir%/src/headers/pe_get_image_entry_point_addr.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/headers/pe_get_image_opt_hdr_addr.o %source_dir%/src/headers/pe_get_image_opt_hdr_addr.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/headers/pe_get_image_section_tbl_addr.o %source_dir%/src/headers/pe_get_image_section_tbl_addr.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/headers/pe_get_image_special_hdr_addr.o %source_dir%/src/headers/pe_get_image_special_hdr_addr.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/imports/pe_enum_image_import_hdrs.o %source_dir%/src/imports/pe_enum_image_import_hdrs.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/meta/pe_get_image_stack_heap_info.o %source_dir%/src/meta/pe_get_image_stack_heap_info.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/meta/pe_get_symbol_module_info.o %source_dir%/src/meta/pe_get_symbol_module_info.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/meta/pe_get_symbol_name.o %source_dir%/src/meta/pe_get_symbol_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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/modules/pe_enum_modules.o %source_dir%/src/modules/pe_enum_modules.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/modules/pe_get_kernel32_module_handle.o %source_dir%/src/modules/pe_get_kernel32_module_handle.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/modules/pe_get_module_handle.o %source_dir%/src/modules/pe_get_module_handle.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/modules/pe_get_ntdll_module_handle.o %source_dir%/src/modules/pe_get_ntdll_module_handle.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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
@if %errorlevel% neq 0 exit /b %errorlevel%
cl /nologo -c /Fo:src/internal/pe_entry_point.o %source_dir%/src/internal/pe_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 -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_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/libpemagine.a src/exports/pe_enum_image_exports.o src/exports/pe_get_export_symbol_info.o src/exports/pe_get_procedure_address.o src/headers/pe_get_image_coff_hdr_addr.o src/headers/pe_get_image_data_dirs_addr.o src/headers/pe_get_image_dos_hdr_addr.o src/headers/pe_get_image_entry_point_addr.o src/headers/pe_get_image_opt_hdr_addr.o src/headers/pe_get_image_section_tbl_addr.o src/headers/pe_get_image_special_hdr_addr.o src/imports/pe_enum_image_import_hdrs.o src/meta/pe_get_image_stack_heap_info.o src/meta/pe_get_symbol_module_info.o src/meta/pe_get_symbol_name.o src/modules/pe_enum_modules.o src/modules/pe_get_kernel32_module_handle.o src/modules/pe_get_module_handle.o src/modules/pe_get_ntdll_module_handle.o src/internal/pe_entry_point.o /nologo
@if %errorlevel% neq 0 exit /b %errorlevel%
@echo.
@echo clbuild: successfully created: static archive.
@echo.
link /dll /nologo /out:lib/libpemagine.so src/exports/pe_enum_image_exports.lo src/exports/pe_get_export_symbol_info.lo src/exports/pe_get_procedure_address.lo src/headers/pe_get_image_coff_hdr_addr.lo src/headers/pe_get_image_data_dirs_addr.lo src/headers/pe_get_image_dos_hdr_addr.lo src/headers/pe_get_image_entry_point_addr.lo src/headers/pe_get_image_opt_hdr_addr.lo src/headers/pe_get_image_section_tbl_addr.lo src/headers/pe_get_image_special_hdr_addr.lo src/imports/pe_enum_image_import_hdrs.lo src/meta/pe_get_image_stack_heap_info.lo src/meta/pe_get_symbol_module_info.lo src/meta/pe_get_symbol_name.lo src/modules/pe_enum_modules.lo src/modules/pe_get_kernel32_module_handle.lo src/modules/pe_get_module_handle.lo src/modules/pe_get_ntdll_module_handle.lo src/internal/pe_entry_point.lo /libpath:lib /subsystem:windows /nodefaultlib /entry:pe_entry_point
@if %errorlevel% neq 0 exit /b %errorlevel%
@echo.
@echo clbuild: successfully linked: shared library.
@echo.
@echo.
@echo yay.
@echo.
|