Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 1 | all:: profiled $(LIBRARY)_p.a |
| 2 | |
| 3 | subdirs:: profiled |
| 4 | |
| 5 | profiled: |
| 6 | mkdir profiled |
| 7 | |
| 8 | clean:: |
| 9 | $(RM) -rf profiled |
Theodore Ts'o | 62c06f7 | 1997-04-29 14:34:47 +0000 | [diff] [blame] | 10 | $(RM) -f $(LIBRARY)_p.a ../$(LIBRARY)_p.a |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 11 | |
| 12 | $(LIBRARY)_p.a: $(OBJS) |
| 13 | (if test -r $@; then $(RM) -f $@.bak && $(MV) $@ $@.bak; fi) |
| 14 | (cd profiled; $(ARUPD) ../$@ $(OBJS)) |
| 15 | -$(RANLIB) $@ |
| 16 | $(RM) -f ../$@ |
| 17 | $(LN) $@ ../$@ |
Theodore Ts'o | 62c06f7 | 1997-04-29 14:34:47 +0000 | [diff] [blame] | 18 | |
| 19 | install:: $(LIBRARY)_p.a installdirs |
Theodore Ts'o | 39b5034 | 1998-04-01 02:51:21 +0000 | [diff] [blame] | 20 | $(INSTALL_DATA) $(LIBRARY)_p.a $(DESTDIR)$(libdir)/$(LIBRARY)_p.a |
| 21 | $(CHMOD) 644 $(DESTDIR)$(libdir)/$(LIBRARY)_p.a |
| 22 | -$(RANLIB) $(DESTDIR)$(libdir)/$(LIBRARY)_p.a |
| 23 | $(CHMOD) $(LIBMODE) $(DESTDIR)$(libdir)/$(LIBRARY)_p.a |
| 24 | |
| 25 | uninstall:: |
| 26 | $(RM) -f $(DESTDIR)$(libdir)/$(LIBRARY)_p.a |