Makefile.in
author Sam Lantinga <slouken@lokigames.com>
Tue, 01 Feb 2000 21:16:29 +0000
changeset 42 69145e9bda35
parent 40 e8c2428f4492
permissions -rw-r--r--
* Sam Lantinga Tue Feb 1 13:25:44 PST 2000
- Added Visual C++ project file
* Markus Oberhumer Tue Feb 1 13:23:11 PST 2000
- Cleaned up code for compiling with Visual C++
- Don't hang in Mix_HaltMusic() if the music is paused
slouken@36
     1
# Makefile.in generated automatically by automake 1.4 from Makefile.am
slouken@0
     2
slouken@0
     3
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
slouken@0
     4
# This Makefile.in is free software; the Free Software Foundation
slouken@0
     5
# gives unlimited permission to copy and/or distribute it,
slouken@0
     6
# with or without modifications, as long as this notice is preserved.
slouken@0
     7
slouken@0
     8
# This program is distributed in the hope that it will be useful,
slouken@0
     9
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
slouken@0
    10
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
slouken@0
    11
# PARTICULAR PURPOSE.
slouken@0
    12
slouken@0
    13
# Makefile.am for the SDL sample mixer library and players
slouken@0
    14
slouken@0
    15
slouken@0
    16
SHELL = @SHELL@
slouken@0
    17
slouken@0
    18
srcdir = @srcdir@
slouken@0
    19
top_srcdir = @top_srcdir@
slouken@0
    20
VPATH = @srcdir@
slouken@0
    21
prefix = @prefix@
slouken@0
    22
exec_prefix = @exec_prefix@
slouken@0
    23
slouken@0
    24
bindir = @bindir@
slouken@0
    25
sbindir = @sbindir@
slouken@0
    26
libexecdir = @libexecdir@
slouken@0
    27
datadir = @datadir@
slouken@0
    28
sysconfdir = @sysconfdir@
slouken@0
    29
sharedstatedir = @sharedstatedir@
slouken@0
    30
localstatedir = @localstatedir@
slouken@0
    31
libdir = @libdir@
slouken@0
    32
infodir = @infodir@
slouken@0
    33
mandir = @mandir@
slouken@0
    34
includedir = @includedir@
slouken@0
    35
oldincludedir = /usr/include
slouken@0
    36
slouken@0
    37
DESTDIR =
slouken@0
    38
slouken@0
    39
pkgdatadir = $(datadir)/@PACKAGE@
slouken@0
    40
pkglibdir = $(libdir)/@PACKAGE@
slouken@0
    41
pkgincludedir = $(includedir)/@PACKAGE@
slouken@0
    42
slouken@0
    43
top_builddir = .
slouken@0
    44
slouken@0
    45
ACLOCAL = @ACLOCAL@
slouken@0
    46
AUTOCONF = @AUTOCONF@
slouken@0
    47
AUTOMAKE = @AUTOMAKE@
slouken@0
    48
AUTOHEADER = @AUTOHEADER@
slouken@0
    49
slouken@0
    50
INSTALL = @INSTALL@
slouken@36
    51
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
slouken@0
    52
INSTALL_DATA = @INSTALL_DATA@
slouken@0
    53
INSTALL_SCRIPT = @INSTALL_SCRIPT@
slouken@0
    54
transform = @program_transform_name@
slouken@0
    55
slouken@0
    56
NORMAL_INSTALL = :
slouken@0
    57
PRE_INSTALL = :
slouken@0
    58
POST_INSTALL = :
slouken@0
    59
NORMAL_UNINSTALL = :
slouken@0
    60
PRE_UNINSTALL = :
slouken@0
    61
POST_UNINSTALL = :
slouken@0
    62
host_alias = @host_alias@
slouken@0
    63
host_triplet = @host@
slouken@0
    64
AS = @AS@
slouken@0
    65
BINARY_AGE = @BINARY_AGE@
slouken@0
    66
CC = @CC@
slouken@0
    67
DLLTOOL = @DLLTOOL@
slouken@0
    68
INTERFACE_AGE = @INTERFACE_AGE@
slouken@0
    69
LD = @LD@
slouken@0
    70
LIBTOOL = @LIBTOOL@
slouken@0
    71
LN_S = @LN_S@
slouken@0
    72
