diff --git a/Headers/Foundation/Foundation.h b/Headers/Foundation/Foundation.h index 81c7ad960..6b38dbd23 100644 --- a/Headers/Foundation/Foundation.h +++ b/Headers/Foundation/Foundation.h @@ -1,143 +1 @@ -/* - Global include file for the GNUstep Base Library. - - Copyright (C) 1997 Free Software Foundation, Inc. - - Written by: Scott Christley - Date: Sep 1997 - - This file is part of the GNUstep Base Library. - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free - Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02111 USA. - */ - -#ifndef __Foundation_h_GNUSTEP_BASE_INCLUDE -#define __Foundation_h_GNUSTEP_BASE_INCLUDE - -#import -#import - -#import -#import -#import -#import -#import - -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import - -#if !defined(NO_GNUSTEP) -#import -#endif - -#endif /* __Foundation_h_GNUSTEP_BASE_INCLUDE */ +#warning Do NOT include Foundation.h within GNUstep-base diff --git a/Headers/Foundation/Foundation.h.install b/Headers/Foundation/Foundation.h.install new file mode 100644 index 000000000..81c7ad960 --- /dev/null +++ b/Headers/Foundation/Foundation.h.install @@ -0,0 +1,143 @@ +/* + Global include file for the GNUstep Base Library. + + Copyright (C) 1997 Free Software Foundation, Inc. + + Written by: Scott Christley + Date: Sep 1997 + + This file is part of the GNUstep Base Library. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02111 USA. + */ + +#ifndef __Foundation_h_GNUSTEP_BASE_INCLUDE +#define __Foundation_h_GNUSTEP_BASE_INCLUDE + +#import +#import + +#import +#import +#import +#import +#import + +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import + +#if !defined(NO_GNUSTEP) +#import +#endif + +#endif /* __Foundation_h_GNUSTEP_BASE_INCLUDE */ diff --git a/Source/Makefile.postamble b/Source/Makefile.postamble index f0b1573a8..551241301 100644 --- a/Source/Makefile.postamble +++ b/Source/Makefile.postamble @@ -42,7 +42,11 @@ before-all:: $(GENERATED_HFILES) after-all:: Info-gnustep.plist # Things to do before installing -# before-install:: +before-install:: + cp ../Headers/Foundation/Foundation.h \ + ../Headers/Foundation.Foundation.h.saved + cp ../Headers/Foundation/Foundation.h.install + ../Headers/Foundation.Foundation.h # Things to do after installing # @@ -54,6 +58,13 @@ after-install:: $(INSTALL_DATA) ../Headers/Additions/GNUstepBase/$$file \ $(GNUSTEP_HEADERS)/GNUstepBase/$$file ; \ done + cp ../Headers/Foundation/Foundation.h.saved \ + ../Headers/Foundation.Foundation.h + mv ../Headers/Foundation/Foundation.h \ + ../Headers/Foundation.Foundation.h.saved + cp ../Headers/Foundation/Foundation.h.install + ../Headers/Foundation.Foundation.h + $(MKDIRS) $(GNUSTEP_HEADERS)/$(GNUSTEP_TARGET_DIR)/GNUstepBase $(INSTALL_DATA) $(GNUSTEP_TARGET_DIR)/GNUstepBase/GSConfig.h \ $(GNUSTEP_HEADERS)/$(GNUSTEP_TARGET_DIR)/GNUstepBase/GSConfig.h