sbsv1/buildsystem/tools/buildloggers/group/build.mk
changeset 607 378360dbbdba
parent 599 fa7a3cc6effd
equal deleted inserted replaced
591:22486c9c7b15 607:378360dbbdba
       
     1 # Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 # All rights reserved.
       
     3 # This component and the accompanying materials are made available
       
     4 # under the terms of "Eclipse Public License v1.0"
       
     5 # which accompanies this distribution, and is available
       
     6 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 #
       
     8 # Initial Contributors:
       
     9 # Nokia Corporation - initial contribution.
       
    10 #
       
    11 # Contributors:
       
    12 #
       
    13 # Description:
       
    14 #
       
    15 
       
    16 SRCDIR = ..\src
       
    17 JARDIR = ..\..\..\bin\java
       
    18 PKGDIR = com\symbian\ant
       
    19 JAVAC = $(JAVA_HOME)\bin\javac -cp $(ANT_HOME)\lib\ant.jar
       
    20 
       
    21 JARFILE = $(JARDIR)\symbianant.jar
       
    22 
       
    23 ALL: $(JARFILE)
       
    24 
       
    25 $(SRCDIR)\$(PKGDIR)\AbldWhatLogger.class: $(SRCDIR)\$(PKGDIR)\AbldWhatLogger.java
       
    26 	$(JAVAC) $<
       
    27 	
       
    28 $(SRCDIR)\$(PKGDIR)\ScanLogger.class: $(SRCDIR)\$(PKGDIR)\ScanLogger.java
       
    29 	$(JAVAC) $<
       
    30 	
       
    31 $(JARFILE): $(SRCDIR)\$(PKGDIR)\AbldWhatLogger.class $(SRCDIR)\$(PKGDIR)\ScanLogger.class
       
    32 	$(JAVA_HOME)\bin\jar -cf $@ -C $(SRCDIR) $(PKGDIR)\AbldWhatLogger.class -C $(SRCDIR) $(PKGDIR)\ScanLogger.class
       
    33 
       
    34 CLEAN:
       
    35 	-del $(SRCDIR)\$(PKGDIR)\*.class
       
    36 	-del $(JARFILE)