grim/guifications2

flow: Merged 'autotools_mingw_cleanup' to ('develop').
set(HEADERS
gf_action.h
gf_blist.h
gf_display.h
gf_event.h
gf_event_info.h
gf_file.h
gf_gtk_utils.h
gf_internal.h
gf_item.h
gf_item_icon.h
gf_item_image.h
gf_item_offset.h
gf_item_text.h
gf_menu.h
gf_notification.h
gf_preferences.h
gf_stock.h
gf_theme.h
gf_theme_editor.h
gf_theme_info.h
gf_theme_ops.h
gf_utils.h
)
set(SOURCES
gf_action.c
gf_blist.c
gf_display.c
gf_event.c
gf_event_info.c
gf_file.c
gf_gtk_utils.c
gf_item.c
gf_item_icon.c
gf_item_image.c
gf_item_offset.c
gf_item_text.c
gf_menu.c
gf_notification.c
gf_preferences.c
gf_stock.c
gf_theme.c
gf_theme_editor.c
gf_theme_info.c
gf_theme_ops.c
gf_utils.c
guifications.c
)
if(WIN32)
list(APPEND SOURCES gf_win32_display.c)
else(WIN32)
list(APPEND SOURCES gf_x11_display.c)
endif(WIN32)
add_library(guifications MODULE
${HEADERS}
${SOURCES}
)
set_target_properties(guifications PROPERTIES PREFIX "")
add_definitions(
-DGETTEXT_PACKAGE="guifications"
)
target_link_libraries(guifications
${GLIB_LIBRARIES}
${GTK3_LIBRARIES}
${PURPLE_LIBRARIES}
${PIDGIN_LIBRARIES}
${CAIRO_LIBRARIES}
${PANGOFT2_LIBRARIES}
)
gettextize_pot_file(
SORT
LANGUAGES C
SOURCES ${SOURCES}
FILENAME guifications.pot
)