libs-back/Source/win32/MSUserNotifications/GNUmakefile.postamble

13 lines
359 B
Text
Raw Normal View History

#
# Make list of class names for DLL exports. Uses the actual classes from
# the .o files, so it should really have everything needed.
#
libNSUserNotifications.def: $(OBJ_FILES_TO_LINK)
rm -f $@
rm -f _tmp.def
cat win32-def.top > $@
nm $^ | grep '^........ [TR] _' | sed 's/[^_]*_//' > _tmp.def
cat _tmp.def | grep "_class_name_" >> $@
rm -rf _tmp.def