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:
CaS 2003-01-09 17:41:57 +00:00
parent 8834609a23
commit 6f4da4bc68
3 changed files with 14 additions and 1 deletions

View file

@ -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)

View file

@ -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@