|
|
7b83a9 |
CFLAGS_SHARED_ATTR += -DNTAPI_BUILD
|
|
|
7b83a9 |
CFLAGS_STATIC_ATTR += -DNTAPI_STATIC
|
|
|
7b83a9 |
|
|
|
7b83a9 |
CFLAGS_CONFIG += -DMIDIPIX_FREESTANDING -ffreestanding -D__NT$(HOST_BITS)
|
|
|
7b83a9 |
CFLAGS_CONFIG += -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__
|
|
|
7b83a9 |
CFLAGS_CONFIG += -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__
|
|
|
7b83a9 |
|
|
|
7b83a9 |
LDFLAGS_SHARED += --out-implib $(SHARED_IMPLIB)
|
|
|
7b83a9 |
LDFLAGS_SHARED += --exclude-all-symbols
|
|
|
7b83a9 |
LDFLAGS_SHARED += -lpemagine -ldalist
|
|
|
7b83a9 |
|
|
|
7b83a9 |
ifeq ($(HOST_BITS),32)
|
|
|
7b83a9 |
LDFLAGS_SHARED += --entry $(HOST_UNDERSCORE)__ntapi_entry_point@12
|
|
|
7b83a9 |
else
|
|
|
7b83a9 |
LDFLAGS_SHARED += --entry $(HOST_UNDERSCORE)__ntapi_entry_point
|
|
|
7b83a9 |
endif
|