src/Makefile.am
changeset 0 74212992fb08
child 294 d2d48e10f370
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/Makefile.am	Thu Apr 26 16:45:43 2001 +0000
     1.3 @@ -0,0 +1,41 @@
     1.4 +
     1.5 +## Makefile.am for the main SDL library
     1.6 +
     1.7 +# These are the subdirectories that are always built
     1.8 +CORE_SUBDIRS =			\
     1.9 +	main
    1.10 +
    1.11 +# These are the subdirectories which may be built
    1.12 +EXTRA_SUBDIRS =			\
    1.13 +	 audio video events joystick cdrom thread timer endian file hermes
    1.14 +
    1.15 +# These are the subdirectories which will be built now
    1.16 +SUBDIRS = $(CORE_SUBDIRS) @SDL_EXTRADIRS@
    1.17 +
    1.18 +# These are the subdirectories which will be distributed with "make dist"
    1.19 +DIST_SUBDIRS = $(CORE_SUBDIRS) $(EXTRA_SUBDIRS)
    1.20 +
    1.21 +# The SDL library target
    1.22 +lib_LTLIBRARIES = libSDL.la
    1.23 +
    1.24 +libSDL_la_SOURCES = $(GENERAL_SRCS)
    1.25 +libSDL_la_LDFLAGS = 		\
    1.26 +        -release $(LT_RELEASE)	\
    1.27 +	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
    1.28 +libSDL_la_LIBADD =		\
    1.29 +	main/libarch.la		\
    1.30 +	@SDL_EXTRALIBS@		\
    1.31 +	@SYSTEM_LIBS@
    1.32 +libSDL_la_DEPENDENCIES =	\
    1.33 +	main/libarch.la		\
    1.34 +	@SDL_EXTRALIBS@
    1.35 +
    1.36 +# The SDL library sources
    1.37 +GENERAL_SRCS = 		\
    1.38 +	SDL.c			\
    1.39 +	SDL_error.c		\
    1.40 +	SDL_error_c.h		\
    1.41 +	SDL_fatal.c		\
    1.42 +	SDL_fatal.h		\
    1.43 +	SDL_getenv.c
    1.44 +