Allow library to be compiled without installing supporting libraries.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2726 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 1998-02-04 17:46:08 +00:00
parent fcf1b5e522
commit a4bbb73e3e
15 changed files with 78 additions and 25 deletions

View file

@ -25,7 +25,7 @@
#import <Foundation/NSArray.h>
#import <Foundation/NSException.h>
#include "GMAppKit.h"
#include "AppKit/GMAppKit.h"
void __dummy_GMAppKit_functionForLinking() {}

View file

@ -24,7 +24,9 @@
GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_SYSTEM_ROOT)
include $(GNUSTEP_SYSTEM_ROOT)/Makefiles/common.make
GNUSTEP_MAKEFILE_DIR = $(GNUSTEP_SYSTEM_ROOT)/Makefiles
include $(GNUSTEP_MAKEFILE_DIR)/common.make
LIBRARY_NAME = libgmodel
@ -32,7 +34,7 @@ ifeq ($(GUI_LIB), nx)
TOOL_NAME = nib2gmodel
endif
APP_NAME = test
# APP_NAME = test
libgmodel_OBJC_FILES = IMCustomObject.m IMConnectors.m IMLoading.m GMAppKit.m
libgmodel_HEADER_FILES_DIR = .
@ -59,6 +61,9 @@ ADDITIONAL_LIB_DIRS += -L$(GNUSTEP_OBJ_DIR)
ADDITIONAL_TOOL_LIBS += -lgmodel -lFoundationExt
ADDITIONAL_OBJC_FLAGS += $(BACKEND_DEFINE)
# Additional include directories the compiler should search
ADDITIONAL_INCLUDE_DIRS = -I../Headers -I../Headers/gnustep
# What are the libraries this library depends upon. This is needed for some
# systems where building a shared library requires to pass to the linker
# all the libraries the target library depends upon.
@ -68,8 +73,8 @@ LIBRARIES_DEPEND_UPON = -lFoundationExt $(FND_LIBS) $(GUI_LIBS) \
-include GNUmakefile.local
include $(GNUSTEP_SYSTEM_ROOT)/Makefiles/library.make
include $(GNUSTEP_SYSTEM_ROOT)/Makefiles/tool.make
include $(GNUSTEP_SYSTEM_ROOT)/Makefiles/application.make
include $(GNUSTEP_MAKEFILE_DIR)/library.make
include $(GNUSTEP_MAKEFILE_DIR)/tool.make
include $(GNUSTEP_MAKEFILE_DIR)/application.make
-include GNUmakefile.postamble

View file

@ -28,7 +28,7 @@
#import <AppKit/NSActionCell.h>
#include <extensions/GMArchiver.h>
#include <extensions/objc-runtime.h>
#include "IMCustomObject.h"
#include "AppKit/IMCustomObject.h"
#include "IMConnectors.h"
static void

View file

@ -25,7 +25,7 @@
#import <Foundation/NSObjCRuntime.h>
#include <extensions/GMArchiver.h>
#include "IMCustomObject.h"
#include "AppKit/IMCustomObject.h"
@implementation NSObject(ModelUnarchiving)

View file

@ -29,8 +29,8 @@
#import <Foundation/NSPathUtilities.h>
#include <extensions/GMArchiver.h>
#include "IMLoading.h"
#include "IMCustomObject.h"
#include "AppKit/IMLoading.h"
#include "AppKit/IMCustomObject.h"
void __dummy_IMLoading_functionForLinking()
{