diff options
Diffstat (limited to 'unrar/Makefile')
| -rw-r--r-- | unrar/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/unrar/Makefile b/unrar/Makefile index 77d5f17..5286737 100644 --- a/unrar/Makefile +++ b/unrar/Makefile @@ -10,7 +10,7 @@ CPP = g++ CFLAGS = -I. \ -Wall -Wtype-limits -fPIC -O2 -g -ggdb \ -DG_DISABLE_DEPRECATED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE \ - -D__VERBOSE_DEBUGx + -D__DEBUG_INTERNALx -D_LOG_DOMAIN="unrar" LIB_SUFFIX = `if test \`uname -m\` = x86_64 -o \`uname -m\` = ppc64; then echo 64; fi` @@ -34,7 +34,7 @@ UNRAR_OBJECTS = $(DIR_UNRAR)/rar.o $(DIR_UNRAR)/strlist.o $(DIR_UNRAR)/strfn.o \ $(DIR_UNRAR)/threadpool.o $(DIR_UNRAR)/rs16.o $(DIR_UNRAR)/cmddata.o \ $(DIR_UNRAR)/ui.o -VFS_COMMON_OBJECTS = filelist.o filelist-vfs-intf.o strutils.o vfsutils.o +VFS_COMMON_OBJECTS = filelist.o filelist-vfs-intf.o strutils.o vfsutils.o logutils.o VFS_OBJECTS = unrar.o @@ -48,7 +48,7 @@ VFS_OBJECTS = unrar.o all: shared -shared: CFLAGS += -DMODULE_SHARED -I/usr/include/libunrar6 +shared: CFLAGS += -DMODULE_SHARED -I/usr/include/libunrar -I/usr/include/libunrar6 shared: $(VFS_COMMON_OBJECTS) $(VFS_OBJECTS) $(CPP) -shared -o libunrar_plugin.so $(VFS_COMMON_OBJECTS) $(VFS_OBJECTS) $(CFLAGS) `pkg-config glib-2.0 gio-2.0 --libs` -lunrar @@ -63,6 +63,7 @@ filelist.o: filelist.h filelist.c filelist-vfs-intf.o: filelist-vfs-intf.h filelist-vfs-intf.c strutils.o: strutils.h strutils.c vfsutils.o: vfsutils.h vfsutils.c +logutils.o: logutils.h logutils.c install:: $(INSTALL) ./libunrar_plugin.so $(DESTDIR)/lib$(LIB_SUFFIX)/tuxcmd/ |
