-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: file:///Users/avp/tmp/svn.20121212/LHPC/aff/trunk@2255 65d2813f-f11f-0410-b17b-8647a28db151
- Loading branch information
avp
committed
Aug 10, 2011
1 parent
15ab460
commit 4575b9b
Showing
3 changed files
with
182 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# This file is included into GNU Make file. | ||
# | ||
# Our build C compiler. It should support enough of C99. | ||
TOOLS=/bgsys/drivers/ppcfloor/gnu-linux | ||
CC=$(TOOLS)/bin/powerpc-bgp-linux-gcc -std=c99 | ||
CXX=$(TOOLS)/bin/powerpc-bgp-linux-gcc | ||
# | ||
# To build applications on top of the AFF library, one calls the following | ||
# compiler. It might be different from the build compiler. | ||
install.CC=$(CC) | ||
# | ||
# Build C flags. | ||
# HAS_INTEGRAL_OFF_T is set if off_t is compatible with uint64_t on assignment. | ||
# AFF_DEBUG is set if internal stess are needed for debugging. This makes code | ||
# slow. | ||
# _POSIX_C_SOURCE is needed to make gcc aware of some POSIX functions. | ||
# _LARGEFILE_SOURCE is needed to work with files larger than 2GB. | ||
# _FILE_OFFSET_BITS=64 is needed work with files larger than 2GB. | ||
CFLAGS= -Wall -O2 -DHAS_INTEGRAL_OFF_T \ | ||
-D_POSIX_C_SOURCE \ | ||
-D_LARGEFILE_SOURCE \ | ||
-D_FILE_OFFSET_BITS=64 | ||
CXXFLAGS= $(CFLAGS) -I. | ||
# | ||
# To build applications on top of the AFF library, one needs to pass | ||
# the following flags to the compiler. | ||
# Do not place the location of the installed headers here. It will be added | ||
# during the install process. | ||
install.CFLAGS= | ||
# | ||
# Extra libraries that are needed by AFF. | ||
install.LIBS= | ||
# | ||
# If extra flags are needed during the linking phase, add them here | ||
install.LDFLAGS= | ||
# | ||
# The librarian. | ||
AR=$(TOOLS)/bin/powerpc-bgp-linux-ar | ||
# | ||
# On some platform, a ranlib is required to make a library accessible. | ||
RANLIB=$(TOOLS)/bin/powerpc-bgp-linux-ranlib | ||
# | ||
# Where to install | ||
prefix=$$HOME/lhpc | ||
# | ||
# By default, binaries go into $(prefix)/bin. If you want to select | ||
# another distination, set prefix_bin. | ||
#prefix_bin=$(prefix)/bin | ||
# | ||
# By default, C headers go into $(prefix)/include. If you want to select | ||
# another distination, set prefix_include. | ||
#prefix_include=$(prefix)/include | ||
# | ||
# By default, libraries go into $(prefix)/lib. If you want to select | ||
# another distination, set prefix_lib. | ||
#prefix_lib=$(prefix)/lib | ||
# | ||
# By default, documentation goes into $(prefix)/doc. If you want to select | ||
# another distination, set prefix_doc. | ||
#prefix_doc=$(prefix)/doc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# This file is included into GNU Make file. | ||
# | ||
# Our build C compiler. It should support enough of C99. | ||
CC=gcc -m32 -g -std=c99 | ||
# | ||
# To build applications on top of the AFF library, one calls the following | ||
# compiler. It might be different from the build compiler. | ||
install.CC=$(CC) | ||
# | ||
# Build C flags. | ||
# HAS_INTEGRAL_OFF_T is set if off_t is compatible with uint64_t on assignment. | ||
# AFF_DEBUG is set if internal stess are needed for debugging. This makes code | ||
# slow. | ||
# _POSIX_C_SOURCE is needed to make gcc aware of some POSIX functions. | ||
# _LARGEFILE_SOURCE is needed to work with files larger than 2GB. | ||
# _FILE_OFFSET_BITS=64 is needed work with files larger than 2GB. | ||
CFLAGS=-Wall -O2 -DHAS_INTEGRAL_OFF_T \ | ||
-D_POSIX_C_SOURCE \ | ||
-D_LARGEFILE_SOURCE \ | ||
-D_FILE_OFFSET_BITS=64 | ||
# | ||
# C++ compiler and flags | ||
CXX = gcc | ||
CXXFLAGS = $(CFLAGS) -I. | ||
# | ||
# To build applications on top of the AFF library, one needs to pass | ||
# the following flags to the compiler. | ||
# Do not place the location of the installed headers here. It will be added | ||
# during the install process. | ||
install.CFLAGS= | ||
# | ||
# Extra libraries that are needed by AFF. | ||
install.LIBS= | ||
# | ||
# If extra flags are needed during the linking phase, add them here | ||
install.LDFLAGS= | ||
# | ||
# The librarian. | ||
AR=ar | ||
# | ||
# On some platform, a ranlib is required to make a library accessible. | ||
RANLIB=ranlib | ||
# | ||
# Where to install | ||
prefix=$$HOME/lhpc | ||
# | ||
# By default, binaries go into $(prefix)/bin. If you want to select | ||
# another distination, set prefix_bin. | ||
#prefix_bin=$(prefix)/bin | ||
# | ||
# By default, C headers go into $(prefix)/include. If you want to select | ||
# another distination, set prefix_include. | ||
#prefix_include=$(prefix)/include | ||
# | ||
# By default, libraries go into $(prefix)/lib. If you want to select | ||
# another distination, set prefix_lib. | ||
#prefix_lib=$(prefix)/lib | ||
# | ||
# By default, documentation goes into $(prefix)/doc. If you want to select | ||
# another distination, set prefix_doc. | ||
#prefix_doc=$(prefix)/doc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# This file is included into GNU Make file. | ||
# | ||
# Our build C compiler. It should support enough of C99. | ||
CC=gcc -m64 -g -std=c99 | ||
# | ||
# To build applications on top of the AFF library, one calls the following | ||
# compiler. It might be different from the build compiler. | ||
install.CC=$(CC) | ||
# | ||
# Build C flags. | ||
# HAS_INTEGRAL_OFF_T is set if off_t is compatible with uint64_t on assignment. | ||
# AFF_DEBUG is set if internal stess are needed for debugging. This makes code | ||
# slow. | ||
# _POSIX_C_SOURCE is needed to make gcc aware of some POSIX functions. | ||
# _LARGEFILE_SOURCE is needed to work with files larger than 2GB. | ||
# _FILE_OFFSET_BITS=64 is needed work with files larger than 2GB. | ||
CFLAGS=-Wall -O2 -DHAS_INTEGRAL_OFF_T \ | ||
-D_POSIX_C_SOURCE \ | ||
-D_LARGEFILE_SOURCE \ | ||
-D_FILE_OFFSET_BITS=64 | ||
# | ||
# C++ compiler and flags | ||
CXX = gcc -m64 | ||
CXXFLAGS = $(CFLAGS) -I. | ||
# | ||
# To build applications on top of the AFF library, one needs to pass | ||
# the following flags to the compiler. | ||
# Do not place the location of the installed headers here. It will be added | ||
# during the install process. | ||
install.CFLAGS= | ||
# | ||
# Extra libraries that are needed by AFF. | ||
install.LIBS= | ||
# | ||
# If extra flags are needed during the linking phase, add them here | ||
install.LDFLAGS= | ||
# | ||
# The librarian. | ||
AR=ar | ||
# | ||
# On some platform, a ranlib is required to make a library accessible. | ||
RANLIB=ranlib | ||
# | ||
# Where to install | ||
prefix=$$HOME/lhpc | ||
# | ||
# By default, binaries go into $(prefix)/bin. If you want to select | ||
# another distination, set prefix_bin. | ||
#prefix_bin=$(prefix)/bin | ||
# | ||
# By default, C headers go into $(prefix)/include. If you want to select | ||
# another distination, set prefix_include. | ||
#prefix_include=$(prefix)/include | ||
# | ||
# By default, libraries go into $(prefix)/lib. If you want to select | ||
# another distination, set prefix_lib. | ||
#prefix_lib=$(prefix)/lib | ||
# | ||
# By default, documentation goes into $(prefix)/doc. If you want to select | ||
# another distination, set prefix_doc. | ||
#prefix_doc=$(prefix)/doc |