Expanded my comment on -DBUILD_lib{library_name}_DLL=1

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@10967 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2001-09-24 10:53:09 +00:00
parent cd620532a1
commit cf7745597f

View file

@ -161,7 +161,10 @@ ifneq ($(strip $(DLL_DEF)),)
DLL_DEF_FLAG = --input-def $(DLL_DEF)
endif
# Pass -DBUILD_lib{library_name}_DLL=1 to the preprocessor
# Pass -DBUILD_lib{library_name}_DLL=1 to the preprocessor. The
# library header files can use this preprocessor define to know that
# they are included during compilation of the library itself, and can
# then use __declspec(dllexport) to export symbols
CLEAN_library_NAME = $(shell echo $(INTERNAL_library_NAME)|tr '-' '_')
SHARED_CFLAGS += -DBUILD_$(CLEAN_library_NAME)_DLL=1