src/Makefile.am
author Sam Lantinga <slouken@libsdl.org>
Thu, 09 Feb 2006 09:38:05 +0000
changeset 1354 22f39393668a
parent 1330 450721ad5436
permissions -rw-r--r--
Fixed build problem with SDL_string.c Officially deprecated SDL_byteorder.h, SDL_getenv.h and SDL_types.h Moved endian-related SDL_rwops code into SDL_rwops.c


## Makefile.am for the main SDL library

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

# These are the subdirectories which may be built
EXTRA_SUBDIRS =			\
	 audio video events joystick cdrom thread timer file cpuinfo 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 = 		\
	-no-undefined		\
        -release $(LT_RELEASE)	\
	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
libSDL_la_LIBADD =		\
	main/libarch.la		\
	stdlib/libstdlib.la	\
	@SDL_EXTRALIBS@		\
	@SYSTEM_LIBS@
libSDL_la_DEPENDENCIES =	\
	main/libarch.la		\
	stdlib/libstdlib.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_loadso.c