aboutsummaryrefslogtreecommitdiff
path: root/apps/xhost/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'apps/xhost/Makefile.am')
-rw-r--r--apps/xhost/Makefile.am31
1 files changed, 31 insertions, 0 deletions
diff --git a/apps/xhost/Makefile.am b/apps/xhost/Makefile.am
new file mode 100644
index 000000000..2c67d2655
--- /dev/null
+++ b/apps/xhost/Makefile.am
@@ -0,0 +1,31 @@
+bin_PROGRAMS = xhost
+
+xhost_SOURCES = xhost.c
+
+AM_CFLAGS = $(CWARNFLAGS) $(XHOST_CFLAGS)
+xhost_LDADD = $(XHOST_LIBS)
+
+appman_PRE = xhost.man
+
+appmandir = $(APP_MAN_DIR)
+
+appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
+
+EXTRA_DIST = $(appman_PRE)
+MAINTAINERCLEANFILES = ChangeLog INSTALL
+CLEANFILES = $(appman_DATA)
+
+.PHONY: ChangeLog INSTALL
+
+INSTALL:
+ $(INSTALL_CMD)
+
+ChangeLog:
+ $(CHANGELOG_CMD)
+
+dist-hook: ChangeLog INSTALL
+
+SUFFIXES = .$(APP_MAN_SUFFIX) .man
+
+.man.$(APP_MAN_SUFFIX):
+ $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@