Build Lunapaint from Contrib.
[AROS-Contrib.git] / gfx / lunapaint / mmakefile.src
blobf16e5f84a016befd9433db3b8dd1c9e8cd0510d1
1 # $Id$
3 include $(TOP)/config/make.cfg
5 #MM- contrib-gfx : contrib-gfx-$(AROS_TARGET_CPU)
7 #MM- contrib-gfx-i386 : contrib-gfx-lunapaint
8 #DISABLED #MM- contrib-gfx-m68k : contrib-gfx-lunapaint
9 #MM- contrib-gfx-arm : contrib-gfx-lunapaint
11 #MM  contrib-gfx-lunapaint : includes linklibs workbench-libs-freetype-linklib \
12 #MM  contrib-gfx-lunapaint-data \
13 #MM  contrib-gfx-lunapaint-cpy \
14 #MM  contrib-gfx-lunapaint-catalogs \
15 #MM  contrib-gfx-lunapaint-deficon
17 TARGETDIR    := $(AROS_CONTRIB)/MultiMedia/Gfx/Lunapaint
18 DEFICON      := def_Lunapaint
20 # Next version of Lunapaint shouldn't need -fgnu89-inline anymore
21 USER_CFLAGS  := -fgnu89-inline -fno-strict-aliasing
22 USER_INCLUDES:= -I$(SRCDIR)/$(CURDIR)/src
24 FILES := \
25         src/main \
26         src/math/math \
27         src/app/events \
28         src/app/gui \
29         src/app/text_to_brush \
30         src/app/toolbox \
31         src/app/preferences \
32         src/app/new_image \
33         src/app/layers \
34         src/app/parts \
35         src/app/canvas \
36         src/app/export_import \
37         src/app/project \
38         src/app/animation \
39         src/app/about_window \
40         src/app/palette_editor \
41         src/app/locale \
42         src/core/effects \
43         src/core/color \
44         src/core/drawtools \
45         src/core/canvas2 \
46         src/core/tools
48 %build_prog mmake=contrib-gfx-lunapaint progname=Lunapaint \
49     files=$(FILES) targetdir=$(TARGETDIR) \
50     uselibs="mui png z freetype2"
53 %build_icons mmake=contrib-gfx-lunapaint-deficon \
54     icons=$(DEFICON) dir=$(AROS_ENVARC)/SYS
57 %copy_dir_recursive mmake=contrib-gfx-lunapaint-data src=data \
58     dst=$(TARGETDIR)/data
61 CPFILES := BUGS Changelog COPYING default.palette Lunapaint.info lunapaint.prefs README TODO
63 %copy_files_q mmake=contrib-gfx-lunapaint-cpy files=$(CPFILES) src=. \
64     dst=$(TARGETDIR)
67 %common