Skip to content
Snippets Groups Projects
Commit 36130b3d authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Use $(RANLIB) and $(TOUCHLIB) instead of "ranlib" and "ranlib -t".

parent 15e30775
No related branches found
No related tags found
No related merge requests found
...@@ -13,14 +13,14 @@ all: $(LIBNAME) ...@@ -13,14 +13,14 @@ all: $(LIBNAME)
libmisc.a: $(LIBOBJS) libmisc.a: $(LIBOBJS)
$(AR) $(ARFLAGS) $(LIBNAME) $? $(AR) $(ARFLAGS) $(LIBNAME) $?
ranlib $(LIBNAME) $(RANLIB) $(LIBNAME)
includes:; includes:;
libraries: $(LIBNAME) libraries: $(LIBNAME)
$(RM) $(LIBDIR)/$(LIBNAME) $(RM) $(LIBDIR)/$(LIBNAME)
cp $(LIBNAME) $(LIBDIR)/$(LIBNAME) cp $(LIBNAME) $(LIBDIR)/$(LIBNAME)
ranlib $(LIBDIR)/$(LIBNAME) $(RANLIB) $(LIBDIR)/$(LIBNAME)
binaries:; binaries:;
......
...@@ -25,7 +25,7 @@ server-dir: ...@@ -25,7 +25,7 @@ server-dir:
.PHONY: liblyskom-server.a .PHONY: liblyskom-server.a
liblyskom-server.a: server-dir liblyskom-server.a: server-dir
(cd server-dir;$(MAKE) $(EXPORTS) -f ../Makefile ../$@ TARGET=-DSERVER) (cd server-dir;$(MAKE) $(EXPORTS) -f ../Makefile ../$@ TARGET=-DSERVER)
ranlib $@ $(RANLIB) $@
../liblyskom-server.a: $(LIBOBJS) ../liblyskom-server.a: $(LIBOBJS)
...@@ -34,7 +34,7 @@ liblyskom-server.a: server-dir ...@@ -34,7 +34,7 @@ liblyskom-server.a: server-dir
.PHONY: liblyskom-client.a .PHONY: liblyskom-client.a
liblyskom-client.a: client-dir liblyskom-client.a: client-dir
(cd client-dir;$(MAKE) $(EXPORTS) -f ../Makefile ../$@ TARGET=-DCLIENT) (cd client-dir;$(MAKE) $(EXPORTS) -f ../Makefile ../$@ TARGET=-DCLIENT)
ranlib $@ $(RANLIB) $@
../liblyskom-client.a: $(LIBOBJS) ../liblyskom-client.a: $(LIBOBJS)
...@@ -48,7 +48,7 @@ clean: ...@@ -48,7 +48,7 @@ clean:
libraries: includes all libraries: includes all
(cd $(LIBDIR); $(RM) $(LIBRARIES)) (cd $(LIBDIR); $(RM) $(LIBRARIES))
cp $(LIBRARIES) $(LIBDIR) cp $(LIBRARIES) $(LIBDIR)
(cd $(LIBDIR); ranlib -t $(LIBRARIES)) (cd $(LIBDIR); $(TOUCHLIB) $(LIBRARIES))
include $(SCRIPTDIR)/install-includes.make include $(SCRIPTDIR)/install-includes.make
......
...@@ -15,12 +15,12 @@ all: $(LIBNAME) ...@@ -15,12 +15,12 @@ all: $(LIBNAME)
$(LIBNAME): $(LIBOBJS) $(LIBNAME): $(LIBOBJS)
$(AR) $(ARFLAGS) $(LIBNAME) $? $(AR) $(ARFLAGS) $(LIBNAME) $?
ranlib $(LIBNAME) $(RANLIB) $(LIBNAME)
libraries: $(LIBNAME) libraries: $(LIBNAME)
$(RM) $(LIBDIR)/$(LIBNAME) $(RM) $(LIBDIR)/$(LIBNAME)
cp $(LIBNAME) $(LIBDIR)/$(LIBNAME) cp $(LIBNAME) $(LIBDIR)/$(LIBNAME)
ranlib -t $(LIBDIR)/$(LIBNAME) $(TOUCHLIB) $(LIBDIR)/$(LIBNAME)
include $(SCRIPTDIR)/install-includes.make include $(SCRIPTDIR)/install-includes.make
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment