blob: 674cac766fb930b28855af8d3d4eb53643cdb501 [file] [log] [blame]
Theodore Ts'o50e1e101997-04-26 13:58:21 +00001all:: profiled $(LIBRARY)_p.a
2
3subdirs:: profiled
4
5profiled:
6 mkdir profiled
7
8clean::
9 $(RM) -rf profiled
Theodore Ts'o62c06f71997-04-29 14:34:47 +000010 $(RM) -f $(LIBRARY)_p.a ../$(LIBRARY)_p.a
Theodore Ts'o50e1e101997-04-26 13:58:21 +000011
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'o62c06f71997-04-29 14:34:47 +000018
19install:: $(LIBRARY)_p.a installdirs
Theodore Ts'o39b50341998-04-01 02:51:21 +000020 $(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
25uninstall::
26 $(RM) -f $(DESTDIR)$(libdir)/$(LIBRARY)_p.a