Browse Source

as we use automake, we can get rid of the useless Makefile.in that remains

Cédric Augonnet 16 years ago
parent
commit
1237eba151

+ 0 - 46
examples/cholesky/Makefile.in

@@ -1,46 +0,0 @@
-#
-# StarPU
-# Copyright (C) INRIA 2008-2009 (see AUTHORS file)
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or (at
-# your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# See the GNU Lesser General Public License in COPYING.LGPL for more details.
-#
-
-export PKG_CONFIG_PATH=@STARPUDIR@
-
-LIBS+=$$(pkg-config --libs libstarpu)
-CFLAGS+=$$(pkg-config --cflags libstarpu)
-
-LDFLAGS+= ../common/blas.o
-
-all: dw_cholesky dw_cholesky_no_stride
-
-dw_cholesky_models.o: dw_cholesky_models.h dw_cholesky_models.c
-	$(CC) $(CFLAGS) dw_cholesky_models.c -c -o dw_cholesky_models.o
-
-dw_cholesky_kernels.o: dw_cholesky_kernels.c
-	$(CC) $(CFLAGS) dw_cholesky_kernels.c -c -o dw_cholesky_kernels.o
-
-dw_cholesky_no_stride.o: dw_cholesky_no_stride.c
-	$(CC) $(CFLAGS) dw_cholesky_no_stride.c -c -o dw_cholesky_no_stride.o
-
-dw_cholesky.o: dw_cholesky.c
-	$(CC) $(CFLAGS) dw_cholesky.c -c -o dw_cholesky.o
-
-dw_cholesky_no_stride:  $(STARPU) dw_cholesky_no_stride.o
-	$(CC) dw_cholesky_no_stride.o dw_cholesky_kernels.o dw_cholesky_models.o -o dw_cholesky_no_stride $(LDFLAGS) $(LIBS)
-
-dw_cholesky: $(STARPU) dw_cholesky.o dw_cholesky_kernels.o dw_cholesky_models.o
-	$(CC)  dw_cholesky.o dw_cholesky_kernels.o dw_cholesky_models.o -o dw_cholesky $(LDFLAGS) $(LIBS)
-
-clean:
-	@rm -f *.o *.d gmon.out *.gcno *.gcda
-	@rm -f dw_cholesky dw_cholesky_no_stride

+ 0 - 30
examples/common/Makefile.in

@@ -1,30 +0,0 @@
-#
-# StarPU
-# Copyright (C) INRIA 2008-2009 (see AUTHORS file)
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or (at
-# your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# See the GNU Lesser General Public License in COPYING.LGPL for more details.
-#
-
-export PKG_CONFIG_PATH=@STARPUDIR@
-
-CFLAGS+=$$(pkg-config --cflags libstarpu)
-
-all: blas.o blas_model.o
-
-blas.o: blas.c blas.h
-	$(CC) $(CFLAGS) blas.c -c -o blas.o
-
-blas_model.o: blas_model.c blas_model.h
-	$(CC) $(CFLAGS) blas_model.c -c -o blas_model.o
-
-clean:
-	@rm -f *.o *.d *.gcno *.gcda

+ 0 - 39
examples/incrementer/Makefile.in

@@ -1,39 +0,0 @@
-#
-# StarPU
-# Copyright (C) INRIA 2008-2009 (see AUTHORS file)
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or (at
-# your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# See the GNU Lesser General Public License in COPYING.LGPL for more details.
-#
-
-export PKG_CONFIG_PATH=@STARPUDIR@
-
-LIBS+=$$(pkg-config --libs libstarpu)
-CFLAGS+=$$(pkg-config --cflags libstarpu)
-
-ifeq (@USE_CUDA@,yes)
-        EXTRADEP += ../cuda/incrementer_cuda.cubin
-endif
-
-all: $(EXTRADEP) incrementer
-
-../cuda/incrementer_cuda.cubin:
-	make -C ../cuda incrementer_cuda.cubin
-
-incrementer.o: incrementer.c
-	$(CC) $(CFLAGS) incrementer.c -c -o incrementer.o
-
-incrementer: $(STARPU) incrementer.o
-	$(CC) incrementer.o -o incrementer $(LIBS)
-
-clean:
-	@rm -f *.o *.d *.gcno *.gcda
-	@rm -f incrementer

+ 0 - 46
examples/mult/Makefile.in

@@ -1,46 +0,0 @@
-#
-# StarPU
-# Copyright (C) INRIA 2008-2009 (see AUTHORS file)
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or (at
-# your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# See the GNU Lesser General Public License in COPYING.LGPL for more details.
-#
-
-export PKG_CONFIG_PATH=@STARPUDIR@
-
-LIBS+=$$(pkg-config --libs libstarpu)
-CFLAGS+=$$(pkg-config --cflags libstarpu)
-
-BLASOBJ=../common/blas.o ../common/blas_model.o
-
-all: dw_mult dw_mult_no_stride dw_mult_no_stride_no_tag
-
-dw_mult.o: dw_mult.c dw_mult.h
-	$(CC) $(CFLAGS) dw_mult.c -c -o dw_mult.o
-
-dw_mult_no_stride.o: dw_mult_no_stride.c dw_mult.h
-	$(CC) $(CFLAGS) dw_mult_no_stride.c -c -o dw_mult_no_stride.o
-
-dw_mult_no_stride_no_tag.o: dw_mult_no_stride_no_tag.c dw_mult.h
-	$(CC) $(CFLAGS) dw_mult_no_stride_no_tag.c -c -o dw_mult_no_stride_no_tag.o
-
-dw_mult: $(BLASOBJ) dw_mult.o
-	$(CC) $(BLASOBJ) dw_mult.o -o dw_mult $(LDFLAGS) $(LIBS)
-
-dw_mult_no_stride: $(BLASOBJ) dw_mult_no_stride.o
-	$(CC) $(BLASOBJ) dw_mult_no_stride.o -o dw_mult_no_stride $(LDFLAGS) $(LIBS)
-
-dw_mult_no_stride_no_tag: $(BLASOBJ) dw_mult_no_stride_no_tag.o
-	$(CC) $(BLASOBJ) dw_mult_no_stride_no_tag.o -o dw_mult_no_stride_no_tag $(LDFLAGS) $(LIBS)
-
-clean:
-	@rm -f *.o *.d *.gcno *.gcda
-	@rm -f dw_mult dw_mult_no_stride dw_mult_no_stride_no_tag

+ 0 - 46
examples/spmv/Makefile.in

@@ -1,46 +0,0 @@
-#
-# StarPU
-# Copyright (C) INRIA 2008-2009 (see AUTHORS file)
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or (at
-# your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# See the GNU Lesser General Public License in COPYING.LGPL for more details.
-#
-
-export PKG_CONFIG_PATH=@STARPUDIR@
-
-LIBS+=$$(pkg-config --libs libstarpu)
-CFLAGS+=$$(pkg-config --cflags libstarpu)
-
-ifeq (@USE_CUDA@,yes)
-	EXTRADEP += ../cuda/spmv_cuda.cubin
-endif
-
-all: $(EXTRADEP) dw_spmv dw_block_spmv
-	make -C matrix-market
-
-../cuda/spmv_cuda.cubin:
-	make -C ../cuda spmv_cuda.cubin
-
-dw_spmv.o: dw_spmv.c dw_spmv.h
-	$(CC) $(CFLAGS) dw_spmv.c -c -o dw_spmv.o
-
-dw_spmv: dw_spmv.o
-	$(CC) dw_spmv.o -o dw_spmv $(LDFLAGS) $(LIBS)
-
-dw_block_spmv: dw_block_spmv.o dw_block_spmv_kernels.o
-	make -C matrix-market mm_to_bcsr.o
-	make -C matrix-market mmio.o
-	$(CC) dw_block_spmv.o dw_block_spmv_kernels.o matrix-market/mm_to_bcsr.o matrix-market/mmio.o -o dw_block_spmv $(LDFLAGS) $(LIBS)
-
-clean:
-	@make -C matrix-market clean
-	@rm -f *.o *.d *.gcno *.gcda
-	@rm -f dw_spmv dw_block_spmv

+ 0 - 43
examples/strassen/Makefile.in

@@ -1,43 +0,0 @@
-#
-# StarPU
-# Copyright (C) INRIA 2008-2009 (see AUTHORS file)
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or (at
-# your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# See the GNU Lesser General Public License in COPYING.LGPL for more details.
-#
-
-export PKG_CONFIG_PATH=@STARPUDIR@
-
-LIBS+=$$(pkg-config --libs libstarpu)
-CFLAGS+=$$(pkg-config --cflags libstarpu)
-
-LDFLAGS+= ../common/blas.o
-
-all: dw_strassen
-
-strassen_kernels.o: strassen.h strassen_kernels.c
-	$(CC) $(CFLAGS) strassen_kernels.c -c -o strassen_kernels.o
-
-strassen.o: strassen.h strassen.c
-	$(CC) $(CFLAGS) strassen.c -c -o strassen.o
-
-test_strassen.o: test_strassen.c strassen.h
-	$(CC) $(CFLAGS) test_strassen.c -c -o test_strassen.o
-
-strassen_models.o: strassen_models.c strassen_models.h
-	$(CC) $(CFLAGS) strassen_models.c -c -o strassen_models.o
-
-dw_strassen: $(STARPU) strassen_models.o strassen.o strassen_kernels.o test_strassen.o ../common/blas.o
-	$(CC) strassen_models.o strassen.o strassen_kernels.o test_strassen.o -o dw_strassen $(LDFLAGS) $(LIBS)
-
-clean:
-	@rm -f *.o *.d *.gcno *.gcda
-	@rm -f dw_strassen

+ 0 - 37
examples/strassen2/Makefile.in

@@ -1,37 +0,0 @@
-#
-# StarPU
-# Copyright (C) INRIA 2008-2009 (see AUTHORS file)
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or (at
-# your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# See the GNU Lesser General Public License in COPYING.LGPL for more details.
-#
-
-export PKG_CONFIG_PATH=@STARPUDIR@
-
-LIBS+=$$(pkg-config --libs libstarpu)
-CFLAGS+=$$(pkg-config --cflags libstarpu)
-
-LDFLAGS += ../common/blas.o
-
-all: strassen
-
-strassen.o: strassen.c
-	$(CC) $(CFLAGS) strassen.c -c -o strassen.o
-
-strassen_kernels.o: strassen_kernels.c
-	$(CC) $(CFLAGS) strassen_kernels.c -c -o strassen_kernels.o
-
-strassen: strassen.o strassen_kernels.o ../common/blas.o
-	$(CC) strassen.o strassen_kernels.o -o strassen $(LDFLAGS) $(LIBS)
-
-clean:
-	@rm -f *.o *.d *.gcno *.gcda
-	@rm -f strassen

+ 0 - 38
examples/tag_example/Makefile.in

@@ -1,38 +0,0 @@
-#
-# StarPU
-# Copyright (C) INRIA 2008-2009 (see AUTHORS file)
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or (at
-# your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# See the GNU Lesser General Public License in COPYING.LGPL for more details.
-#
-
-export PKG_CONFIG_PATH=@STARPUDIR@
-
-LIBS+=$$(pkg-config --libs libstarpu)
-CFLAGS+=$$(pkg-config --cflags libstarpu)
-
-all: tag_example tag_example2
-
-tag_example.o: tag_example.c
-	$(CC) $(CFLAGS) tag_example.c -c -o tag_example.o
-
-tag_example2.o: tag_example2.c
-	$(CC) $(CFLAGS) tag_example2.c -c -o tag_example2.o
-
-tag_example: tag_example.o
-	$(CC) tag_example.o -o tag_example $(LIBS)
-
-tag_example2: tag_example2.o
-	$(CC) tag_example2.o -o tag_example2 $(LIBS)
-
-clean:
-	@rm -f *.o *.d *.gcno *.gcda
-	@rm -f tag_example tag_example2