author | serb |
Tue, 12 Nov 2013 20:24:25 +0400 | |
changeset 21596 | 0e3a39f29dbc |
parent 14856 | 92a1bcf46888 |
child 23010 | 6dadb192ad81 |
permissions | -rw-r--r-- |
14856 | 1 |
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. |
13782
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
2 |
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
3 |
# |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
4 |
# This code is free software; you can redistribute it and/or modify it |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
5 |
# under the terms of the GNU General Public License version 2 only, as |
21596 | 6 |
# published by the Free Software Foundation. |
13782
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
7 |
# |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
8 |
# This code is distributed in the hope that it will be useful, but WITHOUT |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
9 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
10 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
11 |
# version 2 for more details (a copy is included in the LICENSE file that |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
12 |
# accompanied this code). |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
13 |
# |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
14 |
# You should have received a copy of the GNU General Public License version |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
15 |
# 2 along with this work; if not, write to the Free Software Foundation, |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
16 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
17 |
# |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
18 |
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
19 |
# or visit www.oracle.com if you need additional information or have any |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
20 |
# questions. |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
21 |
|
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
22 |
CFLAGS = |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
23 |
OBJS = myfile.o |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
24 |
HEADERS = MyCanvas.h |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
25 |
CLASSES = MyCanvas.class |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
26 |
|
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
27 |
JAVA = $(TESTJAVA)/bin/java -classpath . |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
28 |
JAVAC = $(TESTJAVA)/bin/javac |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
29 |
JAVAH = $(TESTJAVA)/bin/javah |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
30 |
DEL = rm -rf |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
31 |
LINK = $(CC) |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
32 |
|
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
33 |
INCLUDES = -I $(TESTJAVA)/include/win32 -I $(TESTJAVA)/include -I . |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
34 |
|
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
35 |
LIBS = $(TESTJAVA)/lib/jawt.lib -lgdi32 |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
36 |
|
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
37 |
all: $(CLASSES) mylib.dll |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
38 |
|
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
39 |
mylib.dll: $(HEADERS) $(OBJS) |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
40 |
$(LINK) -shared -o mylib.dll $(OBJS) $(LIBS) |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
41 |
|
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
42 |
myfile.o: |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
43 |
$(CC) $(CFLAGS) $(INCLUDES) -c $(TESTSRC)/myfile.cpp |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
44 |
|
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
45 |
clean: |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
46 |
$(DEL) mylib.* *.h *.class *.o |
1ca9ff9c0254
7190587: Open source and jtreg'ify JAWT regression test
kshefov
parents:
diff
changeset
|
47 |