Sha256: 4790cd64f707303dd881c6a8d5dcd00666de0ffbf5bb92ffc7aecf711169163a

Contents?: true

Size: 572 Bytes

Versions: 80

Compression:

Stored size: 572 Bytes

Contents

UNAME_S := $(shell uname -s)

ifeq ($(UNAME_S),Darwin)

JAVA_HOME=$(shell /usr/libexec/java_home)

all: libjdistorm.dylib
libjdistorm.dylib: jdistorm.c jdistorm.h
	gcc -dynamiclib -o libjdistorm.dylib jdistorm.c -I ${JAVA_HOME}/include/ -I ${JAVA_HOME}/include/darwin/ -ldistorm3

endif

ifeq ($(UNAME_S),Linux)

all: libjdistorm.so
jdistorm.o: jdistorm.c jdistorm.h
        gcc -c jdistorm.c -fPIC -I ${JAVA_HOME}/include -I ${JAVA_HOME}/include/linux

libjdistorm.so: jdistorm.o
        gcc -shared -o libjdistorm.so -L${JAVA_HOME}/jre/lib -ldistorm3 jdistorm.o

endif

Version data entries

80 entries across 80 versions & 1 rubygems

Version Path
contrast-agent-7.6.1 funchook/distorm/examples/java/Makefile
contrast-agent-7.6.0 funchook/distorm/examples/java/Makefile
contrast-agent-7.5.0 funchook/distorm/examples/java/Makefile
contrast-agent-7.4.1 funchook/distorm/examples/java/Makefile
contrast-agent-7.4.0 funchook/distorm/examples/java/Makefile
contrast-agent-7.3.2 funchook/distorm/examples/java/Makefile
contrast-agent-7.3.1 funchook/distorm/examples/java/Makefile
contrast-agent-7.3.0 funchook/distorm/examples/java/Makefile
contrast-agent-7.2.0 funchook/distorm/examples/java/Makefile
contrast-agent-7.1.0 funchook/distorm/examples/java/Makefile
contrast-agent-7.0.0 funchook/distorm/examples/java/Makefile
contrast-agent-6.15.3 funchook/distorm/examples/java/Makefile
contrast-agent-6.15.2 funchook/distorm/examples/java/Makefile
contrast-agent-6.15.1 funchook/distorm/examples/java/Makefile
contrast-agent-6.15.0 funchook/distorm/examples/java/Makefile
contrast-agent-6.14.0 funchook/distorm/examples/java/Makefile
contrast-agent-6.13.0 funchook/distorm/examples/java/Makefile
contrast-agent-6.12.0 funchook/distorm/examples/java/Makefile
contrast-agent-6.11.0 funchook/distorm/examples/java/Makefile
contrast-agent-6.10.0 funchook/distorm/examples/java/Makefile