| 1 | |
| 2 | |
| 3 | @@ -70,6 +70,9 @@
|
| 4 | $(LIBRARY): $(OBJECTS)
|
| 5 | $(LIBTOOL) --mode=link --tag=CC $(CC) -rpath $(LIBDIR) -version-info $(VERSION_CURRENT):$(VERSION_REVISION):$(VERSION_AGE) $(LDFLAGS) -o $@ $^
|
| 6 |
|
| 7 | +libtermkey.a: $(OBJECTS)
|
| 8 | + $(LIBTOOL) --mode=link $(CC) -o $@ $^
|
| 9 | +
|
| 10 | demo: $(LIBRARY) demo.lo
|
| 11 | $(LIBTOOL) --mode=link --tag=CC $(CC) -o $@ $^
|
| 12 |
|
| 13 | @@ -112,9 +115,10 @@
|
| 14 | install -d $(DESTDIR)$(LIBDIR)/pkgconfig
|
| 15 | sed "s,@LIBDIR@,$(LIBDIR),;s,@INCDIR@,$(INCDIR)," <termkey.pc.in >$(DESTDIR)$(LIBDIR)/pkgconfig/termkey.pc
|
| 16 |
|
| 17 | -install-lib: $(LIBRARY)
|
| 18 | +install-lib: $(LIBRARY) libtermkey.a
|
| 19 | install -d $(DESTDIR)$(LIBDIR)
|
| 20 | $(LIBTOOL) --mode=install install libtermkey.la $(DESTDIR)$(LIBDIR)/libtermkey.la
|
| 21 | + $(LIBTOOL) --mode=install install libtermkey.a $(DESTDIR)$(LIBDIR)/libtermkey.a
|
| 22 |
|
| 23 | install-man:
|
| 24 | install -d $(DESTDIR)$(MAN3DIR)
|