From 4e6ff442867c830c09dc0e573fb12c61d728770b Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Tue, 14 May 2002 15:31:38 +0000 Subject: [PATCH] Make xfs symlink in include/ dir so we can find xfs/foo.h --- include/Makefile | 3 +++ include/buildmacros | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/include/Makefile b/include/Makefile index 3a2312f60..ca99eefd7 100644 --- a/include/Makefile +++ b/include/Makefile @@ -46,8 +46,11 @@ HFILES = arch.h handle.h jdm.h libxfs.h libxlog.h xqm.h \ DK_HFILES = mountinfo.h volume.h fstyp.h dvh.h LSRCFILES = platform_defs.h.in builddefs.in buildmacros buildrules $(DK_HFILES) +LDIRT = xfs default install : + rm -f xfs + $(LN_S) . xfs include $(BUILDRULES) diff --git a/include/buildmacros b/include/buildmacros index 26f90f452..d36044338 100644 --- a/include/buildmacros +++ b/include/buildmacros @@ -56,7 +56,7 @@ SHELL = /bin/sh IMAGES_DIR = $(TOPDIR)/all-images DIST_DIR = $(TOPDIR)/dist -CCF = $(CC) $(CFLAGS) +CCF = $(CC) $(CFLAGS) $(CPPFLAGS) MAKEF = $(MAKE) $(MAKEOPTS) CXXF = $(CXX) $(CXXFLAGS) LDF = $(LD) $(LDFLAGS) -- 2.47.2