Purge all r_lib references

This commit is contained in:
pancake 2014-02-20 22:16:23 +01:00
parent dff9e0d420
commit 9b9b04576f
22 changed files with 22 additions and 42 deletions

View File

@ -4,9 +4,6 @@ STATIC_OBJ+=${OBJ_8051}
TARGET_8051=anal_8051.${EXT_SO}
ALL_TARGETS+=${TARGET_8051}
#LDFLAGS+=-L../../lib -lr_lib
#LDFLAGS+=-L../../syscall -lr_syscall
#LDFLAGS+=-L../../diff -lr_diff
${TARGET_8051}: ${OBJ_8051}
${CC} $(call libname,anal_z80) ${LDFLAGS} ${CFLAGS} -o anal_8051.${EXT_SO} ${OBJ_8051}

View File

@ -4,9 +4,6 @@ STATIC_OBJ+=${OBJ_ARC}
TARGET_ARC=anal_arc.${EXT_SO}
ALL_TARGETS+=${TARGET_ARC}
#LDFLAGS+=-L$(TOP)/libr/lib -lr_lib
#LDFLAGS+=-L$(TOP)/libr/syscall -lr_syscall
#LDFLAGS+=-L$(TOP)/libr/diff -lr_diff
${TARGET_ARC}: ${OBJ_ARC}
${CC} $(call libname,anal_arc) ${LDFLAGS} ${CFLAGS} -o anal_arc.${EXT_SO} ${OBJ_ARC}

View File

@ -4,9 +4,6 @@ STATIC_OBJ+=${OBJ_ARM}
TARGET_ARM=anal_arm.${EXT_SO}
ALL_TARGETS+=${TARGET_ARM}
#LDFLAGS+=-L$(TOP)/libr/lib -lr_lib
#LDFLAGS+=-L$(TOP)/libr/syscall -lr_syscall
#LDFLAGS+=-L$(TOP)/libr/diff -lr_diff
CFLAGS +=-I../asm/arch/include
${TARGET_ARM}: ${OBJ_ARM}

View File

@ -4,9 +4,6 @@ STATIC_OBJ+=${OBJ_BF}
TARGET_BF=anal_bf.${EXT_SO}
ALL_TARGETS+=${TARGET_BF}
#LDFLAGS+=-L$(TOP)/libr/lib -lr_lib
#LDFLAGS+=-L$(TOP)/libr/syscall -lr_syscall
#LDFLAGS+=-L$(TOP)/libr/diff -lr_diff
${TARGET_BF}: ${OBJ_BF}
${CC} $(call libname,anal_bf) ${LDFLAGS} ${CFLAGS} -o anal_bf.${EXT_SO} ${OBJ_BF}

View File

@ -4,9 +4,6 @@ STATIC_OBJ+=${OBJ_GB}
TARGET_GB=anal_gb.${EXT_SO}
ALL_TARGETS+=${TARGET_GB}
#LDFLAGS+=-L../../lib -lr_lib
#LDFLAGS+=-L../../syscall -lr_syscall
#LDFLAGS+=-L../../diff -lr_diff
${TARGET_GB}: ${OBJ_GB}
${CC} $(call libname,anal_gb) ${LDFLAGS} ${CFLAGS} -o anal_gb.${EXT_SO} ${OBJ_GB}

View File

@ -4,9 +4,6 @@ STATIC_OBJ+=${OBJ_I8080}
TARGET_I8080=anal_i8080.${EXT_SO}
ALL_TARGETS+=${TARGET_I8080}
#LDFLAGS+=-L../../lib -lr_lib
#LDFLAGS+=-L../../syscall -lr_syscall
#LDFLAGS+=-L../../diff -lr_diff
${TARGET_I8080}: ${OBJ_I8080}
${CC} $(call libname,anal_z80) ${LDFLAGS} ${CFLAGS} -o anal_i8080.${EXT_SO} ${OBJ_I8080}

View File

@ -4,9 +4,6 @@ STATIC_OBJ+=${OBJ_M68K}
TARGET_M68K=anal_m68k.${EXT_SO}
ALL_TARGETS+=${TARGET_M68K}
#LDFLAGS+=-L../../lib -lr_lib
#LDFLAGS+=-L../../syscall -lr_syscall
#LDFLAGS+=-L../../diff -lr_diff
${TARGET_M68K}: ${OBJ_M68K}
${CC} $(call libname,anal_m68k) ${LDFLAGS} ${CFLAGS} -o anal_m68k.${EXT_SO} ${OBJ_M68K}

View File

@ -6,4 +6,5 @@ TARGET_PPC=anal_ppc.${EXT_SO}
ALL_TARGETS+=${TARGET_PPC}
${TARGET_PPC}: ${OBJ_PPC}
${CC} $(call libname,anal_ppc) ${CFLAGS} -o anal_ppc.${EXT_SO} ${OBJ_PPC}
${CC} $(call libname,anal_ppc) ${CFLAGS} \
-o anal_ppc.${EXT_SO} ${OBJ_PPC}

View File

