| 1 |
|
| 2 |
########### sources ############### |
| 3 |
|
| 4 |
SET(cd-illusion_LIB_SRCS |
| 5 |
applet-init.c |
| 6 |
applet-init.h |
| 7 |
applet-config.c |
| 8 |
applet-config.h |
| 9 |
applet-struct.h |
| 10 |
applet-notifications.c |
| 11 |
applet-notifications.h |
| 12 |
applet-evaporate.c |
| 13 |
applet-evaporate.h |
| 14 |
applet-fade-out.c |
| 15 |
applet-fade-out.h |
| 16 |
applet-explode.c |
| 17 |
applet-explode.h |
| 18 |
applet-break.c |
| 19 |
applet-break.h |
| 20 |
applet-black-hole.c |
| 21 |
applet-black-hole.h |
| 22 |
applet-lightning.c |
| 23 |
applet-lightning.h |
| 24 |
evaporate-tex.h |
| 25 |
) |
| 26 |
|
| 27 |
add_library(${PACKAGE_ILLUSION} SHARED ${cd-illusion_LIB_SRCS}) |
| 28 |
|
| 29 |
########### compil ############### |
| 30 |
add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${illusiondatadir}") |
| 31 |
add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg") |
| 32 |
add_definitions (-DMY_APPLET_CONF_FILE="illusion.conf") |
| 33 |
add_definitions (-DMY_APPLET_USER_DATA_DIR="illusion") |
| 34 |
add_definitions (-DMY_APPLET_VERSION="${VERSION_ILLUSION}") |
| 35 |
add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_ILLUSION}") |
| 36 |
add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}") |
| 37 |
add_definitions (-DGL_GLEXT_PROTOTYPES="1") |
| 38 |
add_definitions (-DMY_APPLET_ICON_FILE="icon.svg") |
| 39 |
|
| 40 |
include_directories ( |
| 41 |
${PACKAGE_INCLUDE_DIRS}) |
| 42 |
|
| 43 |
link_directories ( |
| 44 |
${PACKAGE_LIBRARY_DIRS}) |
| 45 |
|
| 46 |
target_link_libraries (${PACKAGE_ILLUSION} |
| 47 |
${PACKAGE_LIBRARIES}) |
| 48 |
|
| 49 |
########### install files ############### |
| 50 |
|
| 51 |
install(TARGETS ${PACKAGE_ILLUSION} DESTINATION ${pluginsdir}) |
| 52 |
|
| 53 |
|
| 54 |
#original Makefile.am contents follow: |
| 55 |
|
| 56 |
# #dnl Process this file with automake to produce Makefile.in |
| 57 |
# |
| 58 |
#lib_LTLIBRARIES = |
| 59 |
# libcd-illusion.la |
| 60 |
# |
| 61 |
# |
| 62 |
#libcd_illusion_la_SOURCES = |
| 63 |
# applet-init.c |
| 64 |
# applet-init.h |
| 65 |
# applet-config.c |
| 66 |
# applet-config.h |
| 67 |
# applet-struct.h |
| 68 |
# applet-notifications.c |
| 69 |
# applet-notifications.h |
| 70 |
# applet-evaporate.c |
| 71 |
# applet-evaporate.h |
| 72 |
# applet-fade-out.c |
| 73 |
# applet-fade-out.h |
| 74 |
# applet-explode.c |
| 75 |
# applet-explode.h |
| 76 |
# applet-break.c |
| 77 |
# applet-break.h |
| 78 |
# applet-black-hole.c |
| 79 |
# applet-black-hole.h |
| 80 |
# applet-lightning.c |
| 81 |
# applet-lightning.h |
| 82 |
# evaporate-tex.h |
| 83 |
# |
| 84 |
#dock_version = `pkg-config --modversion cairo-dock` |
| 85 |
# |
| 86 |
#libcd_illusion_la_CFLAGS = |
| 87 |
# -I$(top_srcdir)/src |
| 88 |
# $(PACKAGE_CFLAGS) |
| 89 |
# -DMY_APPLET_SHARE_DATA_DIR=""${illusiondatadir)"" |
| 90 |
# -DMY_APPLET_PREVIEW_FILE=""preview.jpg"" |
| 91 |
# -DMY_APPLET_CONF_FILE=""illusion.conf"" |
| 92 |
# -DMY_APPLET_USER_DATA_DIR=""illusion"" |
| 93 |
# -DMY_APPLET_VERSION=""${VERSION_ILLUSION)"" |
| 94 |
# -DMY_APPLET_GETTEXT_DOMAIN=""${GETTEXT_ILLUSION)"" |
| 95 |
# -DMY_APPLET_DOCK_VERSION=""${dock_version)"" |
| 96 |
# -DGL_GLEXT_PROTOTYPES=""1"" |
| 97 |
# -DMY_APPLET_ICON_FILE=""icon.svg"" |
| 98 |
# -std=c99 |
| 99 |
# -Werror-implicit-function-declaration |
| 100 |
## -g -ggdb -W -Wall |
| 101 |
# |
| 102 |
# |
| 103 |
#libcd_illusion_la_LIBADD = |
| 104 |
# $(PACKAGE_LIBS) -lm |
| 105 |
# |
| 106 |
# |
| 107 |
#libcd_illusion_la_LDFLAGS = |
| 108 |
# -avoid-version -module |