2
########### sources ###############
10
applet-notifications.h
11
applet-menu-callbacks.c
12
applet-menu-callbacks.h
24
add_library(${PACKAGE_GMENU} SHARED ${cd-GMenu_LIB_SRCS})
26
########### compil ###############
27
add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${gmenudatadir}")
28
add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg")
29
add_definitions (-DMY_APPLET_CONF_FILE="GMenu.conf")
30
add_definitions (-DMY_APPLET_USER_DATA_DIR="GMenu")
31
add_definitions (-DMY_APPLET_VERSION="${VERSION_GMENU}")
32
add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_GMENU}")
33
add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
34
add_definitions (-DMY_APPLET_ICON_FILE="icon.svg")
35
add_definitions (-DMY_APPLET_ICON_FILE="icon.svg")
37
add_definitions (-DHAVE_GIO=1)
41
${PACKAGE_INCLUDE_DIRS}
42
${GMENU_PACKAGE_INCLUDE_DIRS}
43
${LIBGIO_PACKAGE_INCLUDE_DIRS})
46
${PACKAGE_LIBRARY_DIRS}
47
${GMENU_PACKAGE_LIBRARY_DIRS}
48
${LIBGIO_PACKAGE_LIBRARY_DIRS})
50
target_link_libraries (${PACKAGE_GMENU}
52
${GMENU_PACKAGE_LIBRARIES}
53
${LIBGIO_PACKAGE_LIBRARIES})
55
########### install files ###############
57
install(TARGETS ${PACKAGE_GMENU} DESTINATION ${pluginsdir})
61
#original Makefile.am contents follow:
63
# #dnl Process this file with automake to produce Makefile.in
70
#have_gio=-DHAVE_GIO="1"
73
#libcd_GMenu_la_SOURCES =
78
# applet-notifications.c
79
# applet-notifications.h
80
# applet-menu-callbacks.c
81
# applet-menu-callbacks.h
93
#dock_version = `pkg-config --modversion cairo-dock`
95
#libcd_GMenu_la_CFLAGS =
98
# $(GMENU_PACKAGE_CFLAGS)
101
# -DMY_APPLET_SHARE_DATA_DIR=""${gmenudatadir)""
102
# -DMY_APPLET_PREVIEW_FILE=""preview.jpg""
103
# -DMY_APPLET_CONF_FILE=""GMenu.conf""
104
# -DMY_APPLET_USER_DATA_DIR=""GMenu""
105
# -DMY_APPLET_VERSION=""${VERSION_GMENU)""
106
# -DMY_APPLET_GETTEXT_DOMAIN=""${GETTEXT_GMENU)""
107
# -DMY_APPLET_DOCK_VERSION=""${dock_version)""
108
# -DMY_APPLET_ICON_FILE=""icon.svg""
110
# -Werror-implicit-function-declaration
114
#libcd_GMenu_la_LIBADD =
115
# $(PACKAGE_LIBS) -lm
117
# $(GMENU_PACKAGE_LIBS)
120
#libcd_GMenu_la_LDFLAGS =
121
# -avoid-version -module