Add libinklevel (#4335), thanks Raphael
[openwrt/svn-archive/archive.git] / libs / libinklevel / patches / 001-makefile.patch
1 --- libinklevel-0.7.3.orig/Makefile 2008-12-10 17:09:05.052017664 +0100
2 +++ libinklevel-0.7.3/Makefile 2008-12-10 19:40:44.904051107 +0100
3 @@ -1,7 +1,7 @@
4 -DESTDIR =
5 -PREFIX = /usr/local
6 -CFLAGS += -Wall -O2 -fPIC -DPIC -I.
7 -CC = gcc
8 +#DESTDIR =
9 +PREFIX = /usr
10 +#CFLAGS += -Wall -O2 -fPIC -DPIC -I.
11 +#CC = gcc
12
13 all: libinklevel.so.4.0.7.3
14
15 @@ -36,5 +36,5 @@ libinklevel.so.4.0.7.3: canon.o d4lib.o
16 linux.o util.o
17 $(CC) $(CFLAGS) -shared -Wl,-soname,libinklevel.so.4 \
18 -o libinklevel.so.4.0.7.3 canon.o d4lib.o epson_new.o \
19 - hp_new.o libinklevel.o linux.o util.o -lc -lieee1284
20 + hp_new.o libinklevel.o linux.o util.o $(LIBS)
21