[Title] support multi OS makefile
authorSon Hyunjun <hj79.son@samsung.com>
Thu, 15 Mar 2012 15:13:08 +0000 (00:13 +0900)
committerSon Hyunjun <hj79.son@samsung.com>
Thu, 15 Mar 2012 15:13:08 +0000 (00:13 +0900)
[Type] Enhancement
[Module] Build
[Priority] Major
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]

tizen/src/Makefile

index 0ac6c6dd73cc5430470d745e5c28c3c21274f4b3..5955d2958134da0d28d4995181618c24e1356406 100644 (file)
@@ -1,10 +1,22 @@
 EMUL_DIR=../Emulator
 
+include ../../config-host.mak
+
 all: qemu skin_client
 qemu:
        cd ../../ && $(MAKE)
 skin_client:
-       ant -buildfile skin/client/build.xml
+ifdef CONFIG_WIN32
+       ant -buildfile skin/client/build.xml windows-jar
+else
+ifdef CONFIG_LINUX
+       ant -buildfile skin/client/build.xml linux-jar
+else
+ifdef CONFIG_DARWIN
+       ant -buildfile skin/client/build.xml mac-jar
+endif
+endif
+endif
 clean:
        cd ../../ && $(MAKE) clean
 distclean: