PageRenderTime 27ms CodeModel.GetById 7ms app.highlight 13ms RepoModel.GetById 2ms app.codeStats 0ms

/script_binding/lua/Makefile.am

http://ftk.googlecode.com/
Makefile | 118 lines | 111 code | 7 blank | 0 comment | 2 complexity | 6ecc6930006d27894a0ef44a68b271e0 MD5 | raw file
  1include $(abs_top_builddir)/src/rules.mk
  2
  3SUBDIRS=lua
  4lib_LTLIBRARIES=libftklua.la
  5libftklua_la_SOURCES=ftk_lua.c tolua_event.c  tolua_is.c  tolua_map.c  tolua_push.c  tolua_to.c \
  6	lua_ftk.c lua_ftk_typedef.c lua_ftk_widget.c lua_ftk_window.c lua_ftk_xul.c lua_ftk_callbacks.c \
  7	lua_ftk_app_window.c lua_ftk_label.c lua_ftk_button.c lua_ftk_entry.c \
  8	lua_ftk_source_timer.c lua_ftk_main_loop.c lua_ftk_source_idle.c lua_ftk_source.c  \
  9	lua_ftk_combo_box.c lua_ftk_dialog.c lua_ftk_theme.c lua_ftk_bitmap.c \
 10	lua_ftk_bitmap_factory.c lua_ftk_check_button.c lua_ftk_icon_view.c lua_ftk_image.c \
 11	lua_ftk_menu_item.c lua_ftk_menu_panel.c lua_ftk_painter.c \
 12	lua_ftk_progress_bar.c lua_ftk_group_box.c lua_ftk_scroll_bar.c\
 13	lua_ftk_status_item.c lua_ftk_status_panel.c lua_ftk_text_view.c lua_ftk_wait_box.c \
 14	lua_ftk_popup_menu.c \
 15	lua_ftk_mmap.c lua_ftk_clipboard.c lua_ftk_display.c \
 16	lua_ftk_icon_cache.c lua_ftk_list_view.c lua_ftk_list_model_default.c lua_ftk_list_model.c\
 17	lua_ftk_list_render_default.c lua_ftk_list_render.c lua_ftk_sprite.c \
 18	lua_ftk_wnd_manager.c lua_ftk_config.c  lua_ftk_structs.c lua_ftk_file.c lua_ftk_fs.c lua_ftk_dir.c \
 19	lua_ftk_file_browser.c
 20
 21libftklua_la_LDFLAGS=$(MYLDFLAGS) $(abs_top_builddir)/script_binding/lua/lua/liblua.la 
 22
 23if FTK_BACKEND_PSP
 24libftklua_la_CFLAGS=-DLUA_USE_PSP
 25else
 26libftklua_la_CFLAGS=-DLUA_USE_LINUX
 27libftklua_la_LDFLAGS+=-ldl
 28endif
 29libftklua_la_CFLAGS+=-I$(srcdir)/lua
 30
 31bin_PROGRAMS=ftk_run
 32ftk_run_SOURCES=lua_runner.c 
 33ftk_run_LDFLAGS=$(MYLDFLAGS) -L$(abs_top_builddir)/script_binding/lua/ -lftklua \
 34	 $(abs_top_builddir)/script_binding/lua/lua/liblua.la
 35
 36if FTK_BACKEND_PSP
 37ftk_run_CFLAGS=-DLUA_USE_PSP
 38else
 39ftk_run_CFLAGS=-DLUA_USE_LINUX
 40ftk_run_LDFLAGS+=-ldl
 41endif
 42ftk_run_CFLAGS+=-I$(srcdir)/lua
 43
 44EXTRA_DIST=\
 45	demo1.lua\
 46	demo2.lua\
 47	demo3.lua\
 48	demo4.lua\
 49	demo_button.lua\
 50	demo_check_button.lua\
 51	demo_combo_box.lua\
 52	demo_dialog.lua\
 53	demo_entry.lua\
 54	demo_fullscreen.lua\
 55	demo_icon_view.lua\
 56	demo_label.lua\
 57	demo_list_view.lua\
 58	demo_menu.lua\
 59	demo_msgbox.lua\
 60	demo_popup.lua\
 61	demo_progressbar.lua\
 62	demo_scrollbar.lua\
 63	demo_text_view.lua\
 64	demo_wait_box.lua\
 65	ftk_lua.h\
 66	lua_ftk_app_window.h\
 67	lua_ftk_bitmap_factory.h\
 68	lua_ftk_bitmap.h\
 69	lua_ftk_button.h\
 70	lua_ftk_callbacks.h\
 71	lua_ftk_check_button.h\
 72	lua_ftk_clipboard.h\
 73	lua_ftk_combo_box.h\
 74	lua_ftk_dialog.h\
 75	lua_ftk_display.h\
 76	lua_ftk_entry.h\
 77	lua_ftk_font_default.h\
 78	lua_ftk_font_free_type.h\
 79	lua_ftk_font.h\
 80	lua_ftk.h\
 81	lua_ftk_icon_cache.h\
 82	lua_ftk_icon_view.h\
 83	lua_ftk_image.h\
 84	lua_ftk_label.h\
 85	lua_ftk_list_model_default.h\
 86	lua_ftk_list_model.h\
 87	lua_ftk_list_render_default.h\
 88	lua_ftk_list_render.h\
 89	lua_ftk_list_view.h\
 90	lua_ftk_main_loop.h\
 91	lua_ftk_menu_item.h\
 92	lua_ftk_menu_panel.h\
 93	lua_ftk_mmap.h\
 94	lua_ftk_painter.h\
 95	lua_ftk_popup_menu.h\
 96	lua_ftk_progress_bar.h\
 97	lua_ftk_group_box.h\
 98	lua_ftk_scroll_bar.h\
 99	lua_ftk_source.h\
100	lua_ftk_source_idle.h\
101	lua_ftk_source_timer.h\
102	lua_ftk_sprite.h\
103	lua_ftk_status_item.h\
104	lua_ftk_status_panel.h\
105	lua_ftk_text_view.h\
106	lua_ftk_theme.h\
107	lua_ftk_translator.h\
108	lua_ftk_typedef.h\
109	lua_ftk_wait_box.h\
110	lua_ftk_widget.h\
111	lua_ftk_window.h\
112	lua_ftk_wnd_manager.h\
113	lua_ftk_xul.h\
114	tolua_event.h\
115	tolua++.h \
116	lua_ftk_config.h \
117	lua_ftk_structs.h
118