diff --git a/Testing/GNUmakefile.preamble b/Testing/GNUmakefile.preamble index 909088a1b..8b8f52d94 100644 --- a/Testing/GNUmakefile.preamble +++ b/Testing/GNUmakefile.preamble @@ -27,7 +27,7 @@ ADDITIONAL_INCLUDE_DIRS += -I../Headers -I$(GNUSTEP_SYSTEM_ROOT)/Headers # ADDITIONAL_LDFLAGS += # Additional library directories the linker should search -ADDITIONAL_LIB_DIRS += -L../Source/$(GNUSTEP_OBJ_DIR) +ADDITIONAL_LIB_DIRS += # Additional libraries when linking tools ADDITIONAL_TOOL_LIBS += -lgnustep-gui -ltiff diff --git a/Testing/testpb.m b/Testing/testpb.m index d5e4624f6..5c45e343c 100755 --- a/Testing/testpb.m +++ b/Testing/testpb.m @@ -4,6 +4,21 @@ #include #include +BOOL +initialize_gnustep_backend(void) +{ + /* Dummy replacement for the xdps function */ + return YES; +} + +@interface GMModel: NSObject +{ +} +@end + +@implementation GMModel +@end + @interface pbOwner : NSObject { } diff --git a/Tools/gpbs.m b/Tools/gpbs.m index 5c68980ea..e60ee60cc 100644 --- a/Tools/gpbs.m +++ b/Tools/gpbs.m @@ -57,6 +57,15 @@ initialize_gnustep_backend(void) return YES; } +@interface GMModel: NSObject +{ +} +@end + +@implementation GMModel +@end + + @class PasteboardServer; int debug = 0;