You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jitsi/src/native/linux/screencapture/Makefile

22 lines
726 B

##
# \file Makefile
# \brief libscreencapture makefile.
# \author Sebastien Vincent
CC = gcc
JNI_HEADERS = -I${JAVA_HOME}/include -I${JAVA_HOME}/include/linux
CFLAGS = -std=c99 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -Wall -Wextra -pedantic -Wstrict-prototypes -Wredundant-decls $(JNI_HEADERS)
all: libscreencapture
libscreencapture: net_java_sip_communicator_impl_neomedia_imgstreaming_UnixScreenCapture.c
$(CC) -shared -fPIC $(CFLAGS) -o libscreencapture.so -O $<
# To compile 32 bit library under 64 bit system
libscreencapture-32: net_java_sip_communicator_impl_neomedia_imgstreaming_UnixScreenCapture.c
$(CC) -shared -m32 $(CFLAGS) -o libscreencapture.so -O $<
clean:
rm -f *.o *.so