OSDN Git Service

gpet 0.2 pre
[gpet/origin.git] / src / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 ## Created by Anjuta
4
5 #uidir = $(datadir)/gpet/ui
6 #ui_DATA = gpet.ui
7
8 icondir = $(datadir)/gpet/pixmaps
9 icon_DATA = tomoyo.png
10
11 ccsdir = $(srcdir)/usr_sbin
12
13 GPET_CFLAGS = -Wno-pointer-sign -Wno-unused-function\
14         -D__GPET\
15         `pkg-config --cflags gtk+-2.0`\
16         `pkg-config --cflags gconf-2.0`
17
18 AM_CPPFLAGS = \
19         -I$(ccsdir) \
20         -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
21         -DPACKAGE_SRC_DIR=\""$(srcdir)"\" \
22         -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
23         -DPACKAGE_ICON_DIR=\""$(icondir)"\" \
24         $(GPET_CFLAGS)
25
26 AM_CFLAGS =\
27          -Wall\
28          -g
29
30 sbin_PROGRAMS = gpet
31
32 ccs_SOURCES = \
33         $(ccsdir)/ccstools.c  \
34         $(ccsdir)/ccstools.h  \
35         $(ccsdir)/editpolicy.c  \
36         $(ccsdir)/editpolicy.h  \
37         $(ccsdir)/editpolicy_keyword.c \
38         $(ccsdir)/editpolicy_offline.c  \
39         $(ccsdir)/editpolicy_optimizer.c  \
40         $(ccsdir)/editpolicy_color.c
41
42 gpet_SOURCES = \
43         $(ccs_SOURCES) \
44         gpet.c \
45         gpet.h \
46         menu.c \
47         g_undef.h \
48         conf.c \
49         process.c \
50         other.c \
51         search.c \
52         interface.inc
53
54 gpet_LDFLAGS = \
55         -Wl,--export-dynamic \
56         `pkg-config --libs-only-L gtk+-2.0` \
57         `pkg-config --libs-only-l gtk+-2.0` \
58         `pkg-config --libs-only-L gconf-2.0` \
59         `pkg-config --libs-only-l gconf-2.0`
60
61 gpet_LDADD = $(GPET_LIBS)
62
63 EXTRA_DIST = $(ui_DATA) \
64         $(icon_DATA)
65
66 # Remove ui directory on uninstall
67 uninstall-local:
68 #       -rm -r $(uidir)
69         -rm -r $(datadir)/gpet