Change .m files to use local includes so that we don't include installed headers accidentally

This commit is contained in:
Gregory Casamento 2023-07-29 05:21:45 -04:00
parent e604adf9a6
commit 2d56f7ca31
11 changed files with 23 additions and 31 deletions

View file

@ -25,9 +25,9 @@
# ADDITIONAL_OBJCFLAGS += -Wall -Werror
ADDITIONAL_GUI_LIBS += \
-lInterfaceBuilder \
-lGormCore \
-lGormObjCHeaderParser \
-lInterfaceBuilder \
ADDITIONAL_INCLUDE_DIRS += \
-I../../InterfaceBuilder \

View file

@ -22,13 +22,11 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA
#
ADDITIONAL_GUI_LIBS += \
-lInterfaceBuilder
ADDITIONAL_INCLUDE_DIRS += \
-I../InterfaceBuilder
ifeq ($(GNUSTEP_TARGET_OS),mingw32)
ADDITIONAL_LIB_DIRS += \
-L../InterfaceBuilder/$(GNUSTEP_OBJ_DIR)
else
ADDITIONAL_LIB_DIRS += \
-L../InterfaceBuilder/$(GNUSTEP_OBJ_DIR)
endif
# ADDITIONAL_GUI_LIBS += \
# -lInterfaceBuilder
#ADDITIONAL_LIB_DIRS += \
# -L../InterfaceBuilder/$(GNUSTEP_OBJ_DIR)

View file

@ -47,7 +47,7 @@
# ADDITIONAL_CFLAGS += -Wall -Werror
# Additional include directories the compiler should search
ADDITIONAL_INCLUDE_DIRS += -I../InterfaceBuilder
ADDITIONAL_INCLUDE_DIRS +=
# Additional LDFLAGS to pass to the linker
#ADDITIONAL_LDFLAGS +=
@ -67,9 +67,3 @@ ADDITIONAL_INSTALL_DIRS +=
#
# Local configuration
#
ifeq ($(GNUSTEP_TARGET_OS),cygwin)
InterfaceBuilder_LIBRARIES_DEPEND_UPON += -lobjc
endif

View file

@ -22,9 +22,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
*/
#include <Foundation/Foundation.h>
#include <Foundation/NSString.h>
#include <InterfaceBuilder/IBDocuments.h>
#include "IBDocuments.h"
NSString *IBDidOpenDocumentNotification = @"IBDidOpenDocumentNotification";
NSString *IBWillSaveDocumentNotification = @"IBWillSaveDocumentNotification";

View file

@ -25,9 +25,9 @@
#include <Foundation/Foundation.h>
#include <AppKit/AppKit.h>
#include <InterfaceBuilder/IBApplicationAdditions.h>
#include <InterfaceBuilder/IBInspector.h>
#include <InterfaceBuilder/IBDocuments.h>
#include "IBApplicationAdditions.h"
#include "IBInspector.h"
#include "IBDocuments.h"
static NSNotificationCenter *nc = nil;

View file

@ -24,8 +24,8 @@
#include <Foundation/Foundation.h>
#include <InterfaceBuilder/IBInspectorManager.h>
#include <InterfaceBuilder/IBInspectorMode.h>
#include "IBInspectorManager.h"
#include "IBInspectorMode.h"
#include <math.h>

View file

@ -24,7 +24,7 @@
#include <Foundation/Foundation.h>
#include <InterfaceBuilder/IBInspectorMode.h>
#include "IBInspectorMode.h"
/**
* IBInspectorMode is an internal class in the InterfaceBuilder framework.

View file

@ -24,7 +24,7 @@
#include <Foundation/Foundation.h>
#include <InterfaceBuilder/IBObjectAdditions.h>
#include "IBObjectAdditions.h"
// object additions -- object adopts protocol
@implementation NSObject (_IBObjectAdditions)

View file

@ -25,7 +25,7 @@
#include <Foundation/Foundation.h>
#include <AppKit/AppKit.h>
#include <InterfaceBuilder/IBPalette.h>
#include "IBPalette.h"
NSString *IBCellPboardType = @"IBCellPboardType";
NSString *IBMenuPboardType = @"IBMenuPboardType";

View file

@ -25,7 +25,7 @@
#include <Foundation/Foundation.h>
#include <AppKit/AppKit.h>
#include <InterfaceBuilder/IBPlugin.h>
#include "IBPlugin.h"
static NSMapTable *instanceMap = 0;

View file

@ -25,9 +25,9 @@
#include <Foundation/Foundation.h>
#include <AppKit/AppKit.h>
#include <InterfaceBuilder/IBResourceManager.h>
#include <InterfaceBuilder/IBObjectAdditions.h>
#include <InterfaceBuilder/IBPalette.h>
#include "IBResourceManager.h"
#include "IBObjectAdditions.h"
#include "IBPalette.h"
NSString *IBResourceManagerRegistryDidChangeNotification = @"IBResourceManagerRegistryDidChangeNotification";