10 # 11 # This code is distributed in the hope that it will be useful, but WITHOUT 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 # version 2 for more details (a copy is included in the LICENSE file that 15 # accompanied this code). 16 # 17 # You should have received a copy of the GNU General Public License version 18 # 2 along with this work; if not, write to the Free Software Foundation, 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 # 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 # 25 26 # 27 # Makefile for building simple launchers 28 # 29 30 BUILDDIR = .. 31 PACKAGE = launcher 32 PRODUCT = sun 33 include $(BUILDDIR)/common/Defs.gmk 34 35 # The PROGRAM and MAIN_CLASS must be defined 36 ifndef PROGRAM 37 build: no_program 38 no_program: 39 $(ECHO) "No PROGRAM name defined" 40 exit 1 41 endif 42 ifndef MAIN_CLASS 43 build: no_main 44 no_main: 45 $(ECHO) "No MAIN_CLASS name defined" 46 exit 1 47 endif 48 49 # Some tools need the wildcard expansion option | 10 # 11 # This code is distributed in the hope that it will be useful, but WITHOUT 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 # version 2 for more details (a copy is included in the LICENSE file that 15 # accompanied this code). 16 # 17 # You should have received a copy of the GNU General Public License version 18 # 2 along with this work; if not, write to the Free Software Foundation, 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 # 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 # 25 26 # 27 # Makefile for building simple launchers 28 # 29 30 PROGRAM_SUPPORTS_FULL_DEBUG_SYMBOLS=1 31 32 BUILDDIR = .. 33 PACKAGE = launcher 34 PRODUCT = sun 35 include $(BUILDDIR)/common/Defs.gmk 36 37 # The PROGRAM and MAIN_CLASS must be defined 38 ifndef PROGRAM 39 build: no_program 40 no_program: 41 $(ECHO) "No PROGRAM name defined" 42 exit 1 43 endif 44 ifndef MAIN_CLASS 45 build: no_main 46 no_main: 47 $(ECHO) "No MAIN_CLASS name defined" 48 exit 1 49 endif 50 51 # Some tools need the wildcard expansion option |