src/Makefile.am
changeset 0 74212992fb08
child 294 d2d48e10f370
equal deleted inserted replaced
-1:000000000000 0:74212992fb08
       
     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