equal
deleted
inserted
replaced
92 endif |
92 endif |
93 # Object files needed to create library |
93 # Object files needed to create library |
94 OBJECTS=$(SOURCES:%.c=%.o) |
94 OBJECTS=$(SOURCES:%.c=%.o) |
95 # Library name and options needed to build it |
95 # Library name and options needed to build it |
96 LIBRARY=lib$(LIBNAME).so |
96 LIBRARY=lib$(LIBNAME).so |
97 LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc -mimpure-text |
97 LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc |
98 # Libraries we are dependent on |
98 # Libraries we are dependent on |
99 LIBRARIES=-L $(JDK)/jre/lib/$(LIBARCH) -ljava_crw_demo -lc |
99 LIBRARIES=-L $(JDK)/jre/lib/$(LIBARCH) -ljava_crw_demo -lc |
100 # Building a shared library |
100 # Building a shared library |
101 LINK_SHARED=$(LINK.c) -shared -o $@ |
101 LINK_SHARED=$(LINK.c) -shared -o $@ |
102 endif |
102 endif |