summaryrefslogtreecommitdiff
path: root/wrapper
diff options
context:
space:
mode:
authorLuke Shumaker <luke@HP-dv6426us-u904.(none)>2009-10-25 14:11:26 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-26 00:30:17 -0600
commit35474a80e52e016a0cafb1f583e0d036fd66e85e (patch)
tree0e3057d92182e000d2a984fd4448985137c8834f /wrapper
parent0235f164e14b3b5b05e9d621ce30c9cff85b2a09 (diff)
hmm. I kind of screwed up rvs plugins.
Worst, it was just a command I typed wrong that crippled a few files
Diffstat (limited to 'wrapper')
-rw-r--r--wrapper/main.mk.in (renamed from wrapper/Makefile.in)62
1 files changed, 11 insertions, 51 deletions
diff --git a/wrapper/Makefile.in b/wrapper/main.mk.in
index 9584a2a..8d53d3b 100644
--- a/wrapper/Makefile.in
+++ b/wrapper/main.mk.in
@@ -19,30 +19,7 @@ ver = 0.8r60
# If not, write to the Free Software Foundation,
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-export rvs ?= @name@
-# directories ######################################################
-srcdir ?= @srcdir@
-prefix ?= @prefix@
-exec_prefix ?= @exec_prefix@
-bindir ?= @bindir@
-sbindir ?= @sbindir@
-libexecdir ?= @libexecdir@
-dirs = $(srcdir) $(prefix) $(exec_prefix) $(bindir) $(sbindir) $(libexecdir)
-#export srcdir prefix exec_prefix bindir sbindir libexecdir
-
-# programs #########################################################
-CC = @CC@
-RVS ?= @RVS@
-SHELL ?= @SHELL@
-RM ?= rm
-CP ?= cp
-SED ?= sed
-INSTALL ?= install
-MKDIR ?= $(INSTALL) -d #mkdir -p
-INSTALL_PROGRAM ?= $(INSTALL)
-INSTALL_DATA ?= $(INSTALL) -m 644
-TOUCH ?= touch # This file doesn't use touch
-#export RVS SHELL RM CP SED INSTALL MKDIR INSTALL_PROGRAM INSTALL_DATA TOUCH
+rvs = @name@
CFLAGS = -g \
-DNAME=\"$(name)\" \
@@ -57,20 +34,20 @@ all : rvs runcom
VPATH = $(srcdir)/wrapper
# most everything ##################################################
-RUNCOM = $(libexecdir)/$(rvs)/runcom
+RUNCOM = $(DESTDIR)$(libexecdir)/$(rvs)/runcom
install : $(RVS) $(RUNCOM)
$(RVS) : rvs $(dir $(RVS))
$(INSTALL_PROGRAM) $< $@
-OBJ = runcom.o rvs.o plugins.o \
- plugin-depend.o \
- plugin-find.o \
- plugin-load.o \
- plugin-parse.o \
- plugin-run.o \
+#OBJ = runcom.o rvs.o plugins.o \
+# plugin-depend.o \
+# plugin-find.o \
+# plugin-load.o \
+# plugin-parse.o \
+# plugin-run.o \
-runcom: $(OBJ)
- gcc -o $@ $^
+#runcom: $(OBJ)
+# gcc -o $@ $^
$(RUNCOM): runcom $(dir $(RUNCOM))
$(INSTALL_PROGRAM) $< $@
@@ -87,7 +64,7 @@ rvs : rvs.sh
uninstall :
$(RM) $(RVS)
- $(RM) $(libexecdir)/$(rvs)/runcom
+ $(RM) $(DESTDIR)$(libexecdir)/$(rvs)/runcom
clean :
@@ -95,20 +72,3 @@ distclean : clean
$(RM) rvs
$(RM) Makefile
-# dist #############################################################
-
-d = $(name)-$(ver)
-dist : $(d).tar.gz
-
-$(d).tar.gz : $(d)
- tar -czf $@ $<
-
-$(d) : distclean
- $(INSTALL) -m 777 -d $@
- $(CP) -r $(srcdir)/* $@
-
-# implicit rules ###################################################
-
-$(dirs) $(libexecdir)/$(rvs) :
- $(MKDIR) $@
-