head	1.3;
access;
symbols
	LTP_20031204:1.1.1.1 LINUX_TEST_PROJECT:1.1.1;
locks; strict;
comment	@# @;


1.3
date	2004.01.01.07.51.33;	author mtm;	state Exp;
branches;
next	1.2;

1.2
date	2003.12.31.14.54.55;	author mtm;	state Exp;
branches;
next	1.1;

1.1
date	2003.12.31.08.57.33;	author mtm;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2003.12.31.08.57.33;	author mtm;	state Exp;
branches;
next	;


desc
@@


1.3
log
@o Put a note in the top-level makefile that FreeBSD users should
  use gmake instead of make.
o Remove the note about needing root creds to install the tests
@
text
@#
# ---FREEBSD---  Use gmake instead of make ---FREEBSD---
#
# To cross compile, override one or more of CC, AR, CROSS_CFLAGS,
# LOADLIBES, LDFLAGS, & LIB_DIR and be sure to always build from the top level.
#
# To override them from the make commandline, do something like this:
# $ CROSS_COMPILER=/opt/cegl-1.4/hardhat/devkit/ppc/405/bin/powerpc-linux-
# $ make \
#     CROSS_CFLAGS="-mcpu=403 -D__PPC405__" \
#     CC=${CROSS_COMPILER}gcc \
#     AR=${CROSS_COMPILER}ar \
#     LDFLAGS=-static \
#     LOADLIBES="-lpthread -lc -lresolv -lnss_dns -lnss_files -lm -lc"
#
# Alternately, to override them by editing this file, uncomment the 
# following lines:
#   CROSS_COMPILER=/opt/ppc64/powerpc64-linux/bin/powerpc64-linux-
#   CROSS_CFLAGS= -mpowerpc64
#   CC=$(CROSS_COMPILER)gcc
#   AR=$(CROSS_COMPILER)ar 
#   LDFLAGS=-static 
#   LOADLIBES=-lpthread -lc -lresolv -lnss_dns -lnss_files -lm -lc
#   LIB_DIR=/lib64
#   export CC AR LDFLAGS LOADLIBES LIB_DIR
#
# Note: If you override a variable from the commandline all
# assignments to it in the Makefiles will be ignored. To set it both 
# in the commandline and in the Makefiles use a dummy variable like in
# CFLAGS
#
# $FreeBSD$

export CFLAGS+= -Wall $(CROSS_CFLAGS)

all: libltp.a 
	@@$(MAKE) -C local $@@
	@@$(MAKE) -C pan $@@
	@@$(MAKE) -C testcases $@@
	@@$(MAKE) -C tools $@@
	@@echo
	@@echo "***********************************************"
	@@echo "** You now need to do a gmake install        **"
	@@echo "***********************************************"

install: all
	@@$(MAKE) -C testcases install
	@@$(MAKE) -C tools install
	@@./IDcheck.sh

libltp.a:
	@@$(MAKE) -C lib $@@

menuconfig:
	@@./ltpmenu

clean:
	@@$(MAKE) -C lib $@@
	@@$(MAKE) -C pan $@@
	@@$(MAKE) -C tools $@@
	@@$(MAKE) -C testcases $@@
@


1.2
log
@Hook up the porting aid directory to the build.
@
text
@d1 3
d43 1
a43 1
	@@echo "** You now need to do a make install as root **"
@


1.1
log
@Initial revision
@
text
@d28 2
d34 1
@


1.1.1.1
log
@Initial import of the Linux Test Project (http://ltp.sourceforge.net).

This import is minus the Posix test suite, which will be imported separately,
and the HPI suite, which doesn't concern us.
@
text
@@
