Blame project/extras.mk

69fbb6
CFLAGS_SHARED_ATTR	+= -DPTYC_PRE_ALPHA -DPTYC_EXPORT
440b10
CFLAGS_STATIC_ATTR	+= -DPTYC_PRE_ALPHA -DPTYC_STATIC   -mstatic
440b10
CFLAGS_STATIC_ATTR	+= -DPE_STATIC      -DDALIST_STATIC -DNTAPI_STATIC
440b10
CFLAGS_APP_ATTR		+= -DPTYC_APP
440b10
440b10
ifeq ($(ALL_STATIC),yes)
440b10
CFLAGS_APP_ATTR		+= $(CFLAGS_STATIC_ATTR)
440b10
else
440b10
CFLAGS_APP_ATTR		+= -fvisibility=protetcted
440b10
endif
440b10
0efa8c
336b91
CFLAGS_CONFIG 		+= -ffreestanding
336b91
CFLAGS_CONFIG 		+= -D_MIDIPIX_FREESTANDING -D__NT$(HOST_BITS)
336b91
CFLAGS_CONFIG 		+= -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__
336b91
CFLAGS_CONFIG 		+= -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__
336b91
0efa8c
src/driver/ptyc_driver_ctx.o:	version.tag
0efa8c
src/driver/ptyc_driver_ctx.lo:	version.tag
0efa8c
cfc59b
LDFLAGS_COMMON		+= -nostdlib -lntapi -lpemagine -ldalist -lntcon
0efa8c
LDFLAGS_COMMON		+= -Wl,--entry -Wl,$(HOST_UNDERSCORE)$(PACKAGE)_entry_point
0efa8c
0efa8c
LDFLAGS_SHARED		+= -Wl,--exclude-all-symbols