xref: /aosp_15_r20/external/e2fsprogs/lib/Makefile.library (revision 6a54128f25917bfc36a8a6e9d722c04a0b4641b6)
1*6a54128fSAndroid Build Coastguard Workerall:: subdirs $(LIBRARY).a
2*6a54128fSAndroid Build Coastguard Worker
3*6a54128fSAndroid Build Coastguard Workerinstall-shlibs-strip::
4*6a54128fSAndroid Build Coastguard Worker
5*6a54128fSAndroid Build Coastguard Workerinstall-shlibs::
6*6a54128fSAndroid Build Coastguard Worker
7*6a54128fSAndroid Build Coastguard Workeruninstall-shlibs::
8*6a54128fSAndroid Build Coastguard Worker
9*6a54128fSAndroid Build Coastguard Workerreal-subdirs::
10*6a54128fSAndroid Build Coastguard Worker
11*6a54128fSAndroid Build Coastguard Workersubdirs:: Makefile
12*6a54128fSAndroid Build Coastguard Worker	$(Q) $(MAKE) -s real-subdirs
13*6a54128fSAndroid Build Coastguard Worker	$(Q) touch subdirs
14*6a54128fSAndroid Build Coastguard Worker
15*6a54128fSAndroid Build Coastguard Workerclean::
16*6a54128fSAndroid Build Coastguard Worker	$(Q) $(RM) -f subdirs
17*6a54128fSAndroid Build Coastguard Worker
18*6a54128fSAndroid Build Coastguard Worker$(LIBRARY).a: $(OBJS)
19*6a54128fSAndroid Build Coastguard Worker	$(E) "	GEN_LIB $@"
20*6a54128fSAndroid Build Coastguard Worker	$(Q) (if test -r $@; then $(RM) -f $@.bak && $(MV) $@ $@.bak; fi)
21*6a54128fSAndroid Build Coastguard Worker	$(Q) $(ARGEN) $@ $(OBJS)
22*6a54128fSAndroid Build Coastguard Worker	-@$(RANLIB) $@
23*6a54128fSAndroid Build Coastguard Worker	$(Q) $(RM) -f ../$@
24*6a54128fSAndroid Build Coastguard Worker	$(Q) (cd ..; $(LN) $(LINK_BUILD_FLAGS) \
25*6a54128fSAndroid Build Coastguard Worker		`echo $(my_dir) | sed -e 's;lib/;;'`/$@ $@)
26*6a54128fSAndroid Build Coastguard Worker
27*6a54128fSAndroid Build Coastguard Worker$(LIB)/$(LIBRARY).a: $(LIBRARY).a
28