GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / toolchains / hndtools-arm-linux-2.6.36-uclibc-4.5.3 / share / automake-1.11 / am / java.am
blobd6eb455854db2d9cd061c9a8cc35c9a1f8fe8245
1 ## automake - create Makefile.in from Makefile.am
2 ## Copyright (C) 1998, 1999, 2001, 2003, 2004, 2006, 2008, 2009 Free Software
3 ## Foundation, Inc.
5 ## This program is free software; you can redistribute it and/or modify
6 ## it under the terms of the GNU General Public License as published by
7 ## the Free Software Foundation; either version 2, or (at your option)
8 ## any later version.
10 ## This program is distributed in the hope that it will be useful,
11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 ## GNU General Public License for more details.
15 ## You should have received a copy of the GNU General Public License
16 ## along with this program.  If not, see <http://www.gnu.org/licenses/>.
19 ## ---------- ##
20 ## Building.  ##
21 ## ---------- ##
23 JAVAC = javac
24 CLASSPATH_ENV = CLASSPATH=$(JAVAROOT):$(srcdir)/$(JAVAROOT):$$CLASSPATH
25 JAVAROOT = $(top_builddir)
27 class%DIR%.stamp: $(%DIR%_JAVA)
28         @list1='$?'; list2=; if test -n "$$list1"; then \
29           for p in $$list1; do \
30             if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
31             list2="$$list2 $$d$$p"; \
32           done; \
33           echo '$(CLASSPATH_ENV) $(JAVAC) -d $(JAVAROOT) $(AM_JAVACFLAGS) $(JAVACFLAGS) '"$$list2"; \
34           $(CLASSPATH_ENV) $(JAVAC) -d $(JAVAROOT) $(AM_JAVACFLAGS) $(JAVACFLAGS) $$list2; \
35         else :; fi
36         echo timestamp > class%DIR%.stamp
39 ## ------------ ##
40 ## Installing.  ##
41 ## ------------ ##
43 if %?INSTALL%
44 am__installdirs += "$(DESTDIR)$(%NDIR%dir)"
45 ?EXEC?.PHONY install-exec-am: install-%DIR%JAVA
46 ?!EXEC?.PHONY install-data-am: install-%DIR%JAVA
47 install-%DIR%JAVA: class%DIR%.stamp
48         @$(NORMAL_INSTALL)
49         test -z "$(%NDIR%dir)" || $(MKDIR_P) "$(DESTDIR)$(%NDIR%dir)"
50 ## A single .java file can be compiled into multiple .class files.  So
51 ## we just install all the .class files that got built into this
52 ## directory.  This is not optimal, but will have to do for now.
53         @test -n "$(%DIR%_JAVA)" && test -n "$(%NDIR%dir)" || exit 0; \
54         set x *.class; shift; test "$$1" != "*.class" || exit 0; \
55         echo " $(INSTALL_DATA)" "$$@" "'$(DESTDIR)$(%NDIR%dir)/$$p'"; \
56         $(INSTALL_DATA) "$$@" "$(DESTDIR)$(%NDIR%dir)"
57 endif %?INSTALL%
60 ## -------------- ##
61 ## Uninstalling.  ##
62 ## -------------- ##
64 if %?INSTALL%
65 .PHONY uninstall-am: uninstall-%DIR%JAVA
66 uninstall-%DIR%JAVA:
67         @$(NORMAL_UNINSTALL)
68         @test -n "$(%DIR%_JAVA)" && test -n "$(%NDIR%dir)" || exit 0; \
69         set x *.class; shift; test "$$1" != "*.class" || exit 0; \
70         echo " ( cd '$(DESTDIR)$(%NDIR%dir)' && rm -f" "$$@" ")"; \
71         cd "$(DESTDIR)$(%NDIR%dir)" && rm -f "$$@"
72 endif %?INSTALL%
75 ## ---------- ##
76 ## Cleaning.  ##
77 ## ---------- ##
79 .PHONY clean-am: clean-%DIR%JAVA
80 clean-%DIR%JAVA:
81         -rm -f *.class class%DIR%.stamp
84 ## -------------- ##
85 ## Distributing.  ##
86 ## -------------- ##
88 if %?DIST%
89 DIST_COMMON += %DISTVAR%
90 endif %?DIST%