|
|
| File: [Development] / xfs-cmds / xfsdump / restore / Makefile (download)
Revision 1.18, Tue Jul 4 03:51:26 2006 UTC (11 years, 3 months ago) by tes.longdrop.melbourne.sgi.com
some Makefile dependency fixes Merge of master-melb:xfs-cmds:26405a by kenmcd. Fix up HFILES to include the symlinked headers. Get rid of unneeded dependencies. |
#
# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved.
#
TOPDIR = ..
include $(TOPDIR)/include/builddefs
COMMINCL = \
arch_xlate.h \
cldmgr.h \
content.h \
content_inode.h \
dlog.h \
drive.h \
exit.h \
fs.h \
getdents.h \
global.h \
hsmapi.h \
lock.h \
media.h \
mlog.h \
openutil.h \
path.h \
qlock.h \
rec_hdr.h \
ring.h \
sproc.h \
stream.h \
ts_mtio.h \
types.h \
util.h
INVINCL = \
inventory.h \
inv_priv.h
INVCOMMON = \
inv_api.c \
inv_core.c \
inv_files.c \
inv_fstab.c \
inv_idx.c \
inv_mgr.c \
inv_stobj.c
COMMON = \
arch_xlate.c \
cldmgr.c \
dlog.c \
drive.c \
drive_scsitape.c \
drive_simple.c \
drive_minrmt.c \
fs.c \
getdents.c \
global.c \
hsmapi.c \
lock.c \
main.c \
mlog.c \
openutil.c \
path.c \
qlock.c \
ring.c \
sproc.c \
stream.c \
util.c
LOCALS = \
bag.c \
content.c \
dirattr.c \
inomap.c \
mmap.c \
namreg.c \
node.c \
tree.c \
win.c
LOCALINCL = \
bag.h \
dirattr.h \
getopt.h \
inomap.h \
mmap.h \
namreg.h \
node.h \
tree.h \
win.h
LTCOMMAND = xfsrestore
CFILES = $(COMMON) $(INVCOMMON) $(LOCALS)
HFILES = $(LOCALINCL) $(COMMINCL) $(INVINCL)
LINKS = $(COMMINCL) $(COMMON) $(INVINCL) $(INVCOMMON)
LDIRT = $(LINKS)
LLDLIBS = $(LIBUUID) $(LIBHANDLE) $(LIBATTR) $(LIBDM) $(LIBRMT)
LTDEPENDENCIES = $(LIBRMT)
LCFLAGS = -DRESTORE -DRMT -DBASED -DDOSOCKS -DINVCONVFIX -DPIPEINVFIX \
-DEOMFIX -DSESSCPLT -DWHITEPARSE -DNODECHK -DDIRENTHDR_CHECKSUM \
-DF_FSSETDM
default: $(LTCOMMAND)
include $(BUILDRULES)
install: default
$(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR)
$(INSTALL) -m 755 -d $(PKG_BIN_DIR)
$(INSTALL) -S $(PKG_SBIN_DIR)/$(LTCOMMAND) $(PKG_BIN_DIR)/$(LTCOMMAND)
install-dev:
$(COMMINCL) $(COMMON):
$(RM) $@; $(LN_S) ../common/$@ $@
$(INVINCL) $(INVCOMMON):
$(RM) $@; $(LN_S) ../inventory/$@ $@