blob: 437faa9a6adfafe2f75df4cfef149a829ece62ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
diff -u -r libjackasyn-0.13.old/Makefile.in libjackasyn-0.13/Makefile.in
--- libjackasyn-0.13.old/Makefile.in 2007-02-04 13:26:52.000000000 +0100
+++ libjackasyn-0.13/Makefile.in 2007-02-04 13:27:14.000000000 +0100
@@ -14,6 +14,7 @@
prefix = @prefix@
+libdir = @libdir@
all: static shared
@@ -22,22 +23,21 @@
ar cr libjackasyn.a *.o
shared:
- gcc -shared -Wl,-soname=libjackasyn.so.0 -o libjackasyn.so.$(VERSION) *.o $(LIBS)
+ $(CC) -shared -Wl,-soname=libjackasyn.so.0 $(LDFLAGS) -o libjackasyn.so.$(VERSION) *.o $(LIBS)
install:
- -rm $(DESTDIR)/$(prefix)/lib/libjackasyn.so*
- -install -d $(DESTDIR)/$(prefix)/lib
+ -install -d $(DESTDIR)/$(libdir)
-install -d $(DESTDIR)/$(prefix)/include
- install -m 644 libjackasyn.a $(DESTDIR)/$(prefix)/lib
- install -m 644 libjackasyn.so.$(VERSION) $(DESTDIR)/$(prefix)/lib
+ install -m 644 libjackasyn.a $(DESTDIR)/$(libdir)
+ install -m 644 libjackasyn.so.$(VERSION) $(DESTDIR)/$(libdir)
install -m 644 libjackoss.h $(DESTDIR)/$(prefix)/include
- ln -s libjackasyn.so.$(VERSION) $(DESTDIR)/$(prefix)/lib/libjackasyn.so.0
- ln -s libjackasyn.so.$(VERSION) $(DESTDIR)/$(prefix)/lib/libjackasyn.so
+ ln -s libjackasyn.so.$(VERSION) $(DESTDIR)/$(libdir)/libjackasyn.so.0
+ ln -s libjackasyn.so.$(VERSION) $(DESTDIR)/$(libdir)/libjackasyn.so
-install -d $(DESTDIR)/$(prefix)/bin
install -m 755 jacklaunch $(DESTDIR)/$(prefix)/bin
test:
- gcc -o test test.c libjackasyn.a -ljack -ldl -lm
+ $(CC) -o test test.c libjackasyn.a -ljack -ldl -lm
clean:
-rm *~ $(OBJ_FILES)
@@ -58,4 +58,4 @@
$(OBJ_FILES) : $(HEADERS)
libjackoss_pl.o: libjackoss.c
- gcc -c $(CFLAGS) -DLD_PRELOAD -o $@ $<
+ $(CC) -c $(CFLAGS) -DLD_PRELOAD -o $@ $<
Only in libjackasyn-0.13.old: Makefile.in.orig
|