LT_AGE = @LT_AGE@
slouken@0
    73
LT_CURRENT = @LT_CURRENT@
slouken@0
    74
LT_RELEASE = @LT_RELEASE@
slouken@0
    75
LT_REVISION = @LT_REVISION@
slouken@0
    76
MAJOR_VERSION = @MAJOR_VERSION@
slouken@0
    77
MAKEINFO = @MAKEINFO@
slouken@0
    78
MICRO_VERSION = @MICRO_VERSION@
slouken@0
    79
MINOR_VERSION = @MINOR_VERSION@
slouken@1
    80
MUSIC_SUBDIRS = @MUSIC_SUBDIRS@
slouken@0
    81
NM = @NM@
slouken@0
    82
OBJDUMP = @OBJDUMP@
slouken@0
    83
PACKAGE = @PACKAGE@
slouken@0
    84
RANLIB = @RANLIB@
slouken@0
    85
SDL_CFLAGS = @SDL_CFLAGS@
slouken@0
    86
SDL_CONFIG = @SDL_CONFIG@
slouken@0
    87
SDL_LIBS = @SDL_LIBS@
slouken@0
    88
VERSION = @VERSION@
slouken@0
    89
slouken@36
    90
lib_LTLIBRARIES = libSDL_mixer.la
slouken@0
    91
slouken@42
    92
EXTRA_DIST =  	CHANGES				autogen.sh
slouken@42
    93
slouken@42
    94
slouken@1
    95
SUBDIRS = @MUSIC_SUBDIRS@
slouken@1
    96
DIST_SUBIDRS = mikmod timidity
slouken@0
    97
slouken@36
    98
libSDL_mixerincludedir = $(includedir)/SDL
slouken@36
    99
libSDL_mixerinclude_HEADERS =  	SDL_mixer.h
slouken@0
   100
slouken@0
   101
slouken@36
   102
libSDL_mixer_la_SOURCES =  	mixer.c				music.c				music_cmd.c			music_cmd.h			wave.h				wavestream.c			wavestream.h
slouken@0
   103
slouken@1
   104
@USE_MIKMOD_TRUE@MIKMOD_LIB = mikmod/libmikmod.la
slouken@1
   105
@USE_MIKMOD_FALSE@MIKMOD_LIB = 
slouken@1
   106
@USE_TIMIDITY_TRUE@TIMIDITY_LIB = timidity/libtimidity.la
slouken@1
   107
@USE_TIMIDITY_FALSE@TIMIDITY_LIB = 
slouken@0
   108
slouken@36
   109
libSDL_mixer_la_LDFLAGS =          -release $(LT_RELEASE)		-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
slouken@0
   110
slouken@36
   111
libSDL_mixer_la_LIBADD = $(MIKMOD_LIB) $(TIMIDITY_LIB)
slouken@0
   112
slouken@0
   113
bin_PROGRAMS = playwave playmus
slouken@0
   114
slouken@36
   115
playwave_LDADD = libSDL_mixer.la
slouken@36
   116
playmus_LDADD = libSDL_mixer.la
slouken@0
   117
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
slouken@0
   118
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
slouken@38
   119
CONFIG_CLEAN_FILES =  SDL_mixer.spec
slouken@0
   120
LTLIBRARIES =  $(lib_LTLIBRARIES)
slouken@0
   121
slouken@0
   122
slouken@0
   123
DEFS = @DEFS@ -I. -I$(srcdir) 
slouken@0
   124
CPPFLAGS = @CPPFLAGS@
slouken@0
   125
LDFLAGS = @LDFLAGS@
slouken@0
   126
LIBS = @LIBS@
slouken@36
   127
@USE_TIMIDITY_FALSE@@USE_MIKMOD_FALSE@libSDL_mixer_la_DEPENDENCIES = 
slouken@36
   128
@USE_TIMIDITY_TRUE@@USE_MIKMOD_TRUE@libSDL_mixer_la_DEPENDENCIES =  \
slouken@1
   129
@USE_TIMIDITY_TRUE@@USE_MIKMOD_TRUE@mikmod/libmikmod.la \
slouken@1
   130
@USE_TIMIDITY_TRUE@@USE_MIKMOD_TRUE@timidity/libtimidity.la
slouken@36
   131
