this library is useful for hacked picframe displays. you can use this lib also with...
[openwrt/svn-archive/archive.git] / libs / st2205tool / patches / 110-libst-makefile.patch
1 --- st2205tool/libst2205/Makefile.orig 2008-01-20 20:22:32.000000000 +0100
2 +++ st2205tool/libst2205/Makefile 2008-04-21 07:36:56.000000000 +0200
3 @@ -6,15 +6,15 @@
4 all: libst2205.so
5
6 libst2205.so: $(OBJ) $(SRC)
7 - ar -rv libst2205.a $(OBJ)
8 - gcc -shared -Wl,-soname,libst2205.so.1 -o libst2205.so $(OBJ) $(LIBS)
9 + $(AR) -rv libst2205.a $(OBJ)
10 + $(GCC) -shared -Wl,-soname,libst2205.so -o libst2205.so $(OBJ) $(LIBS)
11
12 clean:
13 rm -f $(OBJ) test *.a *.so
14
15 install: libst2205.so
16 - test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
17 - test -z "/usr/local/include" || /bin/mkdir -p "/usr/local/include"
18 - install libst2205.so /usr/local/lib
19 - install st2205.h /usr/local/include
20 - ldconfig
21 +# test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
22 +# test -z "/usr/local/include" || /bin/mkdir -p "/usr/local/include"
23 +# install libst2205.so /usr/local/lib
24 +# install st2205.h /usr/local/include
25 +# ldconfig