Indentation fix, cleanup.
[AROS.git] / tools / fd2inline / Makefile.cross.in
blobdac105c7936eacc6c1766eae37d7bca0f5c9fa94
2 prefix          = @prefix@
3 exec_prefix     = @exec_prefix@
4 bindir          = @bindir@
5 infodir         = @infodir@
6 datadir         = @datadir@
7 fd2inlinedir    = ${datadir}/fd2inline
9 srcdir          = @srcdir@
11 INSTALL         = @INSTALL@
12 INSTALL_PROGRAM = @INSTALL_PROGRAM@ -s
13 INSTALL_DATA    = @INSTALL_DATA@
15 all:
16         $(MAKE) fd2inline fd2inline.info
18 install:        all
19         $(INSTALL) -d $(bindir) $(infodir) $(fd2inlinedir)
21         # Install tools
22         $(INSTALL_PROGRAM) fd2inline $(bindir)
23         $(INSTALL_DATA) fd2inline.info $(infodir)
24         $(INSTALL_PROGRAM) cross/bin/gg-fix-includes $(bindir)
25         for f in `cd $(srcdir)/cross/share/ && find * -type f`; do \
26           $(INSTALL_DATA) -D $(srcdir)/cross/share/$${f} $(fd2inlinedir)/$${f}; \
27         done
29         # Install example file structure for fds
30         $(INSTALL) -d $(prefix)/os-lib/fd/3rd
31         $(INSTALL) -d $(prefix)/os-lib/fd/amigaos
32         $(INSTALL) -d $(prefix)/os-lib/fd/morphos
33         $(INSTALL_DATA) $(srcdir)/README.os-lib $(prefix)/os-lib/fd/README
35         # Install example file structure for includes
36         $(INSTALL) -d $(prefix)/os-include/3rd
37         for dir in classes clib datatypes devices diskfont dos exec \
38                    gadgets graphics hardware images intuition libraries \
39                    pragma pragmas prefs proto reaction resources rexx \
40                    utility workbench; do \
41           $(INSTALL) -d $(prefix)/os-include/amigaos/$${dir}; \
42         done
43         for dir in clib cybergraphics cybergraphx datatypes devices \
44                    emul exec powerup ppcdisslib resources; do \
45           $(INSTALL) -d $(prefix)/os-include/morphos/$${dir}; \
46         done
47         $(INSTALL_DATA) $(srcdir)/README.os-include $(prefix)/os-include/README