view src/main/macosx/Makefile.am @ 191:c151cfc43c07

Changed SDLMain to SDL_main for MacOS X stuff
author Sam Lantinga <slouken@libsdl.org>
date Sun, 23 Sep 2001 20:42:00 +0000
parents c9bc7f33d56f
children ba9e0fcc2ae2
line wrap: on
line source

# On OS X, install the SDL_main.nib.
# We use an ugly hack to force the creation of the
# destination dir, maybe somebody with more automake
# experience knows how to do this properly?

if TARGET_MACOSX
masternibdatadir = $(datadir)/sdl/SDL_main.nib
masternibdata_DATA =		\
	SDL_main.nib

nibdatadir = $(datadir)/sdl
nibdata_DATA =			\
	SDL_main.nib/classes.nib	\
	SDL_main.nib/info.nib	\
	SDL_main.nib/objects.nib	\
	Info.plist
endif

EXTRA_DIST = SDL_main.h SDL_main.m

# The nib and exports directories need to be copied into place
# when building a distribution.
dist-hook:
	(cd $(distdir) && rm -f $(BUILT_SOURCES))
	cp -rp SDL_main.nib $(distdir)
	cp -rp exports $(distdir)
	(cd $(distdir) && rm -rf `find . -name CVS`)