1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204
|
# $Id: Makefile.am,v 1.55 2008/05/03 03:02:40 judd Exp $
SUBDIRS = Expense SyncTime KeyRing dialer m4 po icons docs empty
EXTRA_DIST = config.rpath mkinstalldirs reconf autogen.sh \
intltool-extract.in intltool-merge.in intltool-update.in \
ChangeLog ChangeLog.cvs \
po/POTFILES \
po/jpilot.pot \
jpilot.spec \
SlackBuild description-pak \
jpilot.desktop \
$(color_DATA) \
jpilot.xpm
DISTCLEANFILES = intltool-extract intltool-merge intltool-update
desktopdir = $(datadir)/applications
desktop_DATA = jpilot.desktop
# The skin files for changing jpilot appearance
colordir = $(pkgdatadir)
color_DATA = \
jpilotrc.blue jpilotrc.default jpilotrc.green jpilotrc.purple \
jpilotrc.steel
# Instructions for the code to build begins here
bin_PROGRAMS = jpilot jpilot-dump jpilot-sync
jpilot_SOURCES = \
address.c \
address.h \
address_gui.c \
alarms.c \
alarms.h \
category.c \
contact.c \
cp1250.c \
cp1250.h \
dat.c \
datebook.c \
datebook.h \
datebook_gui.c \
dialer.c \
export_gui.c \
export.h \
i18n.h \
import_gui.c \
install_gui.c \
install_user.c \
install_user.h \
japanese.c \
japanese.h \
jpilot.c \
jp-contact.c \
jp-pi-contact.h \
libplugin.c \
libplugin.h \
log.c \
log.h \
memo.c \
memo_gui.c \
memo.h \
monthview_gui.c \
otherconv.c \
otherconv.h \
password.c \
password.h \
pidfile.c \
pidfile.h \
plugins.c \
plugins.h \
prefs.c \
prefs_gui.c \
prefs_gui.h \
prefs.h \
print.c \
print_gui.c \
print.h \
print_headers.c \
print_headers.h \
print_logo.c \
print_logo.h \
restore_gui.c \
restore.h \
russian.c \
russian.h \
search_gui.c \
stock_buttons.h \
sync.c \
sync.h \
todo.c \
todo_gui.c \
todo.h \
utils.c \
utils.h \
weekview_gui.c \
address.xpm \
datebook.xpm \
memo.xpm \
todo.xpm
jpilot_dump_SOURCES = \
address.c \
category.c \
cp1250.c \
datebook.c \
japanese.c \
jpilot-dump.c \
libplugin.c \
log.c \
memo.c \
otherconv.c \
password.c \
plugins.c \
prefs.c \
russian.c \
todo.c \
utils.c \
jp-contact.c
jpilot-dump.o: jpilot-dump.c config.h utils.h log.h prefs.h \
datebook.h memo.h address.h todo.h password.h
jpilot_sync_SOURCES = \
cp1250.c \
category.c \
jpilot-sync.c \
japanese.c \
libplugin.c \
log.c \
otherconv.c \
password.c \
plugins.c \
prefs.c \
russian.c \
sync.c \
utils.c \
jp-contact.c
jpilot-sync.o: jpilot-sync.c config.h utils.h log.h prefs.h sync.h \
libplugin.h password.h
# Include gettext macros that we have placed in the m4 directory
# and include in the distribution.
ACLOCAL_AMFLAGS = -I m4
# Add i18n support
localedir = $(datadir)/locale
I18NDEFS = -DLOCALEDIR=\"$(localedir)\"
AM_CFLAGS= @PILOT_FLAGS@ @GTK_CFLAGS@ ${I18NDEFS}
# Add linkflags
jpilot_LDFLAGS = -export-dynamic
jpilot_LDADD=@LIBS@ @PILOT_LIBS@ @GTK_LIBS@
jpilot_dump_LDADD=@LIBS@ @PILOT_LIBS@ @GTK_LIBS@
jpilot_sync_LDFLAGS = -export-dynamic
jpilot_sync_LDADD=@LIBS@ @PILOT_LIBS@ @GTK_LIBS@
################################################################################
## The rest of the file is copied over to the Makefile with only variable
## substitution.
################################################################################
# Automatically update the libtool script if it becomes out-of-date.
LIBTOOL_DEPS = @LIBTOOL_DEPS@
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status --recheck
better-world:
echo "make better-world: rm -rf -any -all windows"
peace:
echo "make peace: not war"
test_compile:
@-rm -f autogen.log autogen.log2 make.log
@echo "Configuring GTK1 build"
autogen.sh --disable-gtk2 > autogen.log 2>&1
@-grep -v 'warning: underquoted definition' autogen.log > autogen.log2
!(grep 'warn' autogen.log2)
!(grep ' error' autogen.log2)
make > make.log 2>&1
!(grep 'warn' make.log)
!(grep 'error' make.log)
@-rm -f autogen.log autogen.log2 make.log
@echo "Configuring GTK2 build"
autogen.sh > autogen.log 2>&1
@-grep -v 'warning: underquoted definition' autogen.log > autogen.log2
!(grep 'warn' autogen.log2)
!(grep ' error' autogen.log2)
make > make.log 2>&1
!(grep 'warn' make.log)
!(grep 'error' make.log)
ChangeLog.cvs:
rcs2log | perl -pe 's/rousseau /Ludovic Rousseau /; \
s/judd /Judd Montgomery /; s/desrod /David A. Desrosiers /; \
s/rikster5 /Rik Wehbring /' > $@
|