typo
[csql.git] / test / Makefile
blob27ac86e86756fc670054fcff19421732a739e018
1 OSNAME = $(shell uname -s)
2 MAKE=make
4 ifeq ($(OSNAME), SunOS)
5 PlatForm=supported
6 else
7 ifeq ($(OSNAME), Linux)
8 PlatForm=supported
9 else
10 PlatForm=notsupported
11 all:
12 echo "CSQL is not supported on $(OSNAME) platform"
13 endif
14 endif
17 ifeq ($(PlatForm), supported)
18 all: buildall
19 endif
21 buildall:
22 @for i in *; \
23 do \
24 if [ -d $$i ];\
25 then cd $$i; $(MAKE); cd ..;\
26 fi;\
27 done
29 clean:
30 @for i in *; \
31 do \
32 if [ -d $$i ];\
33 then cd $$i; $(MAKE) clean; cd ..;\
34 fi;\
35 done
36 runall: buildall
37 ./execTests.ksh
38 ./genReport.ksh