• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# SPDX-License-Identifier: GPL-2.0-or-later
2# Copyright (c) International Business Machines  Corp., 2001
3# Copyright (c) 2019 Petr Vorel <petr.vorel@gmail.com>
4
5top_srcdir		?= ../../../..
6
7include $(top_srcdir)/include/mk/testcases.mk
8
9CPPFLAGS += -DTEST_SETHOSTNAME
10
11sethostname01: $(abs_srcdir)/../setdomainname/setdomainname01.c
12	$(LINK.c) $^ $(LOADLIBES) $(LDLIBS) $(OUTPUT_OPTION)
13
14sethostname02: $(abs_srcdir)/../setdomainname/setdomainname02.c
15	$(LINK.c) $^ $(LOADLIBES) $(LDLIBS) $(OUTPUT_OPTION)
16
17sethostname03: $(abs_srcdir)/../setdomainname/setdomainname03.c
18	$(LINK.c) $^ $(LOADLIBES) $(LDLIBS) $(OUTPUT_OPTION)
19
20MAKE_TARGETS := sethostname01 sethostname02 sethostname03
21
22include $(top_srcdir)/include/mk/generic_leaf_target.mk
23