From 798bed3fcfd6a39063a3d39cc715e0f8db75d4d9 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 4 Apr 1995 21:20:18 +0000 Subject: (CPPFLAGS): Define. ($(OBJS) rule): Fix typo in target. (install-cthreads.h): Use $(INSTALL_DATA). --- libthreads/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'libthreads') diff --git a/libthreads/Makefile b/libthreads/Makefile index dd1c56b6..3b9aaf6e 100644 --- a/libthreads/Makefile +++ b/libthreads/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 1994 Free Software Foundation +# Copyright (C) 1994, 1995 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as @@ -33,6 +33,9 @@ OBJS = $(addsuffix .o,$(basename $(notdir $(SRCS) $(I386SRCS)))) OTHERTAGS = $(I386SRCS) $(I386HDRS) +# We need this to find in the source directory. +CPPFLAGS = -I. -I$(hurdsource)/libthreads + libname = libthreads # Don't put cthreads.h in installhdrs or else it will get installed into @@ -42,11 +45,11 @@ VPATH = $(machine) include ../Makeconf -$(objects): cthreads.h cthread_internals.h options.h i386/asm.h +$(OBJS): cthreads.h cthread_internals.h options.h i386/asm.h install: install-cthreads.h install-cthreads.h: cthreads.h - cp cthreads.h $(includedir)/cthreads.h + $(INSTALL_DATA) cthreads.h $(includedir)/cthreads.h lndist: lndist-i386-files @@ -55,4 +58,3 @@ lndist-i386-files: $(hurdsource)/hurd-snap/$(dir)/i386 $(hurdsource)/hurd-snap/$(dir)/i386: mkdir $(hurdsource)/hurd-snap/$(dir)/i386 - -- cgit v1.2.3