1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507
|
#
# Rules for building the Allegro library on Unix. This file is processed
# by the configure script, to produce the real makefile the does the work.
INSTALL_TARGETS = full-install
DEFAULT_TARGETS = all
srcdir = @srcdir@
builddir = .
include $(srcdir)/makefile.ver
SHELL = /bin/sh
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
includedir = @includedir@
infodir = @infodir@
mandir = @mandir@
libdir = @libdir@
modulebasedir = @libdir@/allegro
moduledir = $(modulebasedir)/$(shared_major_minor)
EXE =
OBJ = .o
OBJDIR = obj/unix
LIBDIR = lib/unix
INFO_DIR = $(infodir)/dir
ACLOCAL = aclocal
ACLOCAL_M4 = $(srcdir)/aclocal.m4
AUTOCONF = autoconf
AUTOHEADER = autoheader
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_INFO = @INSTALL_INFO@
transform = @program_transform_name@
CC = @CC@
CPP = @CPP@
MAKEINFO = makeinfo --no-split
RANLIB = @RANLIB@
AR = ar
LIBS = @LIBS@
LDCONFIG = @LDCONFIG@
mkinstalldirs = $(SHELL) $(srcdir)/misc/mkdirs.sh
CONFIG_H = include/allegro/platform/alunixac.h
CONFIG_H_IN = include/allegro/platform/alunixac.hin
CONFIGURE = configure
CONFIGURE_IN = configure.in
INCLUDES =
DEFS = @DEFS@ -Iinclude -Iinclude/allegro -I$(srcdir)/include -I$(srcdir)/include/allegro -I.
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
LINK = $(CC) $(LDFLAGS)
CFLAGS = @CFLAGS@
ALLEGRO_DEBUG_CFLAGS = @ALLEGRO_DEBUG_CFLAGS@
ALLEGRO_PROFILE_CFLAGS = @ALLEGRO_PROFILE_CFLAGS@
ALLEGRO_SHAREDLIB_CFLAGS = @ALLEGRO_SHAREDLIB_CFLAGS@
COMPILE_NORMAL = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
COMPILE_DEBUG = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(ALLEGRO_DEBUG_CFLAGS)
COMPILE_PROFILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(ALLEGRO_PROFILE_CFLAGS)
ALLEGRO_SFLAGS = @ALLEGRO_SFLAGS@
COMPILE_S_NORMAL = $(COMPILE_NORMAL) $(ALLEGRO_SFLAGS)
COMPILE_S_DEBUG = $(COMPILE_DEBUG) $(ALLEGRO_SFLAGS)
COMPILE_S_PROFILE = $(COMPILE_PROFILE) $(ALLEGRO_SFLAGS)
COMPILE_PROGRAM = $(@COMPILE_PROGRAM@)
COMPILE_S_PROGRAM = $(@COMPILE_S_PROGRAM@)
LIBALLEG = @LIBALLEG@
LINK_LIBALLEG = @LINK_LIBALLEG@
ALLEGRO_LIB_TARGETS = @ALLEGRO_LIB_TARGETS@
ALLEGRO_MODULE_TARGETS = @ALLEGRO_MODULE_TARGETS@
PLUGIN_LIB = @PLUGIN_LIB@
obj_unix_plugins_h = $(OBJDIR)/plugins.h
default: $(DEFAULT_TARGETS)
.SUFFIXES:
makefile: $(srcdir)/makefile.in config.status
CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
config.status: $(srcdir)/$(CONFIGURE)
$(SHELL) ./config.status --recheck
$(srcdir)/$(CONFIGURE): $(srcdir)/$(CONFIGURE_IN) $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
cd $(srcdir) && $(AUTOCONF) $(CONFIGURE_IN) >$(CONFIGURE)
$(CONFIG_H): stamp-h
stamp-h: $(srcdir)/$(CONFIG_H_IN) config.status
CONFIG_FILES= CONFIG_HEADERS="$(CONFIG_H):$(CONFIG_H_IN)" \
$(SHELL) ./config.status
@echo timestamp > stamp-h
$(srcdir)/$(CONFIG_H_IN): $(srcdir)/stamp-h.in
$(srcdir)/stamp-h.in: $(srcdir)/$(CONFIGURE_IN) $(ACLOCAL_M4) $(srcdir)/acconfig.h
cd $(srcdir) && $(AUTOHEADER) $(CONFIGURE_IN) >$(CONFIG_H_IN)
@echo timestamp > $(srcdir)/stamp-h.in
@SET_MAKE@
# List of sources for libraries and programs.
include $(srcdir)/makefile.lst
ALLEGRO_EMPTY_LIST =
ALLEGRO_LIBRARY_SOURCES = \
$(ALLEGRO_SRC_FILES) \
$(ALLEGRO_SRC_UNIX_FILES) \
$(@ALLEGRO_MAYBE_ASM_FILES@) \
$(@ALLEGRO_MAYBE_XWINDOWS_FILES@) \
$(@ALLEGRO_MAYBE_LINUX_FILES@)
ALLEGRO_EXE_TARGETS = \
$(ALLEGRO_LIB_EXES) \
$(ALLEGRO_DATAFILE_EXES) \
$(ALLEGRO_EXAMPLE_EXES)
# Header files (look in makefile.dep for "Headers referred by symbols").
ALLEGRO_EXTRA_HEADER = $(srcdir)/include/allegro/platform/alunix.h
ALLEGRO_INTERNAL_HEADER = $(srcdir)/include/allegro/platform/aintunix.h
ALLEGRO_MMX_HEADER =
allegro_alconfig_h = $(srcdir)/include/allegro/internal/alconfig.h \
$(srcdir)/include/allegro/platform/alucfg.h \
$(CONFIG_H)
allegro_alinline_h = $(srcdir)/include/allegro/alinline.h \
$(srcdir)/include/allegro/platform/al386gcc.h \
$(srcdir)/include/allegro/platform/al386vc.h \
$(srcdir)/include/allegro/platform/al386wat.h
allegro_h = $(srcdir)/include/allegro.h \
$(allegro_alconfig_h) \
$(allegro_alinline_h) \
$(srcdir)/include/allegro/3d.h \
$(srcdir)/include/allegro/3dmaths.h \
$(srcdir)/include/allegro/alcompat.h \
$(srcdir)/include/allegro/alinline.h \
$(srcdir)/include/allegro/base.h \
$(srcdir)/include/allegro/color.h \
$(srcdir)/include/allegro/compiled.h \
$(srcdir)/include/allegro/config.h \
$(srcdir)/include/allegro/datafile.h \
$(srcdir)/include/allegro/debug.h \
$(srcdir)/include/allegro/digi.h \
$(srcdir)/include/allegro/draw.h \
$(srcdir)/include/allegro/file.h \
$(srcdir)/include/allegro/fix.h \
$(srcdir)/include/allegro/fixed.h \
$(srcdir)/include/allegro/fli.h \
$(srcdir)/include/allegro/fmaths.h \
$(srcdir)/include/allegro/gfx.h \
$(srcdir)/include/allegro/gui.h \
$(srcdir)/include/allegro/joystick.h \
$(srcdir)/include/allegro/keyboard.h \
$(srcdir)/include/allegro/matrix.h \
$(srcdir)/include/allegro/midi.h \
$(srcdir)/include/allegro/mouse.h \
$(srcdir)/include/allegro/palette.h \
$(srcdir)/include/allegro/quat.h \
$(srcdir)/include/allegro/rle.h \
$(srcdir)/include/allegro/sound.h \
$(srcdir)/include/allegro/stream.h \
$(srcdir)/include/allegro/system.h \
$(srcdir)/include/allegro/text.h \
$(srcdir)/include/allegro/timer.h \
$(srcdir)/include/allegro/unicode.h \
$(srcdir)/include/allegro/inline/3dmaths.inl \
$(srcdir)/include/allegro/inline/asm.inl \
$(srcdir)/include/allegro/inline/color.inl \
$(srcdir)/include/allegro/inline/draw.inl \
$(srcdir)/include/allegro/inline/file.inl \
$(srcdir)/include/allegro/inline/fix.inl \
$(srcdir)/include/allegro/inline/fmaths.inl \
$(srcdir)/include/allegro/inline/gfx.inl \
$(srcdir)/include/allegro/inline/gui.inl \
$(srcdir)/include/allegro/inline/matrix.inl \
$(srcdir)/include/allegro/inline/rle.inl \
$(srcdir)/include/allegro/inline/system.inl \
$(ALLEGRO_EXTRA_HEADER)
allegro_aintern_h = $(srcdir)/include/allegro/internal/aintern.h
allegro_aintdos_h = $(srcdir)/include/allegro/platform/aintdos.h \
$(srcdir)/include/allegro/internal/aintvga.h
obj_unix_asmdef_inc = $(OBJDIR)/asmdef.inc
$(obj_unix_asmdef_inc): src/i386/asmdef$(EXE)
src/i386/asmdef$(EXE) $(obj_unix_asmdef_inc)
# Documentation.
DOCBASEFILES = ahack changes faq help thanks allegro const abi
DOCS = $(addprefix docs/txt/,$(addsuffix .txt,ahack faq help allegro const abi))
DOCS += $(addprefix docs/rtf/,$(addsuffix .rtf,$(DOCBASEFILES)))
DOCS += $(addprefix docs/html/,$(addsuffix .html,$(DOCBASEFILES)))
DOCS += docs/texi/allegro.texi docs/info/allegro.info docs/man/install_allegro.3
DOCS += CHANGES AUTHORS THANKS
MAKEDOC = docs/makedoc$(EXE)
$(filter %.txt,$(DOCS)): docs/txt/%.txt: docs/src/%._tx $(MAKEDOC)
$(MAKEDOC) -ascii $@ $<
$(filter %.rtf,$(DOCS)): docs/rtf/%.rtf: docs/src/%._tx $(MAKEDOC)
$(MAKEDOC) -rtf $@ $<
$(filter %.texi,$(DOCS)): docs/texi/%.texi: docs/src/%._tx $(MAKEDOC)
$(MAKEDOC) -texi $@ $<
$(filter %.info,$(DOCS)): docs/info/%.info: docs/texi/%.texi $(MAKEDOC)
$(MAKEINFO) -o $@ $<
$(filter %.html,$(DOCS)): docs/html/%.html: docs/src/%._tx $(MAKEDOC)
$(MAKEDOC) -html $@ $<
docs/man/install_allegro.3: docs/src/allegro._tx $(MAKEDOC)
$(MAKEDOC) -man docs/man/dummyname.3 $<
AUTHORS: docs/src/thanks._tx
$(MAKEDOC) -part -ascii AUTHORS $<
cp AUTHORS docs/txt/authors.txt
THANKS: docs/src/thanks._tx
$(MAKEDOC) -part -ascii THANKS $<
cp THANKS docs/txt/thanks.txt
CHANGES: docs/src/changes._tx
$(MAKEDOC) -ascii CHANGES $<
cp CHANGES docs/txt/changes.txt
docs/allegro.dvi: docs/texi/allegro.texi
cd docs && texi2dvi -c texi/allegro.texi && cd ..
docs/allegro.ps: docs/allegro.dvi
cd docs && dvips -o allegro.ps allegro.dvi && cd ..
# Dependencies and rules for building libraries and simple programs.
include makefile.dep
all: lib modules programs docs
lib: $(ALLEGRO_LIB_TARGETS)
modules: $(ALLEGRO_MODULE_TARGETS)
programs: $(ALLEGRO_EXE_TARGETS)
docs: $(DOCS)
docs-dvi: $(srcdir)/docs/allegro.dvi
@echo "Device independant documentation generated: docs/allegro.dvi"
@echo "Run make docs-ps if you wish to generate postscript documentation (you need dvips)"
docs-ps: $(srcdir)/docs/allegro.ps
@echo "Postscript documentation generated: docs/allegro.ps"
@echo "You can compress it with gzip or running make docs-gzipped-ps"
docs-gzipped-ps: $(srcdir)/docs/allegro.ps
gzip -9 docs/allegro.ps
@echo "Compressed postscript documentation generated: docs/allegro.ps.gz"
suid: $(ALLEGRO_EXE_TARGETS)
chown root.allegro $?
chmod 4750 $?
touch suid
clean:
rm -f $(OBJ_CLEAN_FILES)
rm -f $(OTHER_CLEAN_FILES)
distclean: clean
rm -f $(DISTCLEAN_FILES)
veryclean: distclean
rm -f $(VERYCLEAN_FILES) makefile
maintainer-clean: veryclean
rm -f configure
install: $(INSTALL_TARGETS)
mini-install: install-headers install-lib
@echo "Your end-user version of Allegro is now installed"
full-install: install-headers install-programs install-lib
@echo ""
@echo "Run make docs-dvi if you wish to generate dvi documentation (you need texi2dvi)"
@echo "Run make install-man if you wish to install the man pages"
@echo "Run make install-info if you wish to install the info documentation"
@echo "You may conserve space by instead running make install-gzipped-man"
@echo "and/or make install-gzipped-info"
install-lib: lib
$(mkinstalldirs) $(libdir)
@for l in alleg alld allp; do \
if test -f $(LIBDIR)/lib$${l}.a; then \
echo Installing $(LIBDIR)/lib$${l}.a to $(libdir); \
$(INSTALL_DATA) $(LIBDIR)/lib$${l}.a $(libdir)/; \
fi; \
done
@for l in alleg alld allp; do \
if test -f $(LIBDIR)/lib$${l}-$(shared_version).so; then \
echo Installing $(LIBDIR)/lib$${l}-$(shared_version).so to $(libdir); \
$(INSTALL_DATA) $(LIBDIR)/lib$${l}-$(shared_version).so $(libdir)/; \
$(INSTALL_DATA) $(LIBDIR)/lib$${l}_unsharable.a $(libdir)/; \
fi; \
done
@if test -n "$(ALLEGRO_MODULE_TARGETS)"; then \
$(mkinstalldirs) $(moduledir); \
for m in $(ALLEGRO_MODULE_TARGETS) modules.lst; do \
echo Installing $$m to $(moduledir); \
$(INSTALL_DATA) $$m $(moduledir)/; \
done; \
fi
$(mkinstalldirs) $(bindir)
@echo Installing allegro-config to $(bindir)
@$(INSTALL_PROGRAM) allegro-config $(bindir)
@if test -n "$(LIBDIR)/liball*-$(shared_version).so"; then \
(grep -q $(libdir) /etc/ld.so.conf || \
test $(libdir) = /lib || test $(libdir) = /usr/lib) \
&& ($(LDCONFIG) $(libdir) || true) || (\
echo "" ; \
echo "Warning: shared library destination $(libdir) is not in ldd search path." ; \
echo "Unless you add it to /etc/ld.so.conf, you must set LD_LIBRARY_PATH to include"; \
echo "$(libdir) each time you want to run an Allegro program." ; \
) ; \
fi
@for l in alleg alld allp; do \
if test -f $(libdir)/lib$${l}-$(shared_version).so -a \! -L $(libdir)/lib$${l}.so.${shared_major_minor}; then \
(cd $(libdir); ln -s lib$${l}-$(shared_version).so lib$${l}.so.${shared_major_minor}); \
fi; \
done
install-headers:
$(mkinstalldirs) $(includedir)/allegro
$(mkinstalldirs) $(includedir)/allegro/inline
$(mkinstalldirs) $(includedir)/allegro/internal
$(mkinstalldirs) $(includedir)/allegro/platform
$(INSTALL_DATA) $(srcdir)/include/allegro.h $(includedir)/
$(INSTALL_DATA) $(srcdir)/include/xalleg.h $(includedir)/
$(INSTALL_DATA) $(srcdir)/include/linalleg.h $(includedir)/
$(INSTALL_DATA) $(CONFIG_H) $(includedir)/allegro/
@for file in $(srcdir)/include/allegro/*.h; do \
echo Installing $$file to $(includedir)/allegro; \
$(INSTALL_DATA) $$file $(includedir)/allegro/; \
done
@for file in $(srcdir)/include/allegro/inline/*.inl; do \
echo Installing $$file to $(includedir)/allegro/inline; \
$(INSTALL_DATA) $$file $(includedir)/allegro/inline/; \
done
@for file in $(srcdir)/include/allegro/internal/*.h; do \
echo Installing $$file to $(includedir)/allegro/internal; \
$(INSTALL_DATA) $$file $(includedir)/allegro/internal/; \
done
@for file in $(srcdir)/include/allegro/platform/*.h; do \
echo Installing $$file to $(includedir)/allegro/platform; \
$(INSTALL_DATA) $$file $(includedir)/allegro/platform/; \
done
install-programs: programs
$(mkinstalldirs) $(bindir)
@for prog in $(ALLEGRO_LIB_EXES) $(ALLEGRO_DATAFILE_EXES); do \
if test "X`echo $$prog | sed -e s,tools/.\*,,`" = X; then \
echo Installing $$prog to $(bindir); \
$(INSTALL_PROGRAM) $$prog $(bindir); \
fi; \
done
install-info: docs
@echo Installing Allegro info documentation...
$(mkinstalldirs) $(infodir)
@$(INSTALL_DATA) docs/info/allegro.info $(infodir)
-@if $(SHELL) -c "$(INSTALL_INFO) --version" >/dev/null 2>&1; then \
if $(INSTALL_INFO) --version 2>&1 | grep -q "Debian"; then \
$(INSTALL_INFO) --section Development -- $(infodir)/allegro.info; \
else \
$(INSTALL_INFO) $(infodir)/allegro.info $(INFO_DIR); \
fi; \
else \
true; \
fi
install-gzipped-info: install-info
@echo Compressing documentation...
@gzip -9 -f $(infodir)/allegro.info
install-man: docs
$(mkinstalldirs) $(mandir)/man3
@for file in $(srcdir)/docs/man/*.3; do \
echo Installing $$file to $(mandir)/man3; \
$(INSTALL_DATA) $$file $(mandir)/man3/; \
done
install-gzipped-man: docs
$(mkinstalldirs) $(mandir)/man3
@for file in $(srcdir)/docs/man/*.3; do \
echo Installing $$file.gz to $(mandir)/man3; \
$(INSTALL_DATA) $$file $(mandir)/man3/; \
gzip -9 -f $(mandir)/man3/`echo $$file | sed -e "s:.*/::"`; \
done
uninstall: uninstall-lib uninstall-modules uninstall-headers uninstall-programs uninstall-info uninstall-man
@echo
@echo "All gone. Don't you feel sad now?"
@echo
@echo "Well, almost. Shared libraries are not uninstalled by default --"
@echo "use \"make uninstall-shared\" to remove them."
uninstall-lib:
@echo "Uninstalling libraries..."
@for l in alleg alld allp; do \
rm -f $(libdir)/lib$${l}_unsharable.a; \
rm -f $(libdir)/lib$${l}.a; \
done
rm -f $(bindir)/allegro-config
uninstall-shared:
@echo "Uninstalling shared libraries..."
@for l in alleg alld allp; do \
rm -f $(libdir)/lib$${l}-${shared_version}.so; \
rm -f $(libdir)/lib$${l}.so.${shared_major_minor}; \
done
-$(LDCONFIG) $(libdir) # update cache (only works if we're root)
uninstall-modules:
rm -rf $(modulebasedir) $(moduledir)
uninstall-headers:
rm -f $(includedir)/allegro.h
rm -f $(includedir)/xalleg.h
rm -f $(includedir)/linalleg.h
rm -rf $(includedir)/allegro
uninstall-programs:
@for prog in $(ALLEGRO_LIB_EXES) $(ALLEGRO_DATAFILE_EXES); do \
if test "X`echo $$prog | sed -e s,tools/.\*,,`" = X; then \
p=`echo $$prog | sed -e s,tools/,,`; \
echo rm -f $(bindir)/$$p; \
rm -f $(bindir)/$$p; \
fi; \
done
uninstall-info:
@if test -f $(infodir)/allegro.info.gz; then \
echo Decompressing documentation...; \
gunzip $(infodir)/allegro.info.gz; \
fi;
-@if $(SHELL) -c "$(INSTALL_INFO) --version" >/dev/null 2>&1; then \
if $(INSTALL_INFO) --version 2>&1 | grep -q "Debian"; then \
$(INSTALL_INFO) --remove $(infodir)/allegro.info; \
else \
$(INSTALL_INFO) --remove $(infodir)/allegro.info $(INFO_DIR); \
fi; \
else \
true; \
fi
rm -f $(infodir)/allegro.info
uninstall-man:
sed -n -e "s,^@[@\\].*@\([a-zA-Z0-9_]*\)[^a-zA-Z0-9_*].*,$(mandir)/man3/\1.3,p" $(srcdir)/docs/src/allegro._tx \
| xargs -n 1 rm -f
sed -n -e "s,^@[@\\].*@\([a-zA-Z0-9_]*\)[^a-zA-Z0-9_*].*,$(mandir)/man3/\1.3.gz,p" $(srcdir)/docs/src/allegro._tx \
| xargs -n 1 rm -f
depend:
rm -f makefile.dep
@echo "# Automatically generated." >makefile.dep
@echo "Generating dependencies for libraries"
$(SHELL) -c 'cd $(srcdir) && misc/deplib.sh $(ALLEGRO_LIBRARY_SOURCES)' >>makefile.dep
@echo "Generating dependencies for dynamically loaded modules"
$(SHELL) -c 'cd $(srcdir) && misc/depmod.sh vga -- $(ALLEGRO_MODULE_VGA_FILES)' >>makefile.dep
$(SHELL) -c 'cd $(srcdir) && misc/depmod.sh svgalib -lvga $(ALLEGRO_MODULE_SVGALIB_FILES)' >>makefile.dep
$(SHELL) -c 'cd $(srcdir) && misc/depmod.sh fbcon -- $(ALLEGRO_MODULE_FBCON_FILES)' >>makefile.dep
$(SHELL) -c 'cd $(srcdir) && misc/depmod.sh alsadigi -lasound $(ALLEGRO_MODULE_ALSADIGI_FILES)' >>makefile.dep
$(SHELL) -c 'cd $(srcdir) && misc/depmod.sh alsamidi -lasound $(ALLEGRO_MODULE_ALSAMIDI_FILES)' >>makefile.dep
$(SHELL) -c 'cd $(srcdir) && misc/depmod.sh esddigi -lesd $(ALLEGRO_MODULE_ESD_FILES)' >>makefile.dep
$(SHELL) -c 'cd $(srcdir) && misc/depmod.sh dga2 -lXxf86dga_pic $(ALLEGRO_MODULE_DGA2_FILES)' >> makefile.dep
@echo "Generating dependencies for simple programs"
$(SHELL) -c 'cd $(srcdir) && misc/deplexe.sh $(ALLEGRO_LIB_EXE_SOURCES) $(ALLEGRO_EXAMPLE_FILES)' >>makefile.dep
@echo "Generating dependencies for datafile plugins"
$(SHELL) -c 'cd $(srcdir) && misc/depdlib.sh tools/datedit.c' >>makefile.dep
@echo "Generating dependencies for datafile programs"
$(SHELL) -c 'cd $(srcdir) && misc/depdexe.sh $(ALLEGRO_DATAFILE_EXE_SOURCES)' >>makefile.dep
@echo "Generating dependencies for programs without libraries"
$(SHELL) -c 'cd $(srcdir) && misc/depnexe.sh $(ALLEGRO_NOLIB_EXE_SOURCES)' >>makefile.dep
@echo "Dependency generation completed!"
.PHONY: default all lib programs docs docs-dvi docs-ps docs-gzipped-ps \
clean distclean veryclean maintainer-clean \
install full-install mini-install \
install-lib install-headers install-programs install-info \
install-gzipped-info install-man install-gzipped-man depend \
uninstall uninstall-lib uninstall-modules uninstall-headers \
uninstall-programs uninstall-info uninstall-man
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
|