@USE_TIMIDITY_TRUE@@USE_MIKMOD_FALSE@libSDL_mixer_la_DEPENDENCIES =  \
slouken@1
   132
@USE_TIMIDITY_TRUE@@USE_MIKMOD_FALSE@timidity/libtimidity.la
slouken@36
   133
@USE_TIMIDITY_FALSE@@USE_MIKMOD_TRUE@libSDL_mixer_la_DEPENDENCIES =  \
slouken@1
   134
@USE_TIMIDITY_FALSE@@USE_MIKMOD_TRUE@mikmod/libmikmod.la
slouken@36
   135
libSDL_mixer_la_OBJECTS =  mixer.lo music.lo music_cmd.lo wavestream.lo
slouken@0
   136
PROGRAMS =  $(bin_PROGRAMS)
slouken@0
   137
slouken@0
   138
playwave_SOURCES = playwave.c
slouken@0
   139
playwave_OBJECTS =  playwave.o
slouken@36
   140
playwave_DEPENDENCIES =  libSDL_mixer.la
slouken@0
   141
playwave_LDFLAGS = 
slouken@0
   142
playmus_SOURCES = playmus.c
slouken@0
   143
playmus_OBJECTS =  playmus.o
slouken@36
   144
playmus_DEPENDENCIES =  libSDL_mixer.la
slouken@0
   145
playmus_LDFLAGS = 
slouken@0
   146
CFLAGS = @CFLAGS@
slouken@0
   147
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
slouken@0
   148
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
slouken@0
   149
CCLD = $(CC)
slouken@0
   150
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
slouken@36
   151
HEADERS =  $(libSDL_mixerinclude_HEADERS)
slouken@0
   152
slouken@38
   153
DIST_COMMON =  README COPYING Makefile.am Makefile.in SDL_mixer.spec.in \
slouken@38
   154
acinclude.m4 aclocal.m4 config.guess config.sub configure configure.in \
slouken@38
   155
install-sh ltconfig ltmain.sh missing mkinstalldirs
slouken@0
   156
slouken@0
   157
slouken@0
   158
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
slouken@0
   159
slouken@0
   160
TAR = gtar
slouken@0
   161
GZIP_ENV = --best
slouken@0
   162
DEP_FILES =  .deps/mixer.P .deps/music.P .deps/music_cmd.P \
slouken@0
   163
.deps/playmus.P .deps/playwave.P .deps/wavestream.P
slouken@36
   164
SOURCES = $(libSDL_mixer_la_SOURCES) playwave.c playmus.c
slouken@36
   165
OBJECTS = $(libSDL_mixer_la_OBJECTS) playwave.o playmus.o
slouken@0
   166
slouken@0
   167
all: all-redirect
slouken@0
   168
.SUFFIXES:
slouken@0
   169
.SUFFIXES: .S .c .lo .o .s
slouken@0
   170
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
slouken@0
   171
	cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
slouken@0
   172
slouken@0
   173
Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
slouken@0
   174
	cd $(top_builddir) \
slouken@0
   175
	  && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
slouken@0
   176
slouken@0
   177
$(ACLOCAL_M4):  configure.in  acinclude.m4
slouken@0
   178
	cd $(srcdir) && $(ACLOCAL)
slouken@0
   179
slouken@0
   180
config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
slouken@0
   181
	$(SHELL) ./config.status --recheck
slouken@0
   182
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
slouken@0
   183
	cd $(srcdir) && $(AUTOCONF)
slouken@38
   184
SDL_mixer.spec: $(top_builddir)/config.status SDL_mixer.spec.in
slouken@38
   185
	cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
slouken@0
   186
slouken@0
   187
mostlyclean-libLTLIBRARIES:
slouken@0
   188
slouken@0
   189
clean-libLTLIBRARIES:
slouken@0
   190
	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
slouken@0
   191
slouken@0
   192
distclean-libLTLIBRARIES:
slouken@0
   193
slouken@0
   194
maintainer-clean-libLTLIBRARIES:
slouken@0
   195
slouken@0
   196
install-libLTLIBRARIES: $(lib_LTLIBRARIES)
slouken@0
   197
	@$(NORMAL_INSTALL)
slouken@0
   198
	$(mkinstalldirs) $(DESTDIR)$(libdir)
slouken@0
   199
	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
slouken@0
   200
	  if test -f $$p; then \
