src/Makefile.am
author Sam Lantinga <slouken@libsdl.org>
Wed, 06 Mar 2002 05:20:11 +0000
changeset 294 d2d48e10f370
parent 0 74212992fb08
child 296 fab1ddc4d7bf
permissions -rw-r--r--
Added a new header file: SDL_loadso.h
It contains the following functions:
SDL_LoadObject(), SDL_LoadFunction(), SDL_UnloadObject()
The UNIX esd and arts audio code use these to dynamically load
their respective audio libraries.
slouken@0
     1
slouken@0
     2
## Makefile.am for the main SDL library
slouken@0
     3
slouken@0
     4
# These are the subdirectories that are always built
slouken@0
     5
CORE_SUBDIRS =			\
slouken@0
     6
	main
slouken@0
     7
slouken@0
     8
# These are the subdirectories which may be built
slouken@0
     9
EXTRA_SUBDIRS =			\
slouken@0
    10
	 audio video events joystick cdrom thread timer endian file hermes
slouken@0
    11
slouken@0
    12
# These are the subdirectories which will be built now
slouken@0
    13
SUBDIRS = $(CORE_SUBDIRS) @SDL_EXTRADIRS@
slouken@0
    14
slouken@0
    15
# These are the subdirectories which will be distributed with "make dist"
slouken@0
    16
DIST_SUBDIRS = $(CORE_SUBDIRS) $(EXTRA_SUBDIRS)
slouken@0
    17
slouken@0
    18
# The SDL library target
slouken@0
    19
lib_LTLIBRARIES = libSDL.la
slouken@0
    20
slouken@0
    21
libSDL_la_SOURCES = $(GENERAL_SRCS)
slouken@0
    22
libSDL_la_LDFLAGS = 		\
slouken@0
    23
        -release $(LT_RELEASE)	\
slouken@0
    24
	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
slouken@0
    25
libSDL_la_LIBADD =		\
slouken@0
    26
	main/libarch.la		\
slouken@0
    27
	@SDL_EXTRALIBS@		\
slouken@0
    28
	@SYSTEM_LIBS@
slouken@0
    29
libSDL_la_DEPENDENCIES =	\
slouken@0
    30
	main/libarch.la		\
slouken@0
    31
	@SDL_EXTRALIBS@
slouken@0
    32
slouken@0
    33
# The SDL library sources
slouken@0
    34
GENERAL_SRCS = 		\
slouken@0
    35
	SDL.c			\
slouken@0
    36
	SDL_error.c		\
slouken@0
    37
	SDL_error_c.h		\
slouken@0
    38
	SDL_fatal.c		\
slouken@0
    39
	SDL_fatal.h		\
slouken@294
    40
	SDL_getenv.c		\
slouken@294
    41
	SDL_loadso.c
slouken@0
    42