hawk/hawk/Makefile.am

30 lines
736 B
Makefile
Raw Normal View History

2019-12-13 04:29:58 +00:00
AUTOMAKE_OPTION = foreign
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST =
SUBDIRS =
if ENABLE_STATIC_MODULE
2020-04-14 14:02:04 +00:00
SUBDIRS += tools mod lib bin samples t
2019-12-13 04:29:58 +00:00
else
2020-04-14 14:02:04 +00:00
SUBDIRS += tools lib mod bin samples t
2019-12-13 04:29:58 +00:00
endif
2020-04-14 14:02:04 +00:00
DIST_SUBDIRS = $(SUBDIRS)
2019-12-13 04:29:58 +00:00
distclean-local:
@rm -rf $(top_srcdir)/autom4te.cache
2020-01-22 09:46:17 +00:00
######################################################################
TARGET ?= @build_cpu@
rpm: dist-gzip
mkdir -p "@abs_builddir@/pkgs/RPM/BUILD"
mkdir -p "@abs_builddir@/pkgs/RPM/SOURCES"
mkdir -p "@abs_builddir@/pkgs/RPM/SRPMS"
mkdir -p "@abs_builddir@/pkgs/RPM/RPMS"
cp @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz "@abs_builddir@/pkgs/RPM/SOURCES"
rpmbuild --define "_topdir @abs_builddir@/pkgs/RPM" -ba @abs_builddir@/pkgs/hawk.spec --target=$(TARGET)