]> andersk Git - moira.git/commitdiff
Fix for new type of make config
authorjtkohl <jtkohl>
Mon, 16 Jan 1989 21:34:22 +0000 (21:34 +0000)
committerjtkohl <jtkohl>
Mon, 16 Jan 1989 21:34:22 +0000 (21:34 +0000)
util/makedepend/Imakefile

index 52f5b75a469d786d09c7da6fbb3ac8ec7e801a20..f47df4857d7ec791abdcdd873d062b528390210f 100644 (file)
 #
 #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
+
This page took 0.149067 seconds and 5 git commands to generate.