First commit - second part
Former-commit-id: 202296404e6a70f8ae96db99faffb456104c57e9 Former-commit-id: 118417735d2055683607df9809c9b721cc1b1bab
This commit is contained in:
26
config/ports/i386-darwin.conf
Normal file
26
config/ports/i386-darwin.conf
Normal file
@ -0,0 +1,26 @@
|
||||
#
|
||||
# $Id: i386-darwin.conf 1825 2013-02-26 09:39:47Z viari $
|
||||
#
|
||||
# i386-darwin.conf
|
||||
# configuration file for MacOS-X/Intel-Based/Darwin 1.2 with gcc compiler
|
||||
# this file is included in Makefile
|
||||
#
|
||||
# system (uname -srp) : Darwin 8.7.1 i386
|
||||
# compiler (cc --version) : i686-apple-darwin8-gcc-4.0.1
|
||||
#
|
||||
# check tags
|
||||
# @uname:uname -srp:Darwin 8.7.1 i386
|
||||
# @cc:cc --version:i686-apple-darwin8-gcc-4.0.1
|
||||
#
|
||||
#
|
||||
|
||||
# ------------------------------------
|
||||
# General compilation flags
|
||||
# ------------------------------------
|
||||
|
||||
#
|
||||
# MACHDEF : define machine and OS specific flags
|
||||
#
|
||||
|
||||
MACHDEF = -DLX_TARGET_MACINTEL -DLITTLE_ENDIAN -DMACOSX
|
||||
|
32
config/ports/i386-linux.conf
Executable file
32
config/ports/i386-linux.conf
Executable file
@ -0,0 +1,32 @@
|
||||
#
|
||||
# $Id: i386-linux.conf 1825 2013-02-26 09:39:47Z viari $
|
||||
#
|
||||
# i386-linux.conf
|
||||
# configuration file for linux ix86 with GNU gcc compiler
|
||||
# this file is included in Makefile
|
||||
#
|
||||
# system (uname -srp) : Linux 2.2.14-5.0 unknown
|
||||
# compiler (gcc --version) : egcs-2.91.66
|
||||
#
|
||||
# check tags
|
||||
# @uname:uname -srp:Linux 2.2.14-5.0 unknown
|
||||
# @cc:cc --version:egcs-2.91.66
|
||||
#
|
||||
#
|
||||
|
||||
# ------------------------------------
|
||||
# General compilation flags
|
||||
# ------------------------------------
|
||||
|
||||
#
|
||||
# MACHDEF : define machine and OS specific flags
|
||||
#
|
||||
|
||||
MACHDEF = -DLX_TARGET_LINUX -DLITTLE_ENDIAN
|
||||
|
||||
#
|
||||
# MATH_LIBS : machine specific math librairies
|
||||
#
|
||||
|
||||
MATH_LIBS = -lm
|
||||
|
32
config/ports/ppc-darwin.conf
Executable file
32
config/ports/ppc-darwin.conf
Executable file
@ -0,0 +1,32 @@
|
||||
#
|
||||
# $Id: ppc-darwin.conf 1825 2013-02-26 09:39:47Z viari $
|
||||
#
|
||||
# ppc-darwin.conf
|
||||
# configuration file for MacOS-X/Darwin 1.2 with native cc compiler
|
||||
# this file is included in Makefile
|
||||
#
|
||||
# system (uname -srp) : Darwin 1.2 powerpc
|
||||
# compiler (cc --version) : 2.7.2.1
|
||||
#
|
||||
# check tags
|
||||
# @uname:uname -srp:Darwin 1.2 powerpc
|
||||
# @cc:cc --version:2.7.2.1
|
||||
#
|
||||
#
|
||||
|
||||
# ------------------------------------
|
||||
# General compilation flags
|
||||
# ------------------------------------
|
||||
|
||||
#
|
||||
# MACHDEF : define machine and OS specific flags
|
||||
#
|
||||
|
||||
MACHDEF = -DLX_TARGET_MACPPC -DBIG_ENDIAN
|
||||
|
||||
#
|
||||
# CC : name of (ansi C) compiler to use
|
||||
#
|
||||
|
||||
CC = cc -arch ppc
|
||||
|
31
config/ports/sparc-solaris.conf
Executable file
31
config/ports/sparc-solaris.conf
Executable file
@ -0,0 +1,31 @@
|
||||
#
|
||||
# $Id: sparc-solaris.conf 1825 2013-02-26 09:39:47Z viari $
|
||||
#
|
||||
# sparc-solaris.conf
|
||||
# configuration file for sparc solaris with GNU gcc compiler
|
||||
# this file is included in Makefile
|
||||
#
|
||||
# system (uname -srp) : SunOS 5.8 sparc
|
||||
# compiler (gcc --version) : 2.95.2
|
||||
#
|
||||
# check tags
|
||||
# @uname:uname -srp:SunOS 5.8 sparc
|
||||
# @cc:cc --version:2.95.2
|
||||
#
|
||||
#
|
||||
|
||||
# ------------------------------------
|
||||
# General compilation flags
|
||||
# ------------------------------------
|
||||
|
||||
#
|
||||
# MACHDEF : define machine and OS specific flags
|
||||
#
|
||||
|
||||
MACHDEF = -DLX_TARGET_SOLARIS -DBIG_ENDIAN
|
||||
|
||||
#
|
||||
# MATH_LIBS : machine specific math librairies
|
||||
#
|
||||
|
||||
MATH_LIBS = -lm
|
54
config/ports/x86-mingw32.conf
Normal file
54
config/ports/x86-mingw32.conf
Normal file
@ -0,0 +1,54 @@
|
||||
#
|
||||
# $Id: x86-mingw32.conf 1825 2013-02-26 09:39:47Z viari $
|
||||
#
|
||||
# x86-mingw32
|
||||
# configuration file for MinGW with GNU gcc compiler.
|
||||
#
|
||||
# this file is included in Makefile
|
||||
#
|
||||
#
|
||||
|
||||
#
|
||||
# rename PORTNAME safely since MinGW produce pure win32 executables
|
||||
# without dll's
|
||||
#
|
||||
|
||||
PORTNAME = x86-win32
|
||||
|
||||
# ------------------------------------
|
||||
# General compilation flags
|
||||
# ------------------------------------
|
||||
|
||||
#
|
||||
# CC_LIBS : additionnal machine specific $(CC) libraries
|
||||
#
|
||||
# libiberty is needed for some system extensions (like mkstemps)
|
||||
#
|
||||
|
||||
CC_LIBS = -liberty
|
||||
|
||||
#
|
||||
# MACHDEF : define machine and OS specific flags
|
||||
#
|
||||
# -DDLMALLOC : use dlmalloc instead of malloc (which does not have mallinfo)
|
||||
# -posix is a new replacement for several MinGW32 flags, including:
|
||||
# -D__USE_MINGW_ANSI_STDIO : mingw gcc flag to recognize the C99 "%zu" format
|
||||
#
|
||||
|
||||
MACHDEF = -posix -DLX_TARGET_WIN32 -DWIN_MINGW -DDLMALLOC -DLITTLE_ENDIAN
|
||||
|
||||
#
|
||||
# MATH_LIBS : machine specific math librairies
|
||||
#
|
||||
|
||||
MATH_LIBS = -lm
|
||||
|
||||
# ------------------------------------
|
||||
# General system commands
|
||||
# ------------------------------------
|
||||
|
||||
#
|
||||
# DIFF : diff command / should ignore cr on windows
|
||||
#
|
||||
|
||||
DIFF = diff --strip-trailing-cr
|
Reference in New Issue
Block a user