10 package
= @PACKAGE_NAME@
11 version
= @PACKAGE_VERSION@
19 LOCAL_PYTHON_VERSION
= @LOCAL_PYTHON_VERSION@
22 #User should not be here, but I don't want this to fail
24 @echo
"*** Running the default package in the parent directory ***"
31 #Compile the source code - DO NOT COMPILE "main.c" - that is a separate test executable
35 $(CC
) $(CFLAGS
) $(LIBFLAGS
) \
36 $(srcdir)/xaut.c
$(srcdir)/xaut_display.c
$(srcdir)/xaut_keyboard.c \
37 $(srcdir)/xaut_mouse.c
$(srcdir)/xaut_window.c
$(srcdir)/xautpy_wrap.c \
38 -I
/usr
/include/python
$(LOCAL_PYTHON_VERSION
)/ -I
/usr
/include/X11
/ \
39 -DHAVE_CONFIG_H
-DEN_US
-DLESS_THAN_FIX
42 $(CC
) $(CFLAGS
) $(DBGFLAGS
) \
43 $(srcdir)/xaut.c
$(srcdir)/xaut_display.c
$(srcdir)/xaut_keyboard.c \
44 $(srcdir)/xaut_mouse.c
$(srcdir)/xaut_window.c
$(srcdir)/main.c \
45 -I
/usr
/include/python
$(LOCAL_PYTHON_VERSION
)/ -I
/usr
/include/X11
/ \
47 -DHAVE_CONFIG_H
-DEN_US
-DLESS_THAN_FIX \
51 #Link the shared library for the Python module
53 ld -shared
$(srcdir)/xaut.o
$(srcdir)/xaut_display.o \
54 $(srcdir)/xaut_keyboard.o
$(srcdir)/xaut_mouse.o
$(srcdir)/xaut_window.o \
55 $(srcdir)/xautpy_wrap.o \
56 /usr
/lib
/libX11.so
/usr
/lib
/libXtst.so
-o _
$(package
)py.so