1# Process this file with automake to produce a Makefile.in file 2SUBDIRS = autopackage data doc m4 src 3 4ACLOCAL_AMFLAGS = -I m4 5 6EXTRA_DIST = \ 7 COPYING.GPL \ 8 COPYING.LAL \ 9 README.GP2X 10 11if IS_WIN32_HOST 12 13if build_win32_msi 14msi: 15 "$(CANDLE)" -nologo -out amoebax.wixobj -dBuildDir="$(top_builddir)" -dSourceDir="$(top_srcdir)" $(top_srcdir)/data/amoebax.wxs 16 "$(LIGHT)" -nologo -out amoebax-@VERSION@.msi -ext WixUtilExtension -ext WixUIExtension \ 17 -cultures:en-us amoebax.wixobj 18 rm amoebax.wixobj 19endif 20 21endif 22 23if IS_OSX_HOST 24 25bundle_contents = @PACKAGE_NAME@.app/Contents 26bundle: $(top_builddir)/src/amoebax 27 mkdir -p $(bundle_contents) 28 mkdir -p $(bundle_contents)/Frameworks 29 mkdir -p $(bundle_contents)/MacOS 30 mkdir -p $(bundle_contents)/Resources 31 mkdir -p $(bundle_contents)/Resources/fonts 32 mkdir -p $(bundle_contents)/Resources/graphics 33 mkdir -p $(bundle_contents)/Resources/music 34 mkdir -p $(bundle_contents)/Resources/sfx 35 mkdir -p $(bundle_contents)/Resources/English.lproj 36 mkdir -p $(bundle_contents)/Resources/English.lproj/AmoebaxMain.nib 37 echo "APPL????" > $(bundle_contents)/PkgInfo 38 $(INSTALL_STRIP_PROGRAM) $< $(bundle_contents)/MacOS 39 $(INSTALL_PROGRAM) $(top_builddir)/data/Info.plist $(bundle_contents) 40 $(INSTALL_PROGRAM) $(top_srcdir)/data/Amoebax.icns $(bundle_contents)/Resources 41 $(INSTALL_PROGRAM) $(top_builddir)/data/InfoPlist.strings $(bundle_contents)/Resources/English.lproj 42 $(INSTALL_PROGRAM) $(top_srcdir)/data/AmoebaxMain.nib/classes.nib $(bundle_contents)/Resources/English.lproj/AmoebaxMain.nib 43 $(INSTALL_PROGRAM) $(top_srcdir)/data/AmoebaxMain.nib/info.nib $(bundle_contents)/Resources/English.lproj/AmoebaxMain.nib 44 $(INSTALL_PROGRAM) $(top_srcdir)/data/AmoebaxMain.nib/objects.nib $(bundle_contents)/Resources/English.lproj/AmoebaxMain.nib 45 $(INSTALL_PROGRAM) $(top_srcdir)/data/fonts/*.png $(bundle_contents)/Resources/fonts 46 $(INSTALL_PROGRAM) $(top_srcdir)/data/graphics/*.png $(bundle_contents)/Resources/graphics 47 $(INSTALL_PROGRAM) $(top_srcdir)/data/music/*.ogg $(bundle_contents)/Resources/music 48 $(INSTALL_PROGRAM) $(top_srcdir)/data/sfx/*.wav $(bundle_contents)/Resources/sfx 49 50endif 51