blob: 7bff0f426881de4a2f9658081dcb4577d497d190 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001all:: $(LIBRARY)_chk.a
2
3real-subdirs:: Makefile
4 $(E) " MKDIR checker"
5 $(Q) mkdir -p checker
6
7clean::
8 $(RM) -rf checker
9
10$(LIBRARY)_chk.a: $(OBJS)
11 $(E) " GEN_CHECKER_LIB $@"
12 $(Q) (test -r $@ && $(RM) -f $@.bak && $(MV) $@ $@.bak)
13 $(Q) (cd checker; $(ARGEN) $@ $(OBJS))
14 -$(Q) $(RANLIB) $@
15 $(Q) $(RM) -f ../$@
16 $(Q) (cd .. ; $(LN) $(LINK_BUILD_FLAGS) \
17 `echo $(my_dir) | sed -e 's;lib/;;'`/$@ $@)