Commit 8fe41a66 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Hacked to work with --srcdir.

Fixed "make clean" target.
parent c9fe3384
......@@ -7,6 +7,8 @@
#
#
#
srcdir = @srcdir@
VPATH = @srcdir@
@STDLYSKOM@
SOURCES=isc_event.c isc_session.c isc_abort.c isc_alloc.c isc_master.c\
......@@ -28,9 +30,9 @@ binaries:;
libraries: $(LIBDIR)/$(LIBNAME)
includes:
( cmp isc.h $(INCLUDEDIR)/isc-new.h 2>/dev/null ) \
( cmp $(srcdir)/isc.h $(INCLUDEDIR)/isc-new.h 2>/dev/null ) \
|| ( $(RM) $(INCLUDEDIR)/isc-new.h; \
cp isc.h $(INCLUDEDIR)/isc-new.h; \
cp $(srcdir)/isc.h $(INCLUDEDIR)/isc-new.h; \
chmod a-w $(INCLUDEDIR)/isc-new.h ) \
$(LIBDIR)/$(LIBNAME): $(LIBNAME)
......@@ -43,8 +45,13 @@ tags:
@CLEAN@
doclean:
dodistclean:;
dopure: dorealclean
dorealclean: dodistclean;
dodistclean: doclean
$(RM) $(GENERIC-DISTCLEAN)
doclean: domostlyclean
domostlyclean:
$(RM) $(GENERIC-MOSTLYCLEAN)
include $(SCRIPTDIR)/Single-depend.make
......
......@@ -7,6 +7,8 @@
#
#
#
srcdir = @srcdir@
VPATH = @srcdir@
@STDLYSKOM@
SOURCES=isc_event.c isc_session.c isc_abort.c isc_alloc.c isc_master.c\
......@@ -28,9 +30,9 @@ binaries:;
libraries: $(LIBDIR)/$(LIBNAME)
includes:
( cmp isc.h $(INCLUDEDIR)/isc-new.h 2>/dev/null ) \
( cmp $(srcdir)/isc.h $(INCLUDEDIR)/isc-new.h 2>/dev/null ) \
|| ( $(RM) $(INCLUDEDIR)/isc-new.h; \
cp isc.h $(INCLUDEDIR)/isc-new.h; \
cp $(srcdir)/isc.h $(INCLUDEDIR)/isc-new.h; \
chmod a-w $(INCLUDEDIR)/isc-new.h ) \
$(LIBDIR)/$(LIBNAME): $(LIBNAME)
......@@ -43,8 +45,13 @@ tags:
@CLEAN@
doclean:
dodistclean:;
dopure: dorealclean
dorealclean: dodistclean;
dodistclean: doclean
$(RM) $(GENERIC-DISTCLEAN)
doclean: domostlyclean
domostlyclean:
$(RM) $(GENERIC-MOSTLYCLEAN)
include $(SCRIPTDIR)/Single-depend.make
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment