Sha256: 8a3c080fc24cf9b0426ef48ecb467c49a2ee2fa8779776a8316505e008e7f896
Contents?: true
Size: 1.56 KB
Versions: 9
Compression:
Stored size: 1.56 KB
Contents
srcdir = . top_srcdir = .. top_builddir = .. DISTORM3_DIR = $(top_srcdir)/distorm VPATH = $(DISTORM3_DIR)/src:$(top_srcdir)/include CC = gcc CFLAGS = -g -O2 -Wall -fvisibility=hidden -fPIC -g -I. -I$(top_srcdir)/include -I$(DISTORM3_DIR)/include LIBS = -ldl LINK_SHARED = $(CC) -shared #LIBS += -lpsapi #LDFLAGS += -install_name @rpath/libfunchook.dylib FUNCHOOK_OBJS = \ os_func.o \ os_func_unix.o \ printf_base.o \ funchook.o \ funchook_io.o \ funchook_x86.o \ funchook_unix.o FUNCHOOK_OBJS += funchook_syscall.o #FUNCHOOK_OBJS += funchook_syscall.o DISTORM3_OBJS = \ mnemonics.o \ wstring.o \ textdefs.o \ prefix.o \ operands.o \ insts.o \ instructions.o \ distorm.o \ decoder.o HEADERS = \ funchook.h \ funchook_internal.h \ os_func.h OBJS = $(FUNCHOOK_OBJS) $(DISTORM3_OBJS) all: libfunchook.so check: cd ../test && $(MAKE) check libfunchook.so: $(OBJS) $(LINK_SHARED) $(LDFLAGS) -o libfunchook.so $(OBJS) $(LIBS) funchook.o: funchook.c $(HEADERS) funchook_linux.o: funchook_linux.c $(HEADERS) funchook_windows.o: funchook_windows.c $(HEADERS) funchook_x86.o: funchook_x86.c $(HEADERS) os_func.o: os_func.c os_func.h printf_base.h printf_base.o: printf_base.c printf_base.h $(CC) $(CFLAGS) -c -o $@ $< -DPFB_NO_EXTERNAL_FUNC -DPFB_MSVC_FORMAT # suppress warning: missing braces around initializer [-Wmissing-braces] insts.o: insts.c $(CC) $(CFLAGS) -c -o $@ $< -Wno-missing-braces clean: $(RM) libfunchook.so $(OBJS) Makefile config.h: $(srcdir)/Makefile.in $(srcdir)/config.h.in $(top_builddir)/config.status cd $(top_builddir) && ./config.status
Version data entries
9 entries across 9 versions & 1 rubygems