This change is really for an internal project, but it may
be helpful in general.
It allows the xfs userspace commands to be built from within
the source tree, so that dependencies do not have to be installed
along the way; i.e. it looks within the source tree for libs
and header files (it will also look for installed libs and headers,
and use those, if found.)
There is a new Makefile in the cmds/ dir with a "cmds"
target that builds RPMs and moves them to an
RPMS/$ARCH directory, and moves source RPMS to an SRPMS dir.
This could easily be extended to do source installs (rather
than RPM installs) as well, for now that's left as an exercise
for the reader... :)
Date: Tue May 14 08:31:38 PDT 2002
Workarea: stout.americas.sgi.com:/home/poppy20/sandeen/xfs-cmds
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/xfs-cmds
Modid: xfs-cmds:slinx:119075a
Makefile - 1.1
- New Makefile for cmds subdir; really only builds RPMs for now
acl/configure.in - 1.16
- Look for libs within source tree first
(will use system libs if found)
xfsprogs/include/Makefile - 1.8
- Make xfs symlink in include/ dir so we can find xfs/foo.h
xfsdump/configure.in - 1.18
- Don't overwrite existing CPPFLAGS
Look for libs within source tree first
(will use system libs if found)
xfsdump/include/builddefs.in - 1.15
- Don't overwrite existing CPPFLAGS
dmapi/include/Makefile - 1.3
- Make xfs symlink in include/ dir so we can find xfs/dmapi.h
dmapi/include/buildmacros - 1.3
xfsprogs/include/buildmacros - 1.3
acl/include/buildmacros - 1.3
attr/include/buildmacros - 1.3
xfsdump/include/buildmacros - 1.3
- Add CPPFLAGS to compiler flags
|