view src/Makefile.am @ 142:40676b1aa39d

From: Max Horn <max@quendi.de> I also have a slight enhancment, which I already submitted to Darrell Walisser: In the SDL target template file "Application.trgttmpl" (contained in the PBProject.tar.gz archive), replace CustomProductSettings = { }; with CustomProductSettings = { NSPrincipalClass = "NSApplication"; NSMainNibFile = "SDLMain.nib"; }; This automates two steps mentioned in the Readme when creating a new "SDL Target" in Apple's ProjectBuilder.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 09 Aug 2001 06:08:57 +0000
parents 74212992fb08
children d2d48e10f370
line wrap: on
line source


## Makefile.am for the main SDL library

# These are the subdirectories that are always built
CORE_SUBDIRS =			\
	main

# These are the subdirectories which may be built
EXTRA_SUBDIRS =			\
	 audio video events joystick cdrom thread timer endian file hermes

# These are the subdirectories which will be built now
SUBDIRS = $(CORE_SUBDIRS) @SDL_EXTRADIRS@

# These are the subdirectories which will be distributed with "make dist"
DIST_SUBDIRS = $(CORE_SUBDIRS) $(EXTRA_SUBDIRS)

# The SDL library target
lib_LTLIBRARIES = libSDL.la

libSDL_la_SOURCES = $(GENERAL_SRCS)
libSDL_la_LDFLAGS = 		\
        -release $(LT_RELEASE)	\
	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
libSDL_la_LIBADD =		\
	main/libarch.la		\
	@SDL_EXTRALIBS@		\
	@SYSTEM_LIBS@
libSDL_la_DEPENDENCIES =	\
	main/libarch.la		\
	@SDL_EXTRALIBS@

# The SDL library sources
GENERAL_SRCS = 		\
	SDL.c			\
	SDL_error.c		\
	SDL_error_c.h		\
	SDL_fatal.c		\
	SDL_fatal.h		\
	SDL_getenv.c