7 sed
-i
's|@@LIBRTMIDI@@|-L../lib -lrtmidi-jack|' tests
/Makefile
8 $(CC
) $(CFLAGS
) -fPIC
-D__LINUX_JACK__
-o lib
/librtmidi-jack.so
.0.0.0 -shared
-Wl
,-soname
=librtmidi-jack.so
.0 $(LDFLAGS
) -ljack RtMidi.
cpp
9 ln
-s librtmidi-jack.so
.0.0.0 lib
/librtmidi-jack.so
10 ln
-s librtmidi-jack.so
.0.0.0 lib
/librtmidi-jack.so
.0
12 for bin in
`find tests -type f -perm 755`; do mv
$$bin bin
/rtmidi-
`basename $$bin`-jack
; done
;
15 sed
-i
's|@@LIBRTMIDI@@|-L../lib -lrtmidi|' tests
/Makefile
16 $(CC
) $(CFLAGS
) -fPIC
-D__LINUX_ALSASEQ__
-o lib
/librtmidi.so
.0.0.0 -shared
-Wl
,-soname
=librtmidi.so
.0 $(LDFLAGS
) -lasound
-lpthread RtMidi.
cpp
17 ln
-s librtmidi.so
.0.0.0 lib
/librtmidi.so
18 ln
-s librtmidi.so
.0.0.0 lib
/librtmidi.so
.0
20 for bin in
`find tests -type f -perm 755`; do mv
$$bin bin
/rtmidi-
`basename $$bin`; done
;
27 install -d
$(DESTDIR
)/usr
/bin
28 install -d
$(DESTDIR
)/usr
/lib
29 install -d
$(DESTDIR
)/usr
/lib
/pkgconfig
30 install -d
$(DESTDIR
)/usr
/include/rtmidi
31 install -d
$(DESTDIR
)/usr
/share
/doc
/rtmidi
32 cp
-a bin
/* $(DESTDIR
)/usr
/bin
33 cp
-a lib
/* $(DESTDIR
)/usr
/lib
34 cp
*.
{h
,cpp} $(DESTDIR
)/usr
/include/rtmidi
35 cp
*.
pc $(DESTDIR
)/usr
/lib
/pkgconfig
36 cp
-a doc
/html
$(DESTDIR
)/usr
/share
/doc
/rtmidi