slouken@0
   201
	    echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \
slouken@0
   202
	    $(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
slouken@0
   203
	  else :; fi; \
slouken@0
   204
	done
slouken@0
   205
slouken@0
   206
uninstall-libLTLIBRARIES:
slouken@0
   207
	@$(NORMAL_UNINSTALL)
slouken@0
   208
	list='$(lib_LTLIBRARIES)'; for p in $$list; do \
slouken@0
   209
	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
slouken@0
   210
	done
slouken@0
   211
slouken@0
   212
.s.o:
slouken@0
   213
	$(COMPILE) -c $<
slouken@0
   214
slouken@0
   215
.S.o:
slouken@0
   216
	$(COMPILE) -c $<
slouken@0
   217
slouken@0
   218
mostlyclean-compile:
slouken@0
   219
	-rm -f *.o core *.core
slouken@0
   220
slouken@0
   221
clean-compile:
slouken@0
   222
slouken@0
   223
distclean-compile:
slouken@0
   224
	-rm -f *.tab.c
slouken@0
   225
slouken@0
   226
maintainer-clean-compile:
slouken@0
   227
slouken@0
   228
.s.lo:
slouken@0
   229
	$(LIBTOOL) --mode=compile $(COMPILE) -c $<
slouken@0
   230
slouken@0
   231
.S.lo:
slouken@0
   232
	$(LIBTOOL) --mode=compile $(COMPILE) -c $<
slouken@0
   233
slouken@0
   234
mostlyclean-libtool:
slouken@0
   235
	-rm -f *.lo
slouken@0
   236
slouken@0
   237
clean-libtool:
slouken@0
   238
	-rm -rf .libs _libs
slouken@0
   239
slouken@0
   240
distclean-libtool:
slouken@0
   241
slouken@0
   242
maintainer-clean-libtool:
slouken@0
   243
slouken@36
   244
libSDL_mixer.la: $(libSDL_mixer_la_OBJECTS) $(libSDL_mixer_la_DEPENDENCIES)
slouken@36
   245
	$(LINK) -rpath $(libdir) $(libSDL_mixer_la_LDFLAGS) $(libSDL_mixer_la_OBJECTS) $(libSDL_mixer_la_LIBADD) $(LIBS)
slouken@0
   246
slouken@0
   247
mostlyclean-binPROGRAMS:
slouken@0
   248
slouken@0
   249
clean-binPROGRAMS:
slouken@0
   250
	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
slouken@0
   251
slouken@0
   252
distclean-binPROGRAMS:
slouken@0
   253
slouken@0
   254
maintainer-clean-binPROGRAMS:
slouken@0
   255
slouken@0
   256
install-binPROGRAMS: $(bin_PROGRAMS)
slouken@0
   257
	@$(NORMAL_INSTALL)
slouken@0
   258
	$(mkinstalldirs) $(DESTDIR)$(bindir)
slouken@0
   259
	@list='$(bin_PROGRAMS)'; for p in $$list; do \
slouken@0
   260
	  if test -f $$p; then \
slouken@36
   261
	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
slouken@36
   262
	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
slouken@0
   263
	  else :; fi; \
slouken@0
   264
	done
slouken@0
   265
slouken@0
   266
uninstall-binPROGRAMS:
slouken@0
   267
	@$(NORMAL_UNINSTALL)
slouken@0
   268
	list='$(bin_PROGRAMS)'; for p in $$list; do \
slouken@0
   269
	  rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
slouken@0
   270
	done
slouken@0
   271
slouken@0
   272
playwave: $(playwave_OBJECTS) $(playwave_DEPENDENCIES)
slouken@0
   273
	@rm -f playwave
slouken@0
   274
	$(LINK) $(playwave_LDFLAGS) $(playwave_OBJECTS) $(playwave_LDADD) $(LIBS)
slouken@0
   275
slouken@0
   276
playmus: $(playmus_OBJECTS) $(playmus_DEPENDENCIES)
slouken@0
   277
	@rm -f playmus
slouken@0
   278
	$(LINK) $(playmus_LDFLAGS) $(playmus_OBJECTS) $(playmus_LDADD) $(LIBS)
slouken@0
   279
slouken@36
   280
install-libSDL_mixerincludeHEADERS: $(libSDL_mixerinclude_HEADERS)
slouken@0
   281
	@$(NORMAL_INSTALL)
slouken@36
   282
	$(mkinstalldirs) $(DESTDIR)$(libSDL_mixerincludedir)
slouken@36
   283
	@list='$(libSDL_mixerinclude_HEADERS)'; for p in $$list; do \
slouken@0
   284
	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
slouken@36
   285
	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(libSDL_mixerincludedir)/$$p"; \
slouken@36
   286
	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(libSDL_mixerincludedir)/$$p; \
slouken@0
   287
	done
slouken@0
   288
slouken@36
   289
uninstall-libSDL_mixerincludeHEADERS:
slouken@0
   290
	@$(NORMAL_UNINSTALL)
slouken@36
   291
	list='$(libSDL_mixerinclude_HEADERS)'; for p in $$list; do \
slouken@36
   292
	  rm -f $(DESTDIR)$(libSDL_mixerincludedir)/$$p; \
slouken@0
   293
	done
slouken@0
   294
slouken@0
   295
# This directory's subdirectories are mostly independent; you can cd
slouken@0
   296
# into them and run `make' without going through this Makefile.
slouken@0
   297
# To change the values of `make' variables: instead of editing Makefiles,
slouken@0
   298
# (1) if the variable is set in `config.status', edit `config.status'
slouken@0
   299
#     (which will cause the Makefiles to be regenerated when you run `make');
slouken@0
   300
# (2) otherwise, pass the desired values on the `make' command line.
slouken@0
   301
slouken@0
   302
@SET_MAKE@
slouken@0
   303
slouken@0
   304
all-recursive install-data-recursive install-exec-recursive \
slouken@0
   305
installdirs-recursive install-recursive uninstall-recursive  \
slouken@0
   306
check-recursive installcheck-recursive info-recursive dvi-recursive:
slouken@0
   307
	@set fnord $(MAKEFLAGS); amf=$$2; \
slouken@0
   308
	dot_seen=no; \
slouken@0
   309
	target=`echo $@ | sed s/-recursive//`; \
slouken@0
   310
	list='$(SUBDIRS)'; for subdir in $$list; do \
slouken@0
   311
	  echo "Making $$target in $$subdir"; \
slouken@0
   312
	  if test "$$subdir" = "."; then \
slouken@0
   313
	    dot_seen=yes; \
slouken@0
   314
	    local_target="$$target-am"; \
slouken@0
   315
	  else \
slouken@0
   316
	    local_target="$$target"; \
slouken@0
   317
	  fi; \
slouken@0
   318
	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
slouken@0
   319
	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
slouken@0
   320
	done; \
slouken@0
   321
	if test "$$dot_seen" = "no"; then \
slouken@0
   322
	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
slouken@0
   323
	fi; test -z "$$fail"
slouken@0
   324
slouken@0
   325
mostlyclean-recursive clean-recursive distclean-recursive \
slouken@0
   326
maintainer-clean-recursive:
slouken@0
   327
	@set fnord $(MAKEFLAGS); amf=$$2; \
slouken@0
   328
	dot_seen=no; \
slouken@0
   329
	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
slouken@0
   330
	  rev="$$subdir $$rev"; \
slouken@0
   331
	  test "$$subdir" = "." && dot_seen=yes; \
slouken@0
   332
	done; \
slouken@0
   333
	test "$$dot_seen" = "no" && rev=". $$rev"; \
slouken@0
   334
	target=`echo $@ | sed s/-recursive//`; \
slouken@0
   335
	for subdir in $$rev; do \
slouken@0
   336
	  echo "Making $$target in $$subdir"; \
slouken@0
   337
	  if test "$$subdir" = "."; then \
slouken@0
   338
	    local_target="$$target-am"; \
slouken@0
   339
	  else \
slouken@0
   340
	    local_target="$$target"; \
slouken@0
   341
	  fi; \
slouken@0
   342
	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
slouken@0
   343
	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
slouken@0
   344
	done && test -z "$$fail"
slouken@0
   345
tags-recursive:
slouken@0
   346
	list='$(SUBDIRS)'; for subdir in $$list; do \
slouken@0
   347
	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
slouken@0
   348
	done
slouken@0
   349
slouken@0
   350
tags: TAGS
slouken@0
   351
slouken@0
   352
ID: $(HEADERS) $(SOURCES) $(LISP)
slouken@0
   353
	list='$(SOURCES) $(HEADERS)'; \
slouken@0
   354
	unique=`for i in $$list; do echo $$i; done | \
slouken@0
   355
	  awk '    { files[$$0] = 1; } \
slouken@0
   356
	       END { for (i in files) print i; }'`; \
slouken@0
   357
	here=`pwd` && cd $(srcdir) \
slouken@0
   358
	  && mkid -f$$here/ID $$unique $(LISP)
slouken@0
   359
slouken@0
   360
TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
slouken@0
   361
	tags=; \
slouken@0
   362
	here=`pwd`; \
slouken@0
   363
	list='$(SUBDIRS)'; for subdir in $$list; do \
slouken@0
   364
   if test "$$subdir" = .; then :; else \
slouken@0
   365
	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
slouken@0
   366
   fi; \
slouken@0
   367
	done; \
slouken@0
   368
	list='$(SOURCES) $(HEADERS)'; \
slouken@0
   369
	unique=`for i in $$list; do echo $$i; done | \
slouken@0
   370
	  awk '    { files[$$0] = 1; } \
slouken@0
   371
	       END { for (i in files) print i; }'`; \
slouken@0
   372
	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
slouken@0
   373
	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
slouken@0
   374
slouken@0
   375
mostlyclean-tags:
slouken@0
   376
slouken@0
   377
clean-tags:
slouken@0
   378
slouken@0
   379
distclean-tags:
slouken@0
   380
	-rm -f TAGS ID
slouken@0
   381
slouken@0
   382
maintainer-clean-tags:
slouken@0
   383
slouken@0
   384
distdir = $(PACKAGE)-$(VERSION)
slouken@0
   385
top_distdir = $(distdir)
slouken@0
   386
slouken@0
   387
# This target untars the dist file and tries a VPATH configuration.  Then
slouken@0
   388
# it guarantees that the distribution is self-contained by making another
slouken@0
   389
# tarfile.
slouken@0
   390
distcheck: dist
slouken@0
   391
	-rm -rf $(distdir)
slouken@0
   392
	GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
slouken@0
   393
	mkdir $(distdir)/=build
slouken@0
   394
	mkdir $(distdir)/=inst
slouken@0
   395
	dc_install_base=`cd $(distdir)/=inst && pwd`; \
slouken@0
   396
	cd $(distdir)/=build \
slouken@0
   397
	  && ../configure --srcdir=.. --prefix=$$dc_install_base \
slouken@0
   398
	  && $(MAKE) $(AM_MAKEFLAGS) \
slouken@0
   399
	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
slouken@0
   400
	  && $(MAKE) $(AM_MAKEFLAGS) check \
slouken@0
   401
	  && $(MAKE) $(AM_MAKEFLAGS) install \
slouken@0
   402
	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
slouken@0
   403
	  && $(MAKE) $(AM_MAKEFLAGS) dist
slouken@0
   404
	-rm -rf $(distdir)
slouken@0
   405
	@banner="$(distdir).tar.gz is ready for distribution"; \
slouken@0
   406
	dashes=`echo "$$banner" | sed s/./=/g`; \
slouken@0
   407
	echo "$$dashes"; \
slouken@0
   408
	echo "$$banner"; \
slouken@0
   409
	echo "$$dashes"
slouken@0
   410
dist: distdir
slouken@0
   411
	-chmod -R a+r $(distdir)
slouken@0
   412
	GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
slouken@0
   413
	-rm -rf $(distdir)
slouken@0
   414
dist-all: distdir
slouken@0
   415
	-chmod -R a+r $(distdir)
slouken@0
   416
	GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
slouken@0
   417
	-rm -rf $(distdir)
slouken@0
   418
distdir: $(DISTFILES)
slouken@0
   419
	-rm -rf $(distdir)
slouken@0
   420
	mkdir $(distdir)
slouken@0
   421
	-chmod 777 $(distdir)
slouken@0
   422
	here=`cd $(top_builddir) && pwd`; \
slouken@0
   423
	top_distdir=`cd $(distdir) && pwd`; \
slouken@0
   424
	distdir=`cd $(distdir) && pwd`; \
slouken@0
   425
	cd $(top_srcdir) \
slouken@0
   426
	  && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
slouken@0
   427
	@for file in $(DISTFILES); do \
slouken@0
   428
	  d=$(srcdir); \
slouken@0
   429
	  if test -d $$d/$$file; then \
slouken@36
   430
	    cp -pr $$/$$file $(distdir)/$$file; \
slouken@0
   431
	  else \
slouken@0
   432
	    test -f $(distdir)/$$file \
slouken@0
   433
	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
slouken@0
   434
	    || cp -p $$d/$$file $(distdir)/$$file || :; \
slouken@0
   435
	  fi; \
slouken@0
   436
	done
slouken@0
   437
	for subdir in $(SUBDIRS); do \
slouken@0
   438
	  if test "$$subdir" = .; then :; else \
slouken@0
   439
	    test -d $(distdir)/$$subdir \
slouken@0
   440
	    || mkdir $(distdir)/$$subdir \
slouken@0
   441
	    || exit 1; \
slouken@0
   442
	    chmod 777 $(distdir)/$$subdir; \
slouken@0
   443
	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
slouken@0
   444
	      || exit 1; \
slouken@0
   445
	  fi; \
slouken@0
   446
	done
slouken@0
   447
slouken@0
   448
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
slouken@0
   449
slouken@0
   450
-include $(DEP_FILES)
slouken@0
   451
slouken@0
   452
mostlyclean-depend:
slouken@0
   453
slouken@0
   454
clean-depend:
slouken@0
   455
slouken@0
   456
distclean-depend:
slouken@0
   457
	-rm -rf .deps
slouken@0
   458
slouken@0
   459
maintainer-clean-depend:
slouken@0
   460
slouken@0
   461
%.o: %.c
slouken@0
   462
	@echo '$(COMPILE) -c $<'; \
slouken@0
   463
	$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
slouken@0
   464
	@-cp .deps/$(*F).pp .deps/$(*F).P; \
slouken@0
   465
	tr ' ' '\012' < .deps/$(*F).pp \
slouken@0
   466
	  | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
slouken@0
   467
	    >> .deps/$(*F).P; \
slouken@0
   468
	rm .deps/$(*F).pp
slouken@0
   469
slouken@0
   470
%.lo: %.c
slouken@0
   471
	@echo '$(LTCOMPILE) -c $<'; \
slouken@0
   472
	$(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
slouken@0
   473
	@-sed -e 's/^\([^:]*\)\.o[ 	]*:/\1.lo \1.o :/' \
slouken@0
   474
	  < .deps/$(*F).pp > .deps/$(*F).P; \
slouken@0
   475
	tr ' ' '\012' < .deps/$(*F).pp \
slouken@0
   476
	  | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
slouken@0
   477
	    >> .deps/$(*F).P; \
slouken@0
   478
	rm -f .deps/$(*F).pp
slouken@0
   479
info-am:
slouken@0
   480
info: info-recursive
slouken@0
   481
dvi-am:
slouken@0
   482
dvi: dvi-recursive
slouken@0
   483
check-am: all-am
slouken@0
   484
check: check-recursive
slouken@0
   485
installcheck-am:
slouken@0
   486
installcheck: installcheck-recursive
slouken@0
   487
install-exec-am: install-libLTLIBRARIES install-binPROGRAMS
slouken@0
   488
install-exec: install-exec-recursive
slouken@0
   489
slouken@36
   490
install-data-am: install-libSDL_mixerincludeHEADERS
slouken@0
   491
install-data: install-data-recursive
slouken@0
   492
slouken@0
   493
install-am: all-am
slouken@0
   494
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
slouken@0
   495
install: install-recursive
slouken@0
   496
uninstall-am: uninstall-libLTLIBRARIES uninstall-binPROGRAMS \
slouken@36
   497
		uninstall-libSDL_mixerincludeHEADERS
slouken@0
   498
uninstall: uninstall-recursive
slouken@0
   499
all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS)
slouken@0
   500
all-redirect: all-recursive
slouken@0
   501
install-strip:
slouken@36
   502
	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
slouken@0
   503
installdirs: installdirs-recursive
slouken@0
   504
installdirs-am:
slouken@0
   505
	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) \
