1# =========================================================================== 2# 3# PUBLIC DOMAIN NOTICE 4# National Center for Biotechnology Information 5# 6# This software/database is a "United States Government Work" under the 7# terms of the United States Copyright Act. It was written as part of 8# the author's official duties as a United States Government employee and 9# thus cannot be copyrighted. This software/database is freely available 10# to the public for use. The National Library of Medicine and the U.S. 11# Government have not placed any restriction on its use or reproduction. 12# 13# Although all reasonable efforts have been taken to ensure the accuracy 14# and reliability of the software and data, the NLM and the U.S. 15# Government do not and cannot warrant the performance or results that 16# may be obtained by using this software or data. The NLM and the U.S. 17# Government disclaim all warranties, express or implied, including 18# warranties of performance, merchantability or fitness for any particular 19# purpose. 20# 21# Please cite the author in any work or product based on this material. 22# 23# =========================================================================== 24 25default: all 26 27TOP ?= $(abspath ../..) 28 29MODULE = libs/xfs 30 31include $(TOP)/build/Makefile.env 32RWORKDIR=$(TOP)/$(MODULE) 33 34ifeq (mac,$(OS)) 35TOP = $(shell cd ../.. && pwd ) 36endif 37 38 39INT_LIBS = \ 40 libxfs 41 42ALL_LIBS = \ 43 $(INT_LIBS) 44 45 46#------------------------------------------------------------------------------- 47# outer targets 48# 49all std: vers-includes 50 @ $(MAKE_CMD) $(TARGDIR)/std 51 52$(INT_LIBS): vers-includes 53 @ $(MAKE_CMD) $(ILIBDIR)/$@ 54 55.PHONY: all std $(ALL_LIBS) 56 57#------------------------------------------------------------------------------- 58# std 59# 60$(TARGDIR)/std: \ 61 $(addprefix $(ILIBDIR)/,$(INT_LIBS)) 62 63.PHONY: $(TARGDIR)/std 64 65#------------------------------------------------------------------------------- 66# vers-includes 67# 68$(TARGDIR)/vers-includes: $(addsuffix .vers.h,$(EXT_LIBS)) 69 70.PHONY: $(TARGDIR)/vers-includes 71 72#------------------------------------------------------------------------------- 73# clean 74# 75clean: stdclean 76 77.PHONY: clean 78 79ifeq (mac,$(OS)) 80INCDIRS += -I/usr/local/include/osxfuse/fuse 81endif 82 83#------------------------------------------------------------------------------- 84# xfs 85# 86$(ILIBDIR)/libxfs: $(addprefix $(ILIBDIR)/libxfs.,$(ILIBEXT)) 87 88XFS_SRC = \ 89 xfs \ 90 xlog \ 91 platform \ 92 operations \ 93 security \ 94 model \ 95 tree \ 96 node \ 97 path \ 98 perm \ 99 editors \ 100 handle \ 101 teleport \ 102 foo \ 103 ncon \ 104 contnode \ 105 docnode \ 106 simcon \ 107 kfs \ 108 readme \ 109 bogus \ 110 owp \ 111 doc \ 112 xhttp \ 113 http \ 114 xtar \ 115 tar \ 116 xencro \ 117 encro \ 118 xencws \ 119 encws \ 120 spen \ 121 xgap \ 122 xgapf \ 123 xgapk \ 124 gapk \ 125 gapks \ 126 gapka \ 127 gapc \ 128 gap \ 129 gapf \ 130 lockdpt \ 131 lreader \ 132 schwarzschraube \ 133 zehr \ 134 mehr 135 136XFS_OBJ = \ 137 $(addsuffix .$(LOBX),$(XFS_SRC)) 138 139$(ILIBDIR)/libxfs.$(LIBX): $(XFS_OBJ) 140 $(LD) --slib -o $@ $^ $(XFS_LIB) 141