forked from jcable/mcl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Julian
committed
Nov 7, 2014
1 parent
fc2af81
commit 8a11c07
Showing
756 changed files
with
126,111 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,186 @@ | ||
# $Id: Makefile,v 1.9 2005/05/12 16:03:12 moi Exp $ | ||
# | ||
# build everything... | ||
|
||
# We need the GNU make tool, on some systems it is called | ||
# gmake, on others make is an alias to gmake. Choose one... | ||
# | ||
#MAKE = make | ||
MAKE = gmake | ||
|
||
|
||
# A phony target is one that is not really the name of a file. | ||
# Using .PHONY prevents problems when a file/dir of the same name | ||
# already exists as is the case here with alc/norm. | ||
|
||
.PHONY: all | ||
all: alc norm | ||
|
||
|
||
.PHONY: alc | ||
alc: | ||
@echo "--------------------" | ||
@echo "*** MCL-ALC library ***" | ||
@echo "--------------------" | ||
cd src/alc; ${MAKE} cleanall; ${MAKE} depend; ${MAKE} | ||
@echo "--------------------" | ||
@echo "***SDP library ***" | ||
@echo "--------------------" | ||
cd src/sdp_lib/src; ${MAKE} cleanall; ${MAKE} | ||
@echo "--------------------" | ||
@echo "*** FLUTE library ***" | ||
@echo "--------------------" | ||
cd src/flute_lib; ${MAKE} cleanall; ${MAKE} depend; ${MAKE} | ||
@echo "--------------------" | ||
@echo "*** FCAST-ALC tool ***" | ||
@echo "--------------------" | ||
cd fcast; ${MAKE} cleanall_alc; ${MAKE} depend; ${MAKE} alc | ||
@echo "--------------------" | ||
@echo "*** RobCast tool ***" | ||
@echo "--------------------" | ||
cd robcast; ${MAKE} cleanall; ${MAKE} depend; ${MAKE} | ||
@echo "--------------------" | ||
@echo "*** Flute tool ***" | ||
@echo "--------------------" | ||
cd flute; ${MAKE} cleanall; ${MAKE} depend; ${MAKE} all | ||
@echo "--------------------" | ||
@echo "*** mclftp tool ***" | ||
@echo "--------------------" | ||
#cd mclftp; ${MAKE} cleanall; ${MAKE} depend; ${MAKE} | ||
@echo "skipped..." | ||
@echo "--------------------" | ||
@echo "*** ALC validation programs ***" | ||
@echo "--------------------" | ||
cd check/alc; ${MAKE} cleanall; ${MAKE} depend; ${MAKE} | ||
@echo "--------------------" | ||
@echo "*** FLUTE validation programs ***" | ||
@echo "--------------------" | ||
cd check/flute; ${MAKE} cleanall; ${MAKE} depend; ${MAKE} | ||
@echo "done" | ||
|
||
|
||
.PHONY: norm | ||
norm: | ||
@echo "--------------------" | ||
@echo "*** MCL-NORM library ***" | ||
@echo "--------------------" | ||
cd src/norm; ${MAKE} cleanall; ${MAKE} depend; ${MAKE} | ||
@echo "--------------------" | ||
@echo "*** FCAST-NORM tool ***" | ||
@echo "--------------------" | ||
cd fcast; ${MAKE} cleanall_norm; ${MAKE} depend; ${MAKE} norm | ||
@echo "--------------------" | ||
@echo "*** mclftp-NORM tool ***" | ||
@echo "--------------------" | ||
cd mclftp; ${MAKE} cleanall; ${MAKE} depend; ${MAKE} norm | ||
@echo "--------------------" | ||
@echo "*** NORM validation programs ***" | ||
@echo "--------------------" | ||
cd check/norm; ${MAKE} cleanall; ${MAKE} depend; ${MAKE} | ||
@echo "done" | ||
|
||
|
||
.PHONY: clean | ||
clean: | ||
@echo "--------------------" | ||
@echo "*** Cleaning MCL-ALC library ***" | ||
@echo "--------------------" | ||
cd src/alc; ${MAKE} clean | ||
@echo "--------------------" | ||
@echo "*** Cleaning FLUTE library ***" | ||
@echo "--------------------" | ||
cd src/flute_lib; ${MAKE} clean | ||
@echo "--------------------" | ||
@echo "*** Cleaning MCL-NORM library ***" | ||
@echo "--------------------" | ||
cd src/norm; ${MAKE} clean | ||
@echo "--------------------" | ||
@echo "*** Cleaning FCAST tool ***" | ||
@echo "--------------------" | ||
cd fcast; ${MAKE} clean | ||
@echo "--------------------" | ||
@echo "*** Cleaning RobCast tool ***" | ||
@echo "--------------------" | ||
cd robcast; ${MAKE} clean | ||
@echo "--------------------" | ||
@echo "*** Cleaning Flute tool ***" | ||
@echo "--------------------" | ||
cd flute; ${MAKE} clean | ||
@echo "--------------------" | ||
@echo "*** Cleaning SDP library ***" | ||
@echo "--------------------" | ||
cd src/sdp_lib/src; ${MAKE} clean | ||
@echo "--------------------" | ||
@echo "*** Cleaning mclftp tool ***" | ||
@echo "--------------------" | ||
cd mclftp; ${MAKE} clean | ||
@echo "--------------------" | ||
@echo "*** Cleaning ALC validation programs ***" | ||
@echo "--------------------" | ||
cd check/alc; ${MAKE} clean | ||
@echo "--------------------" | ||
@echo "*** Cleaning FLUTE validation programs ***" | ||
@echo "--------------------" | ||
cd check/flute; ${MAKE} clean | ||
@echo "--------------------" | ||
@echo "*** Cleaning NORM validation programs ***" | ||
@echo "--------------------" | ||
cd check/norm; ${MAKE} clean | ||
@echo "done" | ||
|
||
|
||
.PHONY: cleanall | ||
cleanall: | ||
@echo "--------------------" | ||
@echo "*** Cleaning MCL-ALC library ***" | ||
@echo "--------------------" | ||
cd src/alc; ${MAKE} cleanall | ||
@echo "--------------------" | ||
@echo "*** Cleaning FLUTE library ***" | ||
@echo "--------------------" | ||
cd src/flute_lib; ${MAKE} cleanall | ||
@echo "--------------------" | ||
@echo "*** Cleaning MCL-NORM library ***" | ||
@echo "--------------------" | ||
cd src/norm; ${MAKE} cleanall | ||
@echo "--------------------" | ||
@echo "*** Cleaning FCAST tool ***" | ||
@echo "--------------------" | ||
cd fcast; ${MAKE} cleanall | ||
@echo "--------------------" | ||
@echo "*** Cleaning RobCast tool ***" | ||
@echo "--------------------" | ||
cd robcast; ${MAKE} cleanall | ||
@echo "--------------------" | ||
@echo "*** Cleaning SDP library ***" | ||
@echo "--------------------" | ||
cd src/sdp_lib/src; ${MAKE} cleanall | ||
@echo "--------------------" | ||
@echo "*** Cleaning Flute tool ***" | ||
@echo "--------------------" | ||
cd flute; ${MAKE} cleanall | ||
@echo "--------------------" | ||
@echo "*** Cleaning mclftp tool ***" | ||
@echo "--------------------" | ||
cd mclftp; ${MAKE} cleanall | ||
@echo "--------------------" | ||
@echo "*** Cleaning ALC validation programs ***" | ||
@echo "--------------------" | ||
cd check/alc; ${MAKE} cleanall | ||
@echo "--------------------" | ||
@echo "*** Cleaning FLUTE validation programs ***" | ||
@echo "--------------------" | ||
cd check/flute; ${MAKE} cleanall | ||
@echo "--------------------" | ||
@echo "*** Cleaning NORM validation programs ***" | ||
@echo "--------------------" | ||
cd check/norm; ${MAKE} cleanall | ||
@echo "*** Cleaning ALC doxygen documents ***" | ||
@echo "--------------------" | ||
cd doc/doxygen/alc; rm html/*.html; rm -rf man/man3/*.3 | ||
@echo "*** Cleaning NORM doxygen documents ***" | ||
@echo "--------------------" | ||
cd doc/doxygen/norm; rm html/*.html; rm -rf man/man3/*.3 | ||
@echo "done" | ||
|
||
# DO NOT DELETE |
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,123 @@ | ||
# $Id: Makefile.common,v 1.12 2005/03/23 14:05:00 roca Exp $ | ||
# | ||
# Makefile common declarations | ||
# Edit as appropriate... | ||
# | ||
|
||
# WARNING: "ifeq" is a GNU gmake instruction! | ||
# On solaris 2.X, using /usr/ccs/bin/make instead creates an error: | ||
# "Unexpected end of line seen" | ||
|
||
###### OS Dependant Variables ###### | ||
|
||
# edit as appropriate... | ||
|
||
# Which OS ? | ||
# | ||
# automatic system detection... | ||
# NB: command shell replaces back quotes of script shells | ||
# | ||
SYSTEM = $(shell uname -s) | ||
ifeq (${SYSTEM},Linux) | ||
OS = linux | ||
endif | ||
ifeq (${SYSTEM},SunOS) | ||
OS = solaris | ||
endif | ||
ifeq (${SYSTEM},FreeBSD) | ||
OS = freebsd | ||
endif | ||
ifeq (${SYSTEM},AIX) | ||
OS = aix | ||
endif | ||
ifeq (${SYSTEM},HP-UX) | ||
OS = hp-ux | ||
endif | ||
ifeq (${SYSTEM},IRIX64) | ||
OS = irix | ||
endif | ||
# | ||
# and the old way (e.g. if the above lines do not work!) | ||
# | ||
#OS = linux | ||
#OS = solaris | ||
#OS = freebsd | ||
#OS = aix | ||
#OS = hp-ux | ||
#OS = irix | ||
|
||
|
||
# OS specific variables and tools | ||
# | ||
ifeq (${OS},linux) | ||
OSFLAGS = -DLINUX | ||
# Which compiler? | ||
# NB: use -Wall for compilation warnings with gcc | ||
# | ||
CC = g++ -Wall | ||
LD = g++ -Wall | ||
# IA-64 | ||
#CC = ecc -Wall | ||
#LD = ecc -Wall | ||
# INSURE | ||
#CC = /softs/stow/insure++-6.1.3/bin.linux2/insure | ||
#LD = /softs/stow/insure++-6.1.3/bin.linux2/insure | ||
#CC = /softs/stow/insure++-7.0/bin.linux2/insure | ||
#LD = /softs/stow/insure++-7.0/bin.linux2/insure | ||
# ARM | ||
#CC = /usr/local/arm/bin/arm-linux-g++ | ||
#LD = /usr/local/arm/bin/arm-linux-g++ | ||
endif | ||
ifeq (${OS},solaris) | ||
# NB: __EXTENSIONS__ needed by Solaris 2.5.1 | ||
# OSFLAGS = -DSOLARIS -D__EXTENSIONS__ | ||
OSFLAGS = -DSOLARIS | ||
# Which compiler? | ||
# Prefer SUN's compiler (gcc created problems with readdir | ||
# because of confusions with the UCB readdir version) | ||
# | ||
CC = /opt/SUNWspro/bin/CC | ||
LD = /opt/SUNWspro/bin/CC | ||
#CC = g++ | ||
#LD = g++ | ||
endif | ||
ifeq (${OS},freebsd) | ||
OSFLAGS = -DFREEBSD -I/usr/include/g++ -I/usr/include/c++/3.3 | ||
# Which compiler? | ||
# NB: use -Wall for compilation warnings with gcc | ||
# | ||
CC = g++ -Wall | ||
LD = g++ -Wall | ||
endif | ||
ifeq (${OS},AIX) | ||
OSFLAGS = -DAIX | ||
# Which compiler? | ||
# NB: use -Wall for compilation warnings with gcc | ||
# | ||
CC = g++ -Wall | ||
LD = g++ -Wall | ||
endif | ||
ifeq (${OS},HP-UX) | ||
OSFLAGS = -DHP-UX | ||
# Which compiler? | ||
# NB: use -Wall for compilation warnings with gcc | ||
# | ||
CC = g++ -Wall | ||
LD = g++ -Wall | ||
endif | ||
ifeq (${OS},IRIX) | ||
OSFLAGS = -DIRIX | ||
# Which compiler? | ||
# NB: use -Wall for compilation warnings with gcc | ||
# | ||
CC = g++ -Wall | ||
LD = g++ -Wall | ||
endif | ||
|
||
# Which associated tools ? | ||
AR = ar | ||
#AR = /usr/local/arm/bin/arm-linux-ar | ||
RANLIB = ranlib | ||
#RANLIB = /usr/local/arm/bin/arm-linux-ranlib | ||
DEPEND = makedepend | ||
|
Oops, something went wrong.