Blame project/extras.mk

ca007d
CFLAGS_SHARED_ATTR	+= -DTOKS_PRE_ALPHA -DTOKS_EXPORT
ca007d
CFLAGS_STATIC_ATTR	+= -DTOKS_PRE_ALPHA -DTOKS_STATIC   -mstatic
ca007d
CFLAGS_STATIC_ATTR	+= -DPE_STATIC      -DDALIST_STATIC -DNTAPI_STATIC
ca007d
CFLAGS_APP_ATTR		+= -DTOKS_APP
ca007d
ca007d
ifeq ($(ALL_STATIC),yes)
ca007d
CFLAGS_APP_ATTR		+= $(CFLAGS_STATIC_ATTR)
ca007d
else
ca007d
CFLAGS_APP_ATTR		+= -fvisibility=protetcted
ca007d
endif
ca007d
ca007d
ca007d
CFLAGS_CONFIG 		+= -ffreestanding
ca007d
CFLAGS_CONFIG 		+= -D_MIDIPIX_FREESTANDING -D__NT$(HOST_BITS)
ca007d
CFLAGS_CONFIG 		+= -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__
ca007d
CFLAGS_CONFIG 		+= -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__
ca007d
1a07be
CFLAGS_COMMON		+= -DTOKS_SERVICE_IMAGE=$(BINDIR)/$(NICKNAME)$(OS_APP_SUFFIX)
1a07be
ca007d
LDFLAGS_COMMON		+= -nostdlib -lntapi -lpemagine -ldalist
ca007d
LDFLAGS_COMMON		+= -Wl,--entry -Wl,$(HOST_UNDERSCORE)$(PACKAGE)_entry_point
ca007d
ca007d
LDFLAGS_SHARED		+= -Wl,--exclude-all-symbols
2420c2
2420c2
2420c2
src/driver/toks_driver_ctx.o:	version.tag
2420c2
src/driver/toks_driver_ctx.lo:	version.tag