1 ## Process this file with automake to produce Makefile.im
4 # The library we want to build
6 lib_LTLIBRARIES = lib@LIBRARY@.la
9 # Headers and extra stuff we want to distribute
11 noinst_HEADERS = freeglut_internal.h freeglut_teapot_data.h
13 EXTRA_DIST = freeglutdll.def
16 # Those source files build the freeglut library
18 lib@LIBRARY@_la_SOURCES = Common/freeglut_callbacks.c \
19 Common/freeglut_cursor.c \
20 Common/freeglut_display.c \
21 Common/freeglut_ext.c \
22 Common/freeglut_font.c \
23 Common/freeglut_glutfont_definitions.c \
24 Common/freeglut_font_data.c \
25 Common/freeglut_stroke_roman.c \
26 Common/freeglut_stroke_mono_roman.c \
27 Common/freeglut_gamemode.c \
28 Common/freeglut_geometry.c \
29 Common/freeglut_init.c \
30 Common/freeglut_input_devices.c \
31 Common/freeglut_spaceball.c \
32 Common/freeglut_joystick.c \
33 Common/freeglut_main.c \
34 Common/freeglut_menu.c \
35 Common/freeglut_misc.c \
36 Common/freeglut_overlay.c \
37 Common/freeglut_state.c \
38 Common/freeglut_structure.c \
39 Common/freeglut_teapot.c \
40 Common/freeglut_videoresize.c \
41 Common/freeglut_window.c \
42 Common/freeglut_xinput.c
45 # Additional linker flags
47 lib@LIBRARY@_la_LIBADD = $(GL_LIBS) $(X_LIBS) $(LIBM) $(LIBUSBHID)
48 lib@LIBRARY@_la_LDFLAGS = $(VERSION_INFO) -no-undefined
49 lib@LIBRARY@_la_CFLAGS = $(GL_FLAGS) $(X_CFLAGS) $(EXPORT_FLAGS)
50 lib@LIBRARY@_la_CPPFLAGS= -I$(top_srcdir)/include