1f08c3bdfSopenharmony_ci# SPDX-License-Identifier: GPL-2.0-or-later 2f08c3bdfSopenharmony_ci# testcases/kernel/syscalls Makefile. 3f08c3bdfSopenharmony_ci# 4f08c3bdfSopenharmony_ci# Copyright (C) 2009, Cisco Systems Inc. 5f08c3bdfSopenharmony_ci# 6f08c3bdfSopenharmony_ci# Ngie Cooper, July 2009 7f08c3bdfSopenharmony_ci# 8f08c3bdfSopenharmony_ci 9f08c3bdfSopenharmony_citop_srcdir ?= ../../../.. 10f08c3bdfSopenharmony_ci 11f08c3bdfSopenharmony_ciinclude $(top_srcdir)/include/mk/testcases.mk 12f08c3bdfSopenharmony_ci 13f08c3bdfSopenharmony_ciCPPFLAGS += -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED 14f08c3bdfSopenharmony_ci 15f08c3bdfSopenharmony_ciMAKE_TARGETS := nftw01 nftw6401 16f08c3bdfSopenharmony_ci 17f08c3bdfSopenharmony_cinftw01: CPPFLAGS += -D_LARGEFILE_SOURCE 18f08c3bdfSopenharmony_ci 19f08c3bdfSopenharmony_cinftw01: nftw.o tools.o test_func.o test.o lib.o 20f08c3bdfSopenharmony_ci $(LINK.o) $^ $(LOADLIBES) $(LDLIBS) $(OUTPUT_OPTION) 21f08c3bdfSopenharmony_ci 22f08c3bdfSopenharmony_cinftw64.o tools64.o test_func64.o test64.o lib64.o: %.o: %.c 23f08c3bdfSopenharmony_ci 24f08c3bdfSopenharmony_ci%64.o: CPPFLAGS += -D_LARGEFILE64_SOURCE 25f08c3bdfSopenharmony_ci 26f08c3bdfSopenharmony_cinftw6401: nftw64.o tools64.o test_func64.o test64.o lib64.o 27f08c3bdfSopenharmony_ci $(LINK.o) $^ $(LOADLIBES) $(LDLIBS) $(OUTPUT_OPTION) 28f08c3bdfSopenharmony_ci 29f08c3bdfSopenharmony_ciinclude $(top_srcdir)/include/mk/generic_leaf_target.mk 30