diff options
author | Yves Combe <ycombe@src.gnome.org> | 2006-10-23 22:56:48 (GMT) |
---|---|---|
committer | Yves Combe <ycombe@src.gnome.org> | 2006-10-23 22:56:48 (GMT) |
commit | c31d19c2269bf6f440f1a5283020909c2f483c56 (patch) | |
tree | fc2e00569bedeaaed10ae839a51952cdfb486329 /Makefile.am | |
parent | 99b48d68f571bb8b584ad0850ec571d831b56be7 (diff) |
autotools croos compilation with mingw32
use glib headers instead of glibc (g_mkdir, g_unlink, g_stat)
NEED MORE WORK. cvs maybe broken now.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 9653892..f2c6a00 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,22 +1,36 @@ ## Process this file with automake to produce Makefile.in +if !BUILD_MINGW32 if TEXINFO DOCS_SUBDIR=docs else DOCS_SUBDIR= endif +else +DOCS_SUBDIR= +endif SUBDIRS = po src boards $(DOCS_SUBDIR) autopackage icondir=$(datadir)/pixmaps icon_DATA = gcompris.png gcompris-edit.png +if BUILD_MINGW32 +Applicationsdir = $(datadir)/ +Applications_in_files = +Applications_DATA = + +Menudir=$(prefix) +Menu_DATA= + +else Applicationsdir = $(datadir)/applications/ Applications_in_files = gcompris.desktop.in gcompris-edit.desktop.in Applications_DATA = gcompris.desktop gcompris-edit.desktop Menudir=$(prefix)/lib/menu Menu_DATA=gcompris +endif @INTLTOOL_DESKTOP_RULE@ |