src/Makefile.am
author Sam Lantinga <slouken@libsdl.org>
Mon, 16 Sep 2002 07:09:04 +0000
changeset 496 864a66f028d8
parent 296 fab1ddc4d7bf
child 694 f0c696e476da
permissions -rw-r--r--
Don't be fooled by unclutter - the mouse isn't really leaving our window
     1 
     2 ## Makefile.am for the main SDL library
     3 
     4 # These are the subdirectories that are always built
     5 CORE_SUBDIRS =			\
     6 	main
     7 
     8 # These are the subdirectories which may be built
     9 EXTRA_SUBDIRS =			\
    10 	 audio video events joystick cdrom thread timer endian file hermes
    11 
    12 # These are the subdirectories which will be built now
    13 SUBDIRS = $(CORE_SUBDIRS) @SDL_EXTRADIRS@
    14 
    15 # These are the subdirectories which will be distributed with "make dist"
    16 DIST_SUBDIRS = $(CORE_SUBDIRS) $(EXTRA_SUBDIRS)
    17 
    18 # The SDL library target
    19 lib_LTLIBRARIES = libSDL.la
    20 
    21 libSDL_la_SOURCES = $(GENERAL_SRCS)
    22 libSDL_la_LDFLAGS = 		\
    23         -release $(LT_RELEASE)	\
    24 	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
    25 libSDL_la_LIBADD =		\
    26 	main/libarch.la		\
    27 	@SDL_EXTRALIBS@		\
    28 	@SYSTEM_LIBS@
    29 libSDL_la_DEPENDENCIES =	\
    30 	main/libarch.la		\
    31 	@SDL_EXTRALIBS@
    32 
    33 # The SDL library sources
    34 GENERAL_SRCS = 		\
    35 	SDL.c			\
    36 	SDL_error.c		\
    37 	SDL_error_c.h		\
    38 	SDL_fatal.c		\
    39 	SDL_fatal.h		\
    40 	SDL_getenv.c		\
    41 	SDL_loadso.c		\
    42 	SDL_loadso.h
    43