Skip to content

Commit

Permalink
Print a deprecation warning if objc.make is used
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32836 72102866-910b-0410-8b05-ffd578937521
  • Loading branch information
nicola committed Apr 11, 2011
1 parent 3cc5aa4 commit a6134e1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2011-04-11 Nicola Pero <[email protected]>

* objc.make: Print a deprecation warning if this file is used.

2011-04-11 Nicola Pero <[email protected]>

* configure.ac: Set OBJ_MERGE_CMD_FLAG to -r or -Wl,-r depending
Expand Down
10 changes: 10 additions & 0 deletions objc.make
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@
# If not, write to the Free Software Foundation,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

# objc.make is deprecated because we want gnustep-make to be
# independent of the Objective-C runtime, so that you can replace the
# Objective-C runtime without reconfiguring gnustep-make. Once that's
# the case, the flags to link against the runtime won't be determined
# by gnustep-make, but will be determined and set by gnustep-base (or
# equivalent). objc.make is meant to build and link without
# gnustep-base (or equivalent), but that won't be possible any more.

$(warning objc.make is deprecated. Please use tool.make instead)

ifeq ($(GNUSTEP_INSTANCE),)
include $(GNUSTEP_MAKEFILES)/Master/objc.make
else
Expand Down

0 comments on commit a6134e1

Please sign in to comment.