X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=Makefile.common;h=dd73322efe4695cd4d2e3d69b05109fcf93a215c;hb=709d415122d04713da58a7c6d7ee10162c386a56;hp=846a75425c6bd32d4911b6b9f36db69d3fbd1b1f;hpb=9caf87927916854758e642c625e6c8a8b274b999;p=clsql.git diff --git a/Makefile.common b/Makefile.common index 846a754..dd73322 100644 --- a/Makefile.common +++ b/Makefile.common @@ -1,3 +1,13 @@ +UNAME=$(shell uname) +UNAME_A=$(shell uname -a) + +OS_AIX=$(shell expr "$(UNAME)" : '.*AIX.*') +OS_SUNOS=$(shell expr "$(UNAME)" : '.*SunOS.*') +OS_DARWIN=$(shell expr "$(UNAME)" : '.*Darwin.*') +OS_CYGWIN=$(shell expr "$(UNAME)" : '.*CYGWIN.*') +OS_LINUX=$(shell expr "$(UNAME)" : '.*Linux.*') +OS_LINUX64=$(shell expr "$(UNAME_A)" : '.*Linux.*x86_64.*') + all: