]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gprofng/testsuite/gprofng.display/jsynprog/Makefile
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / gprofng / testsuite / gprofng.display / jsynprog / Makefile
1 # Copyright (C) 2021-2024 Free Software Foundation, Inc.
2 #
3 # This file is part of the GNU Binutils.
4 #
5 # This file 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 3 of the License, or
8 # (at your option) any later version.
9 #
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.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
18 # MA 02110-1301, USA.
19
20 TARGETS = libcloop.so jsynprog.class
21 TARGET = jsynprog
22 ACCT_FILE = jsynprog.acct
23
24 srcdir = .
25 include $(srcdir)/../../lib/Makefile.skel
26
27 JAVACFLAGS =
28
29 SRCS = \
30 $(srcdir)/../mttest/gethrtime.c \
31 $(srcdir)/cloop.cc \
32 $(NULL)
33
34 JAVA_SRCS = \
35 $(srcdir)/Intface.java \
36 $(srcdir)/Routine.java \
37 $(srcdir)/Sub_Routine.java \
38 $(srcdir)/jsynprog.java \
39 $(srcdir)/Launcher.java \
40 $(NULL)
41
42 HDRS = jsynprog.h
43
44 libcloop.so: $(SRCS)
45 @echo " ---- Build: $@ -----"
46 $(CC) $(jdk_inc) $(CCOPTS) $(SHAREDOPT) -o $@ $(SRCS)
47
48 jsynprog.class: $(JAVA_SRCS)
49 @echo " ---- Build: $@ -----"
50 $(JAVAC) $(JAVACFLAGS) -d . $(JAVA_SRCS)
51
52 $(EXPERIMENT): $(TARGETS)
53 @echo " ---- Build: $@ -----"
54 rm -rf $@
55 $(COLLECT) $(COLLECT_FLAGS) -o $@ $(JAVA) $(JAVACFLAGS) jsynprog $(TARGET_FLAGS)
56