swtpm/Makefile.am
Stefan Berger 883561d343 build-sys: Fix Makefile issue with multiple .PHONY
Recent make's complain about this here:

Makefile.am:34: warning: .PHONY was already defined in condition WITH_SELINUX, which is included in condition TRUE ...
Makefile.am:28: ... '.PHONY' previously defined here

This patch fixes this issue.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2021-06-23 22:45:35 -04:00

34 lines
562 B
Makefile

#
# Makefile.am
#
# For the license, see the COPYING file in the root directory.
#
SUBDIRS = \
etc \
include \
man \
samples \
src \
tests
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = \
CHANGES \
INSTALL \
LICENSE \
COPYING \
README \
autogen.sh
if WITH_SELINUX
selinux-install selinux-uninstall:
@cd src/selinux && $(MAKE) $(AM_MAKEFLAGS) $@
endif
python-install python-uninstall:
@cd samples && $(MAKE) $(AM_MAKEFLAGS) $@
@cd src/swtpm_setup && $(MAKE) $(AM_MAKEFLAGS) $@
.PHONY: python-install python-uninstall selinux-install selinux-uninstall