* Sebastien Dugue <[EMAIL PROTECTED]> [2008-04-17 13:38:39]:

>   The rttest, stats and jvmsim library archives used by the realtime tests
> only contain a single object file each. Therefore we can skip the "ar" and
> "ranlib" steps and directly link with the objects.
> 
> Signed-off-by: Sebastien Dugue <[EMAIL PROTECTED]>
> Cc: Darren Hart <[EMAIL PROTECTED]>
> Cc: Tim Chavez <[EMAIL PROTECTED]>
Acked-by: Chirag <[EMAIL PROTECTED]>

> ---
>  testcases/realtime/config.mk    |    6 +++---
>  testcases/realtime/lib/Makefile |   16 +++-------------
>  2 files changed, 6 insertions(+), 16 deletions(-)
> 
> diff --git a/testcases/realtime/config.mk b/testcases/realtime/config.mk
> index 2ec34d3..19ccddc 100644
> --- a/testcases/realtime/config.mk
> +++ b/testcases/realtime/config.mk
> @@ -18,8 +18,8 @@ endif
>  #
>  CPPFLAGS += -I$(srcdir)/include -D_GNU_SOURCE
>  CFLAGS   += -Wall
> -LDLIBS   += $(srcdir)/lib/libjvmsim.a \
> -        $(srcdir)/lib/librttest.a \
> -        $(srcdir)/lib/libstats.a \
> +LDLIBS   += $(srcdir)/lib/libjvmsim.o \
> +        $(srcdir)/lib/librttest.o \
> +        $(srcdir)/lib/libstats.o \
>          -lpthread -lrt -lm
> 
> diff --git a/testcases/realtime/lib/Makefile b/testcases/realtime/lib/Makefile
> index ee99a85..667b419 100644
> --- a/testcases/realtime/lib/Makefile
> +++ b/testcases/realtime/lib/Makefile
> @@ -3,22 +3,12 @@ srcdir := ..
>  include $(srcdir)/config.mk
> 
> 
> -AR ?= ar
> -RANLIB ?= ranlib
> -
> -
> -SRCS = libjvmsim.c librttest.c libstats.c
> -OBJS = $(SRCS:%.c=%.o)
> -TARGETS      = $(SRCS:%.c=%.a)
> +SRCS = $(wildcard *.c)
> +TARGETS      = $(SRCS:%.c=%.o)
> 
>  all: $(TARGETS)
> 
> -%.a: %.o
> -     @rm -f $@
> -     $(AR) cru $@ $<
> -     $(RANLIB) $@
> -
>  install:
> 
>  clean:
> -     rm -f $(TARGETS) $(OBJS) *~
> +     rm -f $(TARGETS) *~
> -- 
> 1.5.4.rc2.84.gf85fd-dirty
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Ltp-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ltp-list

-- 
Cheers,
Chirag Jog


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to