summaryrefslogtreecommitdiff
path: root/wrapper/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-07-01 23:22:00 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-07-01 23:22:00 -0600
commit504d11ded8c1e9a0757332f2a10ed7d86dd5fc70 (patch)
treea3bba73ac491feaaecddca3345d8a54c5673bf72 /wrapper/Makefile
parent04b12bbea2be03a988e773afcd014a74d37ddca5 (diff)
A whole bunch of stuff
Diffstat (limited to 'wrapper/Makefile')
-rw-r--r--wrapper/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/wrapper/Makefile b/wrapper/Makefile
index f316cc0..54047d2 100644
--- a/wrapper/Makefile
+++ b/wrapper/Makefile
@@ -17,16 +17,19 @@
include $(dir $(lastword $(MAKEFILE_LIST)))/../config.mk
include $(topsrcdir)/common.top.mk
-src_files += Makefile outer.c inner.sh
-obj_files += outer inner
-install_files += $(bindir)/$(PACKAGE) $(pkglibexecdir)/$(PACKAGE)
+src_files += Makefile outer.c inner.sh.m4 runcmd.mk
+out_files += outer inner
+clean_files += inner.sh
+sys_files += $(bindir)/$(PACKAGE) $(pkglibexecdir)/$(PACKAGE) $(pkglibexecdir)/runcmd.mk
-$(objdir)/outer.o: $(topobjdir)/config.h
-$(objdir)/inner: $(topobjdir)/config.sh
+$(outdir)/outer.o: $(topoutdir)/config.h
+$(outdir)/inner: $(topoutdir)/config.sh
-$(DESTDIR)$(bindir)/$(PACKAGE) : $(objdir)/outer | $(DESTDIR)$(bindir)
+$(DESTDIR)$(bindir)/$(PACKAGE) : $(outdir)/outer | $(DESTDIR)$(bindir)
$(INSTALL_PROGRAM) $< $@
-$(DESTDIR)$(pkglibexecdir)/$(PACKAGE) : $(objdir)/inner | $(DESTDIR)$(bindir)
+$(DESTDIR)$(pkglibexecdir)/$(PACKAGE) : $(outdir)/inner | $(DESTDIR)$(pkglibexecdir)
+ $(INSTALL_PROGRAM) $< $@
+$(DESTDIR)$(pkglibexecdir)/runcmd.mk : $(srcdir)/runcmd.mk | $(DESTDIR)$(pkglibexecdir)
$(INSTALL_PROGRAM) $< $@
include $(topsrcdir)/common.bottom.mk