From 27cf15f1dca18d98b7766f5bb276019a05437386 Mon Sep 17 00:00:00 2001 From: jtkohl Date: Mon, 16 Jan 1989 21:34:22 +0000 Subject: [PATCH] Fix for new type of make config --- util/makedepend/Imakefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/util/makedepend/Imakefile b/util/makedepend/Imakefile index 52f5b75a..f47df485 100644 --- a/util/makedepend/Imakefile +++ b/util/makedepend/Imakefile @@ -13,6 +13,15 @@ # #ifdef cpp_source_path SRCS = include.c main.c parse.c pr.c cppsetup.c cpp.c cpy.y +SOURCES = \ + ${SRCDIR}/util/makedepend/include.c \ + ${SRCDIR}/util/makedepend/main.c \ + ${SRCDIR}/util/makedepend/parse.c \ + ${SRCDIR}/util/makedepend/pr.c \ + ${SRCDIR}/util/makedepend/cppsetup.c \ + ${SRCDIR}/util/makedepend/cpp.ed \ + ${SRCDIR}/util/makedepend/Imakefile \ + ${SRCDIR}/util/makedepend/Makefile OBJS = include.o main.o parse.o pr.o cppsetup.o cpp.o cpy.o DEFINES = -DCPP '-DINCLUDEDIR="/usr/include"' CPPSRC = cpp_source_path @@ -23,6 +32,14 @@ CPPSRC = cpp_source_path # But if you don't have cpp source... # SRCS = include.c main.c parse.c pr.c cppsetup.c +SOURCES = \ + ${SRCDIR}/util/makedepend/include.c \ + ${SRCDIR}/util/makedepend/main.c \ + ${SRCDIR}/util/makedepend/parse.c \ + ${SRCDIR}/util/makedepend/pr.c \ + ${SRCDIR}/util/makedepend/cppsetup.c \ + ${SRCDIR}/util/makedepend/Imakefile \ + ${SRCDIR}/util/makedepend/Makefile OBJS = include.o main.o parse.o pr.o cppsetup.o DEFINES = '-DINCLUDEDIR="/usr/include"' @@ -59,3 +76,10 @@ cpy.o: cpy.c clean:: $(RM) cpp.c cpy.? yylex.c +config: $(SOURCES) + -mkdir $(DESTDIR)/util + -mkdir $(DESTDIR)/util/makedepend + for i in $(SOURCES); do \ + $(RM) ${DESTDIR}/util/makedepend/`basename $$i`; \ + $(CP) $$i ${DESTDIR}/util/makedepend/`basename $$i`; done + -- 2.45.2