blob: 1b86b0235587a13e62dc6e6d9ec0df4142bce6a9 [file] [log] [blame]
Theodore Ts'o50e1e101997-04-26 13:58:21 +00001all:: subdirs $(LIBRARY).a
2
3install-shlibs::
4
Theodore Ts'of923bf22005-01-26 13:03:55 -05005uninstall-shlibs::
6
Theodore Ts'ocbb7f9c2006-03-17 21:59:13 -05007real-subdirs::
8
Theodore Ts'o02ef1962005-12-29 22:45:29 -05009subdirs:: Makefile
Theodore Ts'oc13351f2009-07-02 00:11:17 -040010 $(Q) $(MAKE) -s real-subdirs
11 $(Q) touch subdirs
Theodore Ts'o02ef1962005-12-29 22:45:29 -050012
13clean::
Theodore Ts'oc13351f2009-07-02 00:11:17 -040014 $(Q) $(RM) -f subdirs
Theodore Ts'o50e1e101997-04-26 13:58:21 +000015
Theodore Ts'ob93cb062008-05-11 20:34:12 -040016$(LIBRARY).a: $(OBJS)
Theodore Ts'oc13351f2009-07-02 00:11:17 -040017 $(E) " GEN_LIB $@"
18 $(Q) (if test -r $@; then $(RM) -f $@.bak && $(MV) $@ $@.bak; fi)
19 $(Q) $(ARGEN) $@ $(OBJS)
Theodore Ts'o47204ff2004-11-30 10:52:27 -050020 -@$(RANLIB) $@
Theodore Ts'oc13351f2009-07-02 00:11:17 -040021 $(Q) $(RM) -f ../$@
Theodore Ts'o5aa6c3f2010-05-17 19:21:42 -040022 $(Q) (cd ..; $(LN) $(LINK_BUILD_FLAGS) \
23 `echo $(my_dir) | sed -e 's;lib/;;'`/$@ $@)
Theodore Ts'o50e1e101997-04-26 13:58:21 +000024
Theodore Ts'ob93cb062008-05-11 20:34:12 -040025$(LIB)/$(LIBRARY).a: $(LIBRARY).a