source: Makefile.am @ 785923f

Revision 785923f, 2.1 KB checked in by Marco Antonio Islas Cruz <markuz@…>, 6 months ago (diff)

Fixed path for win32 packaging scripts

  • Property mode set to 100644
Line 
1SUBDIRS = \
2                  gui \
3                  po \
4                  packages/win32/ \
5                  libchristine \
6                  libchristine/christine_dbus/ \
7                  libchristine/pattern/ \
8                  libchristine/gui/ \
9                  libchristine/Storage/ \
10                  libchristine/Plugins/ \
11                  libchristine/Plugins/albumCover/ \
12                  libchristine/Plugins/christinePyNotify/ \
13                  libchristine/Plugins/getInfo/ \
14                  libchristine/Plugins/gnomeDBus/ \
15                  libchristine/Plugins/lastfm/ \
16                  libchristine/Plugins/pidgin/ \
17                  libchristine/Plugins/trayicon/ \
18                  libchristine/Plugins/webservices/ \
19                  libchristine/Plugins/webservices/glade/ \
20                  libchristine/c3rdparty/
21                 
22
23bin_SCRIPTS = christine
24
25
26DIST_FILES = config.rpath \
27                    mkinstalldirs \
28                        christine.desktop.in \
29                        christine.py \
30                        christine.c
31
32
33                       
34EXTRA_DIST = config.rpath  config.rpath  createDeb.sh.in \
35                         $(DIST_FILES)
36
37program_name = @PROGRAM_NAME@
38PROGRAM_NAME = @PROGRAM_NAME@
39desktopdir =  $(datadir)/applications
40pkgdatadir = $(datadir)
41desktop_DATA = christine.desktop
42
43prefix = @prefix@
44sysconfdir = @sysconfdir@
45pythonincludedir = @PYTHON_INCLUDE_DIR@
46pythonlibdir = @PYTHON_LIB_DIR@/../config
47pythonlfs = @PYTHON_LFS@
48usr_libdir = @includedir@
49pythonversion = @PYTHON_VERSION@
50
51edit = sed \
52           -e 's,@datadir\@,$(pkgdatadir),g' \
53           -e 's,@prefix\@,$(prefix),g' \
54           -e 's,@sysconfdir\@,$(pkgsysconfdir),g' \
55           -e 's,@programname\@,$(PROGRAM_NAME),g' \
56           -e 's,@VERSION\@,$(VERSION),g'
57
58clean-local:
59        rm -rf christine.desktop
60        rm -rf christine
61        rm -rf createDeb.sh
62
63all: all-am
64        chmod 755 christine
65
66christine.desktop: Makefile $(srcdir)/christine.desktop.in
67        $(edit) $(srcdir)/christine.desktop.in > christine.desktop
68
69createDeb.sh: Makefile $(srcdir)/createDeb.sh.in
70        $(edit) $(srcdir)/createDeb.sh.in > createDeb.sh
71
72run:
73        ./christine --devel $*
74
75christine: Makefile $(srcdir)/christine.c
76        $(CC) ${CFLAGS} -Wall -fPIC -I${pythonincludedir} -c christine.c -o christine.o
77        $(CC) ${CFLAGS} ${LDFLAGS} ${pythonlfs} christine.o -ldl -lpthread -lutil -lm -lpython${pythonversion} -o christine
78        python -c "import compileall,re; compileall.compile_dir('./', rx=re.compile('/[.]svn'),force=True, maxlevels=11)"
79
80ACLOCAL_AMFLAGS = -I m4
Note: See TracBrowser for help on using the repository browser.