ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/free/rpms/rt2860/devel/Makefile
Revision: 1.2
Committed: Thu Oct 2 20:37:05 2008 UTC (4 years, 8 months ago) by thl
Branch: MAIN
CVS Tags: F-12-split, rt2860-1_8_0_0-2_fc11, rt2860-2_1_1_0-1_fc11, F-19-split, F-11-split, F-13-split, F-10-split, rt2860-2_1_2_0-3_fc13, rt2860-2_1_2_0-1_fc11, rt2860-1_7_0-3_fc10, F-14-split, rt2860-1_8_0_0-3_fc11, rt2860-1_8_0_0-1_fc10, F-15-split, F-16-split, rt2860-2_3_0_0-1_fc14, rt2860-2_1_0_0-1_fc11, F-18-split, rt2860-2_1_2_0-2_fc12, F-17-split, rt2860-2_4_0_0-1_fc14, HEAD
Changes since 1.1: +5 -5 lines
Log Message:
add rt2860 from livna

Line File contents
1 # Makefile for source rpm: kernel-module-ntfs
2 # $Id: Makefile,v 1.2 2004/11/24 04:17:10 gafton Exp $
3 NAME := rt2860
4 SPECFILE = $(firstword $(wildcard *.spec))
5
6 define find-makefile-common
7 for d in common ../common ../../common ../../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/.svn/entries -a -w $$/Makefile.common ] ; then cd $$d ; svn -q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
8 endef
9
10 MAKEFILE_COMMON := $(shell $(find-makefile-common))
11
12 ifeq ($(MAKEFILE_COMMON),)
13 # attept a checkout
14 define checkout-makefile-common
15 test -f .svn/entries && { svn -q checkout $$(svn info |grep '^URL :'|cut -d' ' -f 3|cut -d/ -f -4)/common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' directory module." ; exit -1 ; } >&2
16 endef
17
18 MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
19 endif
20
21 include $(MAKEFILE_COMMON)