Update year range in gprofng copyright notices
[binutils-gdb.git] / gprofng / testsuite / gprofng.display / jsynprog / Makefile
blob3d9222dc9ec06065d1d6c4314f37f8c49c2db15f
1 # Copyright (C) 2021-2023 Free Software Foundation, Inc.
3 # This file is part of the GNU Binutils.
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.
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, write to the Free Software
17 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
18 # MA 02110-1301, USA.
20 TARGETS = libcloop.so jsynprog.class
21 TARGET = jsynprog
22 ACCT_FILE = jsynprog.acct
24 srcdir = .
25 include $(srcdir)/../../lib/Makefile.skel
27 JAVACFLAGS =
29 SRCS = \
30 $(srcdir)/../mttest/gethrtime.c \
31 $(srcdir)/cloop.cc \
32 $(NULL)
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)
42 HDRS = jsynprog.h
44 libcloop.so: $(SRCS)
45 @echo " ---- Build: $@ -----"
46 $(CC) $(jdk_inc) $(CCOPTS) $(SHAREDOPT) -o $@ $(SRCS)
48 jsynprog.class: $(JAVA_SRCS)
49 @echo " ---- Build: $@ -----"
50 $(JAVAC) $(JAVACFLAGS) -d . $(JAVA_SRCS)
52 $(EXPERIMENT): $(TARGETS)
53 @echo " ---- Build: $@ -----"
54 rm -rf $@
55 $(COLLECT) $(COLLECT_FLAGS) -o $@ $(JAVA) $(JAVACFLAGS) jsynprog