mirror of
https://github.com/libtom/libtomcrypt
synced 2026-08-25 20:26:07 -04:00
also install useful demos
This commit is contained in:
parent
90daad0764
commit
3fd1771d35
3 changed files with 9 additions and 3 deletions
|
|
@ -234,11 +234,13 @@ $(LIBNAME): $(OBJECTS)
|
|||
$(LIBTEST): $(TOBJECTS)
|
||||
$(LT) --mode=link --tag=CC $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) `find ./testprof -type f -name "*.lo"` -o $@ -rpath $(LIBPATH) -version-info $(VERSION_LT)
|
||||
|
||||
install: $(LIBNAME)
|
||||
install: $(LIBNAME) $(USEFUL_DEMOS)
|
||||
install -d $(LIBPATH)/pkgconfig
|
||||
install -d $(INCPATH)
|
||||
install -d $(BINPATH)
|
||||
$(LT) --mode=install install -c $(LIBNAME) $(LIBPATH)/$(LIBNAME)
|
||||
install -m 644 $(HEADERS) $(INCPATH)
|
||||
install -m 775 $(USEFUL_DEMOS) $(BINPATH)
|
||||
sed -e 's,^prefix=.*,prefix=$(DESTDIR),' -e 's,^Version:.*,Version: $(VERSION),' libtomcrypt.pc.in > $(LIBPATH)/pkgconfig/libtomcrypt.pc
|
||||
install -m 644 libtomcrypt.pc $(LIBPATH)/pkgconfig/libtomcrypt.pc
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue