1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-11-23 22:42:49 +02:00

ubblib/Makefile: don't generate the versioned shared library

We only need libubb.so for installation.
This commit is contained in:
Werner Almesberger 2013-01-07 11:47:53 -03:00
parent b557adf95e
commit 2004d8c90a

View File

@ -20,15 +20,12 @@ LIB = libubb.a
SHLIB = libubb.so SHLIB = libubb.so
LIBVERSION = 0.0.0 LIBVERSION = 0.0.0
OBJS = ubb.o swuart.o OBJS = ubb.o swuart.o mmcclk.o
HDRS = ubb/ubb.h ubb/regbase.h ubb/regs4740.h ubb/swuart.h HDRS = ubb/ubb.h ubb/regbase.h ubb/regs4740.h ubb/swuart.h ubb/mmclk.h
.PHONY: all clean spotless .PHONY: all clean spotless
all: $(SHLIB).$(LIBVERSION) all: $(SHLIB)
$(SHLIB).$(LIBVERSION): $(SHLIB)
/sbin/ldconfig -n .
$(SHLIB): $(LIB) $(SHLIB): $(LIB)
$(LD) -shared -soname $@.$(LIBVERSION) -o $@ \ $(LD) -shared -soname $@.$(LIBVERSION) -o $@ \
@ -41,4 +38,4 @@ clean:
rm -f $(OBJS) rm -f $(OBJS)
spotless: clean spotless: clean
rm -f $(LIB) $(SHLIB) $(SHLIB).$(LIBVERSION) rm -f $(LIB) $(SHLIB)