Removing an extraneous "#if TARGET_HOST_POSIX_X11" and putting the path into the...
[freeglut] / src / Makefile.am
1 ## Process this file with automake to produce Makefile.im
2
3 #
4 # The library we want to build
5 #
6 lib_LTLIBRARIES = lib@LIBRARY@.la
7
8 #
9 # Headers and extra stuff we want to distribute
10 #
11 noinst_HEADERS = Common/freeglut_internal.h Common/freeglut_teapot_data.h
12
13 EXTRA_DIST = freeglutdll.def
14
15 #
16 # Those source files build the freeglut library
17 #
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_font_data.c \
24                          Common/freeglut_stroke_roman.c \
25                          Common/freeglut_stroke_mono_roman.c \
26                          Common/freeglut_gamemode.c \
27                          Common/freeglut_geometry.c \
28                          Common/freeglut_init.c \
29                          Common/freeglut_input_devices.c \
30                          Common/freeglut_spaceball.c \
31                          Common/freeglut_joystick.c \
32                          Common/freeglut_main.c \
33                          Common/freeglut_menu.c \
34                          Common/freeglut_misc.c \
35                          Common/freeglut_overlay.c \
36                          Common/freeglut_state.c \
37                          Common/freeglut_structure.c \
38                          Common/freeglut_teapot.c \
39                          Common/freeglut_videoresize.c \
40                          Common/freeglut_window.c \
41                          x11/freeglut_cursor_x11.c \
42                          x11/freeglut_display_x11.c \
43                          x11/freeglut_ext_x11.c \
44                          x11/freeglut_gamemode_x11.c \
45                          x11/freeglut_glutfont_definitions_x11.c \
46                          x11/freeglut_init_x11.c \
47                          x11/freeglut_input_devices_x11.c \
48                          x11/freeglut_joystick_x11.c \
49                          x11/freeglut_main_x11.c \
50                          x11/freeglut_menu_x11.c \
51                          x11/freeglut_spaceball_x11.c \
52                          x11/freeglut_state_x11.c \
53                          x11/freeglut_structure_x11.c \
54                          x11/freeglut_window_x11.c \
55                          x11/freeglut_xinput_x11.c
56
57 #
58 # Additional linker flags
59 #        
60 lib@LIBRARY@_la_LIBADD  = $(GL_LIBS) $(X_LIBS) $(LIBM) $(LIBUSBHID)
61 lib@LIBRARY@_la_LDFLAGS = $(VERSION_INFO) -no-undefined
62 lib@LIBRARY@_la_CFLAGS  = $(GL_FLAGS) $(X_CFLAGS) $(EXPORT_FLAGS)
63 lib@LIBRARY@_la_CPPFLAGS= -I$(top_srcdir)/include -I$(top_srcdir)/src/Common
64
65 #
66 # End of file
67 #