src/Makefile.am
author Patrice Mandin <patmandin@gmail.com>
Mon, 06 Dec 2004 15:01:00 +0000
changeset 1007 335d9376a2cd
parent 740 e70f80e98f60
child 1330 450721ad5436
permissions -rw-r--r--
Document new OpenGL feature
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@740
    10
	 audio video events joystick cdrom thread timer endian file cpuinfo 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@729
    23
	-no-undefined		\
slouken@0
    24
        -release $(LT_RELEASE)	\
slouken@0
    25
	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
slouken@0
    26
libSDL_la_LIBADD =		\
slouken@0
    27
	main/libarch.la		\
slouken@0
    28
	@SDL_EXTRALIBS@		\
slouken@0
    29
	@SYSTEM_LIBS@
slouken@0
    30
libSDL_la_DEPENDENCIES =	\
slouken@0
    31
	main/libarch.la		\
slouken@0
    32
	@SDL_EXTRALIBS@
slouken@0
    33
slouken@0
    34
# The SDL library sources
slouken@0
    35
GENERAL_SRCS = 		\
slouken@0
    36
	SDL.c			\
slouken@0
    37
	SDL_error.c		\
slouken@0
    38
	SDL_error_c.h		\
slouken@0
    39
	SDL_fatal.c		\
slouken@0
    40
	SDL_fatal.h		\
slouken@294
    41
	SDL_getenv.c		\
slouken@694
    42
	SDL_loadso.c
slouken@0
    43