Skip to content

Commit

Permalink
merge from rel-3-0 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentWei committed Oct 26, 2017
1 parent 7925f77 commit 92741ea
Show file tree
Hide file tree
Showing 4 changed files with 333 additions and 0 deletions.
224 changes: 224 additions & 0 deletions build/config-vxworks-mips.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,224 @@
/* mgplusconfig.h. Generated from mgplusconfig.h.in by configure. */
/* mgplusconfig.h.in. Generated from configure.in by autoheader. */

/* Define to 1 if the `closedir' function returns void instead of `int'. */
/* #undef CLOSEDIR_VOID */

/* Define to 1 if you have the `bzero' function. */
#define HAVE_BZERO 1

/* Define to 1 if you have the declaration of `_MGRM_THREADS', and to 0 if you
don't. */
#define HAVE_DECL__MGRM_THREADS 1

/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
*/
#define HAVE_DIRENT_H 1

/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1

/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
/* #undef HAVE_DOPRNT */

/* Define to 1 if you have the `dup2' function. */
#define HAVE_DUP2 1

/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1

/* Define to 1 if you have the `fork' function. */
#define HAVE_FORK 1

/* Define to 1 if you have the `getcwd' function. */
#define HAVE_GETCWD 1

/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1

/* Define to 1 if you have the `memmove' function. */
#define HAVE_MEMMOVE 1

/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1

/* Define to 1 if you have the `memset' function. */
#define HAVE_MEMSET 1

/* Define to 1 if you have the <minigui/common.h> header file. */
#define HAVE_MINIGUI_COMMON_H 1

/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
/* #undef HAVE_NDIR_H */

/* Define to 1 if you have the `putenv' function. */
#define HAVE_PUTENV 1

/* Define to 1 if `stat' has the bug that it succeeds when given the
zero-length file name argument. */
/* #undef HAVE_STAT_EMPTY_STRING_BUG */

/* Define to 1 if stdbool.h conforms to C99. */
#define HAVE_STDBOOL_H 1

/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1

/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1

/* Define to 1 if you have the `strchr' function. */
#define HAVE_STRCHR 1

/* Define to 1 if you have the `strdup' function. */
#define HAVE_STRDUP 1

/* Define to 1 if you have the `strerror' function. */
#define HAVE_STRERROR 1

/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1

/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1

/* Define to 1 if you have the `strstr' function. */
#define HAVE_STRSTR 1

/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_SYS_DIR_H */

/* Define to 1 if you have the <sys/ioctl.h> header file. */
#define HAVE_SYS_IOCTL_H 1

/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_SYS_NDIR_H */

/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1

/* Define to 1 if you have the <sys/time.h> header file. */
#define HAVE_SYS_TIME_H 1

/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1

/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
#define HAVE_SYS_WAIT_H 1

/* Define to 1 if you have the <termios.h> header file. */
#define HAVE_TERMIOS_H 1

/* Define to 1 if you have the <termio.h> header file. */
#define HAVE_TERMIO_H 1

/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1

/* Define to 1 if you have the `vfork' function. */
#define HAVE_VFORK 1

/* Define to 1 if you have the <vfork.h> header file. */
/* #undef HAVE_VFORK_H */

/* Define to 1 if you have the `vprintf' function. */
#define HAVE_VPRINTF 1

/* Define to 1 if `fork' works. */
#define HAVE_WORKING_FORK 1

/* Define to 1 if `vfork' works. */
#define HAVE_WORKING_VFORK 1

/* Define to 1 if the system has the type `_Bool'. */
#define HAVE__BOOL 1

/* Define to 1 if `lstat' dereferences a symlink specified with a trailing
slash. */
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1

/* Binary age of mGPlus */
#define MGPLUS_BINARY_AGE 0

/* Interface age of mGPlus */
#define MGPLUS_INTERFACE_AGE 0

/* Major version of mGPlus */
#define MGPLUS_MAJOR_VERSION 1

/* Micro version of mGPlus */
#define MGPLUS_MICRO_VERSION 0

/* Minor version of mGPlus */
#define MGPLUS_MINOR_VERSION 2

/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT ""

/* Define to the full name of this package. */
#define PACKAGE_NAME "libmgplus"

/* Define to the full name and version of this package. */
#define PACKAGE_STRING "libmgplus 1.2.0"

/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "libmgplus"

/* Define to the version of this package. */
#define PACKAGE_VERSION "1.2.0"

/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1

/* Define to 1 if your <sys/time.h> declares `struct tm'. */
/* #undef TM_IN_SYS_TIME */

/* Define if support color composite */
#define _MGPLUS_COLORCOMPOSITE 1

/* Define if support TrueType font based on FreeType2 */
/* #undef _MGPLUS_FONT_FT2 */

/* Define if support gradient fill */
#define _MGPLUS_GRADIENTFILL 1

