Patch by Syllable software to complete Syllable support. Thanks!
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1900 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
7137e1fc05
commit
46f2ec9475
13
src/Makefile
13
src/Makefile
@ -251,13 +251,12 @@ else
|
|||||||
PLATFORMFILES = gfx2.png
|
PLATFORMFILES = gfx2.png
|
||||||
LUACOPT = -I/resources/indexes/include
|
LUACOPT = -I/resources/indexes/include
|
||||||
LUALOPT = -llua
|
LUALOPT = -llua
|
||||||
|
BIN = ../bin/grafx2
|
||||||
BIN = ../bin/grafx2
|
COPT = -W -Wall -Wdeclaration-after-statement -std=c99 -c -g `sdl-config --cflags` -I/resources/indexes/include/SDL $(TTFCOPT) $(LUACOPT) $(JOYCOPT) $(VKEYCOPT) -O$(OPTIM)
|
||||||
COPT = -W -Wall -Wdeclaration-after-statement -std=c99 -c -g `sdl-config --cflags` -I/resources/indexes/include/SDL $(TTFCOPT) $(LUACOPT) $(JOYCOPT) $(VKEYCOPT) -O$(OPTIM)
|
LOPT = `sdl-config --libs` -lSDL_image $(TTFLOPT) -lpng -lz $(LUALOPT) -lm
|
||||||
LOPT = `sdl-config --libs` -lSDL_image $(TTFLOPT) -lpng -lz $(LUALOPT) -lm
|
CC = gcc
|
||||||
CC = gcc
|
OBJDIR = ../obj/syllable
|
||||||
OBJDIR = ../obj/syllable
|
X11LOPT =
|
||||||
X11LOPT =
|
|
||||||
else
|
else
|
||||||
# Finally, the default rules that work fine for most unix/gcc systems, linux and freebsd are tested.
|
# Finally, the default rules that work fine for most unix/gcc systems, linux and freebsd are tested.
|
||||||
# Linux and FreeBSD specific (default rules)
|
# Linux and FreeBSD specific (default rules)
|
||||||
|
|||||||
@ -30,7 +30,7 @@
|
|||||||
#elif defined(__macosx__) || defined(__FreeBSD__)
|
#elif defined(__macosx__) || defined(__FreeBSD__)
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/mount.h>
|
#include <sys/mount.h>
|
||||||
#elif defined (__linux__)
|
#elif defined (__linux__) || defined(__SYLLABLE__)
|
||||||
#include <sys/vfs.h>
|
#include <sys/vfs.h>
|
||||||
#elif defined (__HAIKU__)
|
#elif defined (__HAIKU__)
|
||||||
#include "haiku.h"
|
#include "haiku.h"
|
||||||
@ -786,7 +786,7 @@ void Button_Stats(void)
|
|||||||
GetDiskFreeSpaceEx(Main_current_directory,&tailleU,NULL,NULL);
|
GetDiskFreeSpaceEx(Main_current_directory,&tailleU,NULL,NULL);
|
||||||
mem_size = tailleU.QuadPart;
|
mem_size = tailleU.QuadPart;
|
||||||
}
|
}
|
||||||
#elif defined(__linux__) || defined(__macosx__) || defined(__FreeBSD__)
|
#elif defined(__linux__) || defined(__macosx__) || defined(__FreeBSD__) || defined(__SYLLABLE__)
|
||||||
{
|
{
|
||||||
struct statfs disk_info;
|
struct statfs disk_info;
|
||||||
statfs(Main_current_directory,&disk_info);
|
statfs(Main_current_directory,&disk_info);
|
||||||
|
|||||||
@ -443,6 +443,10 @@ static const T_Help_table helptable_credits[] =
|
|||||||
HELP_TEXT ("")
|
HELP_TEXT ("")
|
||||||
HELP_TEXT (" Luc Schrijvers (Begasus)")
|
HELP_TEXT (" Luc Schrijvers (Begasus)")
|
||||||
HELP_TEXT ("")
|
HELP_TEXT ("")
|
||||||
|
HELP_BOLD (" SYLLABLE PORT")
|
||||||
|
HELP_TEXT ("")
|
||||||
|
HELP_TEXT (" Syllable Software")
|
||||||
|
HELP_TEXT ("")
|
||||||
//HELP_TEXT ("0----5----0----5----0X---5----0----5----0--X")
|
//HELP_TEXT ("0----5----0----5----0X---5----0----5----0--X")
|
||||||
HELP_BOLD (" HAIKU OS AND BEOS PORT")
|
HELP_BOLD (" HAIKU OS AND BEOS PORT")
|
||||||
HELP_TEXT ("")
|
HELP_TEXT ("")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user