summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2023-06-26 11:47:00 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2023-06-26 16:47:07 (EDT)
commit2c6e02bf1b6bbd374310f458b184ab1c26717cd6 (patch)
treea8c3425606fc38520bf6fa43ef6afdcd28c2a99d /Makefile.am
parent2622c8a1e2c1cabfd0f0c6f504325b9ae21672fa (diff)
mknod: New helper utility
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index b7655fd..9e6d12c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -40,7 +40,7 @@ endif
# * Our release target
PACKAGE_STRING = $(PACKAGE_NAME) $(PACKAGE_VERSION)$(PACKAGE_VERSION_GIT)
-bin_PROGRAMS = opkg-opk
+bin_PROGRAMS = opkg-opk mknod
opkg_opk_SOURCES =
opkg_opk_CFLAGS = \
@@ -54,6 +54,15 @@ opkg_opk_LDADD = \
$(ZLIB_LIBS)
opkg_opk_LINK = $(LINK) version.c
EXTRA_opkg_opk_DEPENDENCIES = version.c
+
+mknod_CFLAGS = \
+ $(WARN_CFLAGS) \
+ $(ASAN_CFLAGS)
+mknod_CPPFLAGS = \
+ -DLOCALEDIR=\"$(localedir)\"
+mknod_LDADD = \
+ $(ASAN_CFLAGS)
+
CLEANFILES = version.c
CONFIG_CLEAN_FILES =
EXTRA_DIST = build-aux/config.rpath autogen.sh
@@ -104,6 +113,7 @@ release:
$(PACKAGE) $(VERSION) '$(PACKAGE_NAME)'
include $(top_srcdir)/src/local.mk
+include $(top_srcdir)/helpers/local.mk
include $(top_srcdir)/tests/local.mk
SUBDIRS = . po