mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-16 19:00:47 +00:00
Build Source/libgnustep-base.def from Source/libgnustep-base.def.in
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15574 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8834609a23
commit
6f4da4bc68
3 changed files with 14 additions and 1 deletions
|
@ -254,7 +254,7 @@ $(GNUSTEP_OBJ_DIR)/NSGeometry.o \
|
|||
# Make list of class names for DLL exports. I'm not sure how to make this
|
||||
# work with the correct dependencies, so for now it should be regenerated
|
||||
# by hand when new classes get added. Then mv libgnustep-base.def.new to
|
||||
# libgnustep-base.def
|
||||
# libgnustep-base.def.in
|
||||
#
|
||||
libgnustep-base.def.new: $(GNUSTEP_OBJ_DIR)/*o Additions/$(GNUSTEP_OBJ_DIR)/*o
|
||||
rm -f $@
|
||||
|
@ -264,6 +264,17 @@ libgnustep-base.def.new: $(GNUSTEP_OBJ_DIR)/*o Additions/$(GNUSTEP_OBJ_DIR)/*o
|
|||
cat _tmp.def | grep "_class_name_" >> $@
|
||||
rm -rf _tmp.def
|
||||
|
||||
#
|
||||
# Build the .def file depending on the objc runtime in use.
|
||||
#
|
||||
ifeq ($(NX_CONST_STRING_CLASS),NXConstantString)
|
||||
libgnustep-base.def: libgnustep-base.def.in
|
||||
sed -e 's/NSConstantString/NXConstantString/' < $< > $@
|
||||
endif
|
||||
ifeq ($(NX_CONST_STRING_CLASS),NSConstantString)
|
||||
libgnustep-base.def: libgnustep-base.def.in
|
||||
sed -e 's/NXConstantString/NSConstantString/' < $< > $@
|
||||
endif
|
||||
|
||||
TAGS: $(DIST_FILES)
|
||||
etags $(DIST_FILES)
|
||||
|
|
|
@ -10,6 +10,8 @@ HAVE_LIBXML=@HAVE_LIBXML@
|
|||
|
||||
WITH_FFI=@WITH_FFI@
|
||||
|
||||
NX_CONST_STRING_CLASS=@NX_CONST_STRING_CLASS@
|
||||
|
||||
HAVE_PTHREAD_H=@HAVE_PTHREAD_H@
|
||||
|
||||
CONFIG_SYSTEM_INCL += @INCLUDE_FLAGS@
|
||||
|
|
Loading…
Reference in a new issue