slouken@36
   506
		$(DESTDIR)$(libSDL_mixerincludedir)
slouken@0
   507
slouken@0
   508
slouken@0
   509
mostlyclean-generic:
slouken@0
   510
slouken@0
   511
clean-generic:
slouken@0
   512
slouken@0
   513
distclean-generic:
slouken@0
   514
	-rm -f Makefile $(CONFIG_CLEAN_FILES)
slouken@0
   515
	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
slouken@0
   516
slouken@0
   517
maintainer-clean-generic:
slouken@0
   518
mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
slouken@0
   519
		mostlyclean-libtool mostlyclean-binPROGRAMS \
slouken@0
   520
		mostlyclean-tags mostlyclean-depend mostlyclean-generic
slouken@0
   521
slouken@0
   522
mostlyclean: mostlyclean-recursive
slouken@0
   523
slouken@0
   524
clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool \
slouken@0
   525
		clean-binPROGRAMS clean-tags clean-depend clean-generic \
slouken@0
   526
		mostlyclean-am
slouken@0
   527
slouken@0
   528
clean: clean-recursive
slouken@0
   529
slouken@0
   530
distclean-am:  distclean-libLTLIBRARIES distclean-compile \
slouken@0
   531
		distclean-libtool distclean-binPROGRAMS distclean-tags \
