summaryrefslogtreecommitdiffstats
path: root/libobjc/Makefile.in
diff options
context:
space:
mode:
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-10 09:56:40 +0000
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-10 09:56:40 +0000
commit01eb761e3088d72508d2190978ad488cbb75c321 (patch)
treeaecc8134138b797706917530127f1a76bf0da100 /libobjc/Makefile.in
parentdd3eae968c619f0c174e985e7f40d963cc2b601d (diff)
downloadppe42-gcc-01eb761e3088d72508d2190978ad488cbb75c321.tar.gz
ppe42-gcc-01eb761e3088d72508d2190978ad488cbb75c321.zip
* libobjc/objc/deprecated: New directory.
* libobjc/objc/deprecated/README: New file. * libobjc/objc/README: New file. * libobjc/objc/typedstream.h: Moved into objc/deprecated/typedstream.h; objc/typedstream.h replaced with a placeholder including the file from the deprecated/ directory. * libobjc/objc/deprecated/objc-unexpected-exception.h: New file with the definition of _objc_unexpected_exception. * libobjc/objc/objc-api.h: Include deprecated/objc-unexcepted-exception.h instead of defining _objc_unexpected_exception. * libobjc/objc/deprecated/Object.h: New file with the deprecated Object methods in a 'Deprecated' category. * libobjc/objc/Object.h Include deprecated/Object.h instead of defining the deprecated methods. * libobjc/Object.m: Moved deprecated methods into 'Deprecated' category. * libobjc/objc-private: New directory. * libobjc/objc-private/README: New file. * libobjc/Makefile.in (OBJC_DEPRECATED_H): New variable. (install-headers): Create installation directory for OBJC_DEPRECATED_H headers, and install them. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164153 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/Makefile.in')
-rw-r--r--libobjc/Makefile.in13
1 files changed, 12 insertions, 1 deletions
diff --git a/libobjc/Makefile.in b/libobjc/Makefile.in
index d48c8dd88d9..a47f7ea344b 100644
--- a/libobjc/Makefile.in
+++ b/libobjc/Makefile.in
@@ -141,12 +141,18 @@ FLAGS_TO_PASS = \
all: libobjc$(libsuffix).la $(OBJC_BOEHM_GC)
: $(MAKE) ; exec $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all
-# User-visible header files.
+# User-visible header files, from the objc/ directory
OBJC_H = hash.h objc-list.h sarray.h objc.h objc-api.h objc-exception.h \
NXConstStr.h Object.h Protocol.h encoding.h typedstream.h \
thr.h objc-decls.h
+# User-visible header files containing deprecated APIs, from the
+# objc/deprecated directory
+
+OBJC_DEPRECATED_H = Object.h objc-unexpected-exception.h \
+ typedstream.h
+
# Modules that comprise the runtime library.
OBJS = archive.lo class.lo encoding.lo gc.lo hash.lo init.lo linking.lo \
@@ -346,6 +352,11 @@ install-headers:
realfile=$(srcdir)/objc/$${file}; \
$(INSTALL_DATA) $${realfile} $(DESTDIR)$(libsubdir)/$(includedirname)/objc; \
done
+ $(multi_basedir)/mkinstalldirs $(DESTDIR)$(libsubdir)/$(includedirname)/objc/deprecated
+ for file in $(OBJC_DEPRECATED_H); do \
+ realfile=$(srcdir)/objc/deprecated/$${file}; \
+ $(INSTALL_DATA) $${realfile} $(DESTDIR)$(libsubdir)/$(includedirname)/objc/deprecated; \
+ done
check uninstall install-strip dist installcheck installdirs:
OpenPOWER on IntegriCloud