Fix language getting reset to system default on saving preferences
[amule.git] / src / utils / cas / Makefile.am
blobfd574bfe367dd192dc5a67ad20d2d2555e9340c5
1 EXTRA_DIST = README
3 SUBDIRS = docs
5 bin_PROGRAMS = cas
7 dist_cas_DATA = tmp.html stat.png
8 casdir = $(datadir)/cas
10 cas_SOURCES = cas.c \
11               configfile.c \
12               functions.c \
13               graphics.c \
14               html.c \
15               lines.c
17 noinst_HEADERS = configfile.h \
18               functions.h \
19               graphics.h \
20               html.h \
21               lines.h \
22               version.h
24 cas_CPPFLAGS = $(MULECPPFLAGS) $(CAS_DEFS)
25 cas_CFLAGS = $(MULECFLAGS) $(GDLIB_CFLAGS)
26 cas_LDFLAGS = $(MULELDFLAGS) $(GDLIB_LDFLAGS)
27 cas_LDADD= $(GDLIB_LIBS) 
29 if NEED_CORESERVICES
30 cas_LDFLAGS += -framework CoreServices
31 endif
33 # Resources
35 if NEED_RC
37 SUFFIXES = .rc
39 .rc.$(OBJEXT):
40         $(RC) $(MULERCFLAGS) -I$(top_srcdir) $(RCFLAGS) -O COFF -i "$<" -o "$@"
42 nodist_cas_SOURCES = cas-version.rc
44 cas-version.rc: $(top_builddir)/version.rc
45         @sed -e 's/VER_FILEDESCRIPTION_STR/"C aMule Statistics"/' \
46              -e 's/VER_INTERNALNAME_STR/"cas"/' \
47              -e 's/VER_ORIGINALFILENAME_STR/"cas$(EXEEXT)"/' "$<" > "$@"
49 CLEANFILES = *-version.rc
51 endif
53 MAINTAINERCLEANFILES = Makefile.in