@ -6,4 +6,5 @@ TARGET_SH=anal_sh.${EXT_SO}
ALL_TARGETS+=${TARGET_SH}
${TARGET_SH}: ${OBJ_SH}
${CC} $(call libname,anal_sh) ${LDFLAGS} ${CFLAGS} -o anal_sh.${EXT_SO} ${OBJ_SH}
${CC} $(call libname,anal_sh) ${LDFLAGS} \
${CFLAGS} -o anal_sh.${EXT_SO} ${OBJ_SH}

View File

@ -4,9 +4,7 @@ STATIC_OBJ+=${OBJ_WS}
TARGET_WS=anal_ws.${EXT_SO}
ALL_TARGETS+=${TARGET_WS}
#LDFLAGS+=-L../../lib -lr_lib
#LDFLAGS+=-L../../syscall -lr_syscall
#LDFLAGS+=-L../../diff -lr_diff
${TARGET_WS}: ${OBJ_WS}
${CC} $(call libname,anal_ws) ${LDFLAGS} ${CFLAGS} -o anal_ws.${EXT_SO} ${OBJ_WS}
${CC} $(call libname,anal_ws) ${LDFLAGS} ${CFLAGS} \
-o anal_ws.${EXT_SO} ${OBJ_WS}

View File

@ -15,4 +15,5 @@ ALL_TARGETS+=${TARGET_X86_UDIS86}
CFLAGS+=-I../asm/arch/x86/udis86 -I../../asm/arch/x86/udis86 -DHAVE_STRING_H=1
${TARGET_X86_UDIS86}: ${OBJ_X86_UDIS86}
${CC} ${CFLAGS} $(call libname,anal_x86) -o anal_x86_udis.${EXT_SO} ${OBJ_X86_UDIS86}
${CC} ${CFLAGS} $(call libname,anal_x86) \
-o anal_x86_udis.${EXT_SO} ${OBJ_X86_UDIS86}

View File

@ -4,9 +4,6 @@ STATIC_OBJ+=${OBJ_Z80}
TARGET_Z80=anal_z80.${EXT_SO}
ALL_TARGETS+=${TARGET_Z80}
#LDFLAGS+=-L../../lib -lr_lib
#LDFLAGS+=-L../../syscall -lr_syscall
#LDFLAGS+=-L../../diff -lr_diff
${TARGET_Z80}: ${OBJ_Z80}
${CC} $(call libname,anal_z80) ${LDFLAGS} ${CFLAGS} -o anal_z80.${EXT_SO} ${OBJ_Z80}

View File

@ -1,7 +1,7 @@
include ../../../global.mk
include $(LTOP)/config.mk
BINDEPS=r_lib r_bin r_flags r_util r_cons
BINDEPS=r_bin r_flags r_util r_cons
CFLAGS+=-DLIBDIR=\"${LIBDIR}\"
all: test_meta${EXT_EXE} rpathdel${EXT_EXE} test_create${EXT_EXE}

View File

@ -1,5 +1,5 @@
BIN=test
OBJ=test.o
BINDEPS=r_cmd r_util r_lib
BINDEPS=r_cmd r_util
include ../../rules.mk

View File

@ -1,3 +1,7 @@
CFLAGS+=-I../../include
LDFLAGS+=-lr_cons -L../../libr/cons
LDFLAGS+=-lr_util -L../../libr/util
all:
gcc -o editor editor.c -I../../include -lr_cons -L../../libr/cons -L../../libr/util -lr_util
gcc -o test-rgb test-rgb.c -I../../include -lr_cons -L../../libr/cons -L../../libr/util -lr_util
$(CC) -o editor editor.c $(CFLAGS) $(LDFLAGS)
$(CC) -o test-rgb test-rgb.c $(CFLAGS) $(LDFLAGS)

View File

@ -1,6 +1,6 @@
BINDEPS=r_db r_util
BIN=test
OBJ=test.o
include ../../rules.mk
include ../../rules.mk
include ../r.mk

View File

@ -1,6 +1,6 @@
OBJ=main.o
BIN=main
BINDEPS=r_lib r_debug r_bp r_io r_reg r_cons r_anal r_socket r_syscall r_diff r_db r_util
BINDEPS=r_debug r_bp r_io r_reg r_cons r_anal r_socket r_syscall r_diff r_db r_util
include ../../rules.mk
include ../../db/r.mk

View File

@ -9,7 +9,7 @@ TESTS+=fun5 fun6
include ../../config.mk
BINDEPS=r_egg r_asm r_parse r_syscall r_db r_util r_lib
BINDEPS=r_egg r_asm r_parse r_syscall r_db r_util
BIN=test
OBJ=test.o

View File

@ -1,4 +1,5 @@
BIN=test
OBJ=test.o
BINDEPS=r_flags r_cons r_util
include ../../rules.mk

View File

@ -1,5 +1,3 @@
#BINDEPS=r_io r_util r_lib r_socket
all:
#map${EXT_EXE} cat${EXT_EXE} read4${EXT_EXE}

View File

@ -2,6 +2,6 @@ include ../../config.mk
OBJS=parse.o
BIN=parse
BINDEPS=r_lib r_parse r_util r_flags r_cons r_anal r_reg r_syscall r_diff r_db
BINDEPS=r_parse r_util r_flags r_cons r_anal r_reg r_syscall r_diff r_db
include ../../rules.mk

View File

@ -1,4 +1,4 @@
BINDEPS=r_lib r_util
BINDEPS=r_util
LDFLAGS=-L..
include ../../config.mk