/* Define if include Fashion LFRDR */
#define _MGPLUS_LFRDR_FASHION 1

/* Define if support pixel format ABGR32 */
#define _MGPLUS_PIXFMT_ABGR32 1

/* Define if support pixel format BGR24 */
#define _MGPLUS_PIXFMT_BGR24 1

/* Define if support pixel format BGRA32 */
#define _MGPLUS_PIXFMT_BGRA32 1

/* Define if support pixel format RGB24 */
#define _MGPLUS_PIXFMT_RGB24 1

/* Define if support pixel format RGB555 */
#define _MGPLUS_PIXFMT_RGB555 1

/* Define if support pixel format RGB565 */
#define _MGPLUS_PIXFMT_RGB565 1

/* Define if support pixel format RGBA32 */
#define _MGPLUS_PIXFMT_RGBA32 1

/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */

/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
/* #undef inline */
#endif

/* Define to `int' if <sys/types.h> does not define. */
/* #undef pid_t */

/* Define as `fork' if `vfork' does not work. */
/* #undef vfork */
34 changes: 34 additions & 0 deletions build/rules-mips.vxworks
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# rules for pc-vxworks

AS=
CC=ccmips
CXX=c++mips
CPP=ccmips
AR=armips
RANLIB=ranlibmips
MAKE=/usr/bin/make

ARFLAGS=crus
COFLAG=-c

OBJ=o
LIBA=a

SOFLAGS=-o

#PREFIX=/cygdrive/e/MiniGUI-3.0.8-EE-VxWorks-MIPS/MiniGUI-3.0.8-EE-VxWorks-MIPS/target
PREFIX=/cygdrive/c/minigui/target
#vxworks6.0
#TARGET_DIR=C:/WindRiver/vxworks-6.0/target

#vxworks5.5.1
TARGET_DIR=/cygdrive/c/Tornado2.2/target

LOCAL_INC+=-I${TARGET_DIR}/h
#abs_top_srcdir=/cygdrive/c/minigui/minigui
#abs_top_srcdir=/cygdrive/e/MiniGUI-3.0.8-EE-VxWorks-MIPS/MiniGUI-3.0.8-EE-VxWorks-MIPS/minigui/
CFLAGS+=-g -G 0 -mno-branch-likely -mips3 -EL -D__LITTLE_ENDIAN__ -fno-builtin -DMIPSEL -D__mips__ -D__MIPSEL__ -DCPU=MIPS64 -DTOOL_FAMILY=gnu -DTOOL=gnule
CXXFLAGS+=-g -G 0 -mno-branch-likely -mips3 -EL -D__LITTLE_ENDIAN__ -fno-builtin -DMIPSEL -D__mips__ -D__MIPSEL__ -DCPU=MIPS64 -DTOOL_FAMILY=gnu -DTOOL=gnule

TARGET_OS=vxworks
#CFLAGS+=-g -mips3 -EL -D__LITTLE_ENDIAN__ -Wall -DTOOL_FAMILY=gnu -DTOOL=gnu -D_WRS_KERNEL -DMIPSEL -DCPU=MIPS64 -D__mips__ -D__MIPSEL__
37 changes: 37 additions & 0 deletions build/rules-pc.linux
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# rules for pc-linux

# set your own targaet_os
TARGET_OS=linux

##################################################
# set your compile tool #
CC=gcc
CXX=g++
CPP=g++
AR=ar
AS=as
RANLIB=ranlib
MAKE=/usr/bin/make
##################################################

ARFLAGS=-rc
COFLAG=-c

OBJ=o
LIBA=a

##################################################
# if you don't want to create dynamic, delete it #
LIBSO=so
SOFLAGS=-fPIC -shared -o
##################################################


##################################################
# set your compile flags and install prefix path #
#PREFIX=/usr/local
CFLAGS+=-g -Wall -fPIC
CXXFLAGS+=-g -Wall -fPIC `pkg-config --cflags freetype2`
LDFLAGS+=
##################################################

38 changes: 38 additions & 0 deletions build/rules.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# an sample of the makefile.ng rules

# set your own targaet_os
TARGET_OS=your_target_os

##################################################
# set your compile tool #
CC=gcc
CXX=g++
CPP=g++
AR=ar
AS=as
RANLIB=ranlib
MAKE=/usr/bin/make
##################################################

ARFLAGS=-rc
COFLAG=-c

OBJ=o
LIBA=a

##################################################
# if you don't want to create dynamic, delete it #
LIBSO=so
SOFLAGS=-fPIC -shared -o
##################################################


##################################################
# set your compile flags and install prefix path #
PREFIX=/usr/local
CFLAGS+=-g -Wall
CXXFLAGS+=-g -Wall
CPPFLAGS+=-g -Wall
LDFLAGS+=
##################################################

0 comments on commit 92741ea

Please sign in to comment.