1# Makefile.am for the SDL sample image loading library and viewer
2
3lib_LTLIBRARIES = libGUI.la
4
5libGUIincludedir = $(includedir)/GUI
6libGUIinclude_HEADERS =		\
7	GUI.h			\
8	GUI_C.h			\
9	GUI_area.h		\
10	GUI_button.h		\
11	GUI_font.h		\
12	GUI_generic.h		\
13	GUI_image.h		\
14	GUI_loadimage.h		\
15	GUI_menu.h		\
16	GUI_output.h		\
17	GUI_scroll.h		\
18	GUI_scrollbar.h		\
19	GUI_status.h		\
20	GUI_termwin.h		\
21	GUI_widget.h		\
22	GUI_widgets.h
23
24libGUI_la_SOURCES =		\
25	GUI.cpp			\
26	GUI_C.cpp		\
27	GUI_area.cpp		\
28	GUI_button.cpp		\
29	GUI_font.cpp		\
30	GUI_generic.cpp		\
31	GUI_image.cpp		\
32	GUI_loadimage.cpp	\
33	GUI_loadimage.h		\
34	GUI_menu.cpp		\
35	GUI_output.cpp		\
36	GUI_output.h		\
37	GUI_scrollbar.cpp	\
38	GUI_termwin.cpp		\
39	GUI_types.h		\
40	GUI_widget.cpp		\
41	cancel_img.h		\
42	okay_img.h		\
43	the_font.h		\
44	the_checker.h
45
46EXTRA_DIST =			\
47	CHANGES			\
48	autogen.sh		\
49	MPWmake.sea.hqx		\
50	hello.bmp		\
51	hello2.bmp		\
52	scroll_dn.bmp		\
53	scroll_up.bmp
54libGUI_la_LDFLAGS = 		\
55	-no-undefined		\
56	-release $(LT_RELEASE)	\
57	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
58
59
60noinst_PROGRAMS = genimage hello hello_C keyboard okay
61
62genimage_SOURCES = genimage.c
63hello_SOURCES = hello.cpp
64hello_LDADD = libGUI.la
65hello_C_SOURCES = hello_C.c
66hello_C_LDADD = libGUI.la
67keyboard_SOURCES = keyboard.cpp
68keyboard_LDADD = libGUI.la
69okay_SOURCES = okay.c
70okay_LDADD = libGUI.la
71