|
Message-ID: <20151121010532.GC23362@port70.net> Date: Sat, 21 Nov 2015 02:05:33 +0100 From: Szabolcs Nagy <nsz@...t70.net> To: musl@...ts.openwall.com Subject: Re: Support for out-of-tree build * Petr Hosek <phosek@...omium.org> [2015-11-19 00:22:09 +0000]: > +$(ALL_LIBS): | lib/ > +$(ALL_TOOLS): | tools/ > +$(CRT_LIBS:lib/%=$(objdir)/crt/%): | $(objdir)/crt/ > +$(OBJS) $(LOBJS): | $(sort $(dir $(OBJS))) > +$(GENH): | $(objdir)/include/bits/ > +$(GENH_INT): | $(objdir)/src/internal/ > + > +SRC_DIRS = $(sort $(dir $(ALL_LIBS) $(ALL_TOOLS) $(OBJS) $(GENH) $(GENH_INT)) $(addprefix $(objdir)/, crt/ include/)) > + > +$(SRC_DIRS): > + mkdir -p $@ > + ... > +$(objdir)/include/bits/alltypes.h: $(srcdir)/arch/$(ARCH)/bits/alltypes.h.in $(srcdir)/include/alltypes.h.in $(srcdir)/tools/mkalltypes.sed $(objdir)/include/bits this needs a / at the end otherwise make 4.1 fails with make: *** No rule to make target 'obj/include/bits', needed by 'obj/include/bits/alltypes.h'. Stop. > + sed -f $(srcdir)/tools/mkalltypes.sed $(srcdir)/arch/$(ARCH)/bits/alltypes.h.in $(srcdir)/include/alltypes.h.in > $@ >
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.