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


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

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


desc
@@



1.1
log
@Initial revision
@
text
@VERSION      := 3
SUBVERSION   := 1
MINORVERSION := 5
TARVERSION   := 3.1.5
LIBVERSION   := 3.1.5

ldconfig := ldconfig
ln_f     := ln -f
ln_sf    := ln -sf


CURSES := -lncurses

LDFLAGS += -Wl,-warn-common 

CFLAGS += -I/usr/include -w -D_GNU_SOURCE -O2 -g3 -fno-common -ffast-math -I proc \
  -W -Wall -Wshadow -Wcast-align -Wredundant-decls \
  -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return \
#  -Wpadded -Wunreachable-code -Wdisabled-optimization \
  -Wstrict-prototypes -Wmissing-prototypes # -Wconversion


all: do_all

-include */module.mk

do_all: top

clean:
	rm -f top top.o proc/libproc.* proc/*.o

###### install

ifeq ($(LIB_DIR),)
LIB_DIR=/lib
endif

install: 
	@@set -e; ln -f top ../../testcases/bin
	@@set -e; cp -f proc/libproc.so.$(LIBVERSION) $(LIB_DIR) 
	@@set -e; ln -fs $(LIB_DIR)/libproc.so.$(LIBVERSION) $(LIB_DIR)/libproc.so
 
############ prog.c --> prog.o

%.o : %.c
	@@set -e;$(CC) $(CFLAGS) -c -o $@@ $^ 

############ prog.o --> prog

top:   % : %.o $(LIBPROC)
	@@set -e;$(CC) $(LDFLAGS) -o $@@ $^ $(CURSES) 


@


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
@@
