mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Remove non-Openstep classes. More WIN32 changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6669 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
93f1bc859a
commit
0704032dc4
12 changed files with 84 additions and 57 deletions
|
@ -34,55 +34,50 @@ include ../config.mak
|
|||
|
||||
# The tools to be compiled
|
||||
TEST_TOOL_NAME = \
|
||||
awake \
|
||||
basic \
|
||||
benchmark \
|
||||
test01 \
|
||||
test02 \
|
||||
heap \
|
||||
prepend \
|
||||
pipes \
|
||||
server \
|
||||
containers \
|
||||
cstream \
|
||||
client \
|
||||
string \
|
||||
values \
|
||||
diningPhilosophers \
|
||||
fref \
|
||||
gstcpport-server \
|
||||
gstcpport-client \
|
||||
nsarray \
|
||||
nsattributedstring \
|
||||
nsbundle \
|
||||
nsdata \
|
||||
nsdictionary \
|
||||
nsfilehandle \
|
||||
nshost \
|
||||
nsinvocation \
|
||||
nsset \
|
||||
nsprocessinfo \
|
||||
nsarchiver \
|
||||
invocation \
|
||||
invocation_int \
|
||||
invocation_char \
|
||||
invocation_short \
|
||||
invocation_long \
|
||||
diningPhilosophers \
|
||||
nsmaptable \
|
||||
nsarray \
|
||||
nsarchiver \
|
||||
nsattributedstring \
|
||||
nsbundle \
|
||||
nscharacterset \
|
||||
nsdata \
|
||||
NSData-test \
|
||||
nsdate \
|
||||
nsdictionary \
|
||||
nsfilehandle \
|
||||
nshashtable \
|
||||
tcpport-server \
|
||||
tcpport-client \
|
||||
nshost \
|
||||
nsinvocation \
|
||||
nsmaptable \
|
||||
nsnotification \
|
||||
nsprocessinfo \
|
||||
nsscanner \
|
||||
nsset \
|
||||
nstask \
|
||||
nstimer \
|
||||
coder \
|
||||
cstream \
|
||||
fref \
|
||||
basic \
|
||||
release \
|
||||
nsscanner \
|
||||
nsdate \
|
||||
awake \
|
||||
thread-except \
|
||||
nscharacterset \
|
||||
NSData-test \
|
||||
containers \
|
||||
nstimezone \
|
||||
pipes \
|
||||
release \
|
||||
server \
|
||||
string \
|
||||
tcpport-server \
|
||||
tcpport-client \
|
||||
thread-except \
|
||||
values \
|
||||
create-abbrevs \
|
||||
create-regions
|
||||
|
||||
|
@ -177,7 +172,7 @@ DIST_FILES = $(SRCS) $(HDRS) $(DYNAMIC_MFILES) $(DYNAMIC_HFILES) \
|
|||
|
||||
-include GNUmakefile.local
|
||||
|
||||
include $(GNUSTEP_MAKEFILES)/test-tool.make
|
||||
#include $(GNUSTEP_MAKEFILES)/test-tool.make
|
||||
include $(GNUSTEP_MAKEFILES)/bundle.make
|
||||
|
||||
-include Makefile.postamble
|
||||
|
|
|
@ -8,13 +8,14 @@
|
|||
|
||||
*/
|
||||
#include "MyCategory.h"
|
||||
#include <Foundation/NSString.h>
|
||||
|
||||
@implementation NSObject(MyCategory)
|
||||
|
||||
- printMyName
|
||||
{
|
||||
printf("Class %s had MyCategory added to it\n", [self name]);
|
||||
return self;
|
||||
printf("Class %s had MyCategory added to it\n", [[self description] cString]);
|
||||
return self;
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
*/
|
||||
#include "SecondClass.h"
|
||||
#include <Foundation/NSString.h>
|
||||
|
||||
@implementation SecondClass
|
||||
|
||||
|
@ -21,8 +22,8 @@
|
|||
- printName
|
||||
|
||||
{
|
||||
printf("Hi my name is %s\n", [self name]);
|
||||
return self;
|
||||
printf("Hi my name is %s\n", [[self description] cString]);
|
||||
return self;
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
@ -9,10 +9,6 @@
|
|||
#if defined(__svr4__) || defined(__hpux) || defined(_SEQUENT_)
|
||||
long lrand48();
|
||||
#define random lrand48
|
||||
#else
|
||||
#if _WIN32 || __WIN32__
|
||||
#define random rand
|
||||
#endif
|
||||
#endif
|
||||
|
||||
int main()
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#include <Foundation/NSString.h>
|
||||
#include <Foundation/NSNotification.h>
|
||||
#include <Foundation/NSRunLoop.h>
|
||||
#include <base/Coder.h>
|
||||
#include <base/BinaryCStream.h>
|
||||
#include <Foundation/NSAutoreleasePool.h>
|
||||
#include "server.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue