using kprintf to output debug, which may be redirected to serial, is not a good idea...
[AROS-Contrib.git] / gfx / XaoS / Makefile.be
blob66467210c21477ca2dacdca801145a88ed7d0395
1 # Makefile for XaoS on BeOS
3 # Default location for applications on BeOS.
4 # See also definition of DATAPATH in aconfig.be
5 appsdir=/boot/apps
6 xaosdir=$(appsdir)/XaoS
7 infodir=$(xaosdir)/doc
8 mandir=$(xaosdir)/man
10 INSTALL=install
11 MIMESET=mimeset
13 default all clean realclean echo help depend xaos:
14         @$(MAKE) -C src -f Makefile.be $@
16 distclean:
17         @$(MAKE) -C src -f Makefile.be distclean
18         rm -f src/include/config.h src/include/aconfig.h
20 install: 
21         $(INSTALL) -d $(xaosdir)
22         $(INSTALL) -d $(xaosdir)/tutorial
23         $(INSTALL) -d $(xaosdir)/examples
24         $(INSTALL) -d $(xaosdir)/catalogs
25         $(INSTALL) -d $(xaosdir)/doc
26         $(INSTALL) -d $(mandir)
27         $(INSTALL) -d $(mandir)/man6
28         $(INSTALL) -d $(infodir)
29         $(INSTALL) bin/xaos $(xaosdir)
30         $(INSTALL) -m 444 tutorial/*.x[ah]f $(xaosdir)/tutorial
31         $(INSTALL) -m 444 examples/* $(xaosdir)/examples
32         $(INSTALL) -m 444 catalogs/* $(xaosdir)/catalogs
33         $(INSTALL) -m 444 doc/README doc/README.bugs doc/compilers.txt doc/ANNOUNCE doc/PROBLEMS doc/tutorial.txt $(xaosdir)/doc
34         $(INSTALL) -m 444 doc/xaos.6 $(mandir)/man6
35         $(INSTALL) -m 444 doc/xaos.info $(infodir)
36         # Update MIME types - $(INSTALL) loses them.
37         $(MIMESET) $(xaosdir)
38         $(MIMESET) $(infodir)
39         $(MIMESET) $(mandir)