slouken@0
   532
		distclean-depend distclean-generic clean-am
slouken@0
   533
	-rm -f libtool
slouken@0
   534
slouken@0
   535
distclean: distclean-recursive
slouken@0
   536
	-rm -f config.status
slouken@0
   537
slouken@0
   538
maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
slouken@0
   539
		maintainer-clean-compile maintainer-clean-libtool \
slouken@0
   540
		maintainer-clean-binPROGRAMS maintainer-clean-tags \
slouken@0
   541
		maintainer-clean-depend maintainer-clean-generic \
slouken@0
   542
		distclean-am
slouken@0
   543
	@echo "This command is intended for maintainers to use;"
slouken@0
   544
	@echo "it deletes files that may require special tools to rebuild."
slouken@0
   545
slouken@0
   546
maintainer-clean: maintainer-clean-recursive
slouken@0
   547
	-rm -f config.status
slouken@0
   548
slouken@0
   549
.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
slouken@0
   550
clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
slouken@0
   551
uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
slouken@0
   552
distclean-compile clean-compile maintainer-clean-compile \
slouken@0
   553
mostlyclean-libtool distclean-libtool clean-libtool \
slouken@0
   554
maintainer-clean-libtool mostlyclean-binPROGRAMS distclean-binPROGRAMS \
slouken@0
   555
clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
slouken@36
   556
install-binPROGRAMS uninstall-libSDL_mixerincludeHEADERS \
slouken@36
   557
install-libSDL_mixerincludeHEADERS install-data-recursive \
slouken@0
   558
uninstall-data-recursive install-exec-recursive \
slouken@0
   559
uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
slouken@0
   560
all-recursive check-recursive installcheck-recursive info-recursive \
slouken@0
   561
dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
slouken@0
   562
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
slouken@0
   563
distclean-tags clean-tags maintainer-clean-tags distdir \
slouken@0
   564
mostlyclean-depend distclean-depend clean-depend \
slouken@0
   565
maintainer-clean-depend info-am info dvi-am dvi check check-am \
slouken@0
   566
installcheck-am installcheck install-exec-am install-exec \
slouken@0
   567
install-data-am install-data install-am install uninstall-am uninstall \
slouken@0
   568
all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
slouken@0
   569
distclean-generic clean-generic maintainer-clean-generic clean \
slouken@0
   570
mostlyclean distclean maintainer-clean
slouken@0
   571
slouken@0
   572
slouken@38
   573
# Rule to build tar-gzipped distribution package
slouken@38
   574
$(PACKAGE)-$(VERSION).tar.gz: dist
slouken@38
   575
slouken@38
   576
# Rule to build RPM distribution package
slouken@38
   577
rpm: $(PACKAGE)-$(VERSION).tar.gz
slouken@38
   578
	cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES
slouken@39
   579
	rpm -ba $(PACKAGE).spec
slouken@38
   580
slouken@0
   581
# Tell versions [3.59,3.63) of GNU make to not export all variables.
slouken@0
   582
# Otherwise a system limit (for SysV at least) may be exceeded.
slouken@0
   583
.NOEXPORT: