mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 02:50:38 +00:00
Automatically generate libgnustep-gui.def
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18251 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e0c81dc2d5
commit
5239efb693
2 changed files with 10 additions and 7 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-12-02 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Source/GNUmakefile.postamble (libgnustep-gui.def): Generate at
|
||||
compile time using the proper dependencies.
|
||||
|
||||
2003-12-01 Serg Stoyan <stoyan@on.com.ua>
|
||||
|
||||
* Headers/AppKit/NSButton.h: Add setHighlightsBy: and
|
||||
|
|
|
@ -72,7 +72,8 @@ after-uninstall::
|
|||
# before-clean::
|
||||
|
||||
# Things to do after cleaning
|
||||
# after-clean::
|
||||
after-clean:
|
||||
rm -f libgnustep-gui.def
|
||||
|
||||
# Things to do before distcleaning
|
||||
# before-distclean::
|
||||
|
@ -108,16 +109,13 @@ $(GNUSTEP_OBJ_DIR)/*.o \
|
|||
: $(GNUSTEP_TARGET_DIR)/config.h
|
||||
|
||||
#
|
||||
# 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-gui.def.new to
|
||||
# libgnustep-gui.def
|
||||
# Make list of class names for DLL exports. Uses the actual classes from
|
||||
# the .o files, so it should really have everything needed.
|
||||
#
|
||||
libgnustep-gui.def.new: $(GNUSTEP_OBJ_DIR)/*o
|
||||
libgnustep-gui.def: $(OBJ_FILES_TO_LINK)
|
||||
rm -f $@
|
||||
rm -f _tmp.def
|
||||
cat win32-def.top > $@
|
||||
nm $^ | grep '^........ [T] _' | sed 's/[^_]*_//' > _tmp.def
|
||||
cat _tmp.def | grep "_class_name_" >> $@
|
||||
rm -rf _tmp.def
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue