[chocolate-doom] 05/83: Autotools build system

Jonathan Dowland jmtd at moszumanska.debian.org
Mon Jan 30 15:06:21 UTC 2017


This is an automated email from the git hooks/post-receive script.

jmtd pushed a commit to annotated tag chocolate-doom-0.0.1
in repository chocolate-doom.

commit 73e68c76833526304bb062144f62b9358f6f77e5
Author: Simon Howard <fraggle at gmail.com>
Date:   Sat Jul 23 17:20:33 2005 +0000

    Autotools build system
    
    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 11
---
 Makefile.am     | 13 +++++++++++++
 autogen.sh      | 12 ++++++++++++
 configure.in    | 24 ++++++++++++++++++++++++
 src/Makefile.am | 32 ++++++++++++++++++++++++++++++++
 4 files changed, 81 insertions(+)

diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..f518d7b
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,13 @@
+AUX_DIST_GEN =                          \
+        $(ac_aux_dir)/config.guess      \
+        $(ac_aux_dir)/config.sub        \
+        $(ac_aux_dir)/install-sh        \
+        $(ac_aux_dir)/missing           \
+        $(ac_aux_dir)/mkinstalldirs
+
+
+MAINTAINERCLEANFILES =  $(AUX_DIST_GEN)
+
+docdir=$(prefix)/share/doc/@PACKAGE@
+SUBDIRS=src 
+
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..ee0e377
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+mkdir autotools
+
+aclocal
+autoheader
+automake -a -c
+autoconf
+automake
+
+./configure $@
+
diff --git a/configure.in b/configure.in
new file mode 100644
index 0000000..1373460
--- /dev/null
+++ b/configure.in
@@ -0,0 +1,24 @@
+AC_INIT(Chocolate Doom, 0.1, fraggle at alkali.org, chocolate-doom)
+AC_CONFIG_AUX_DIR(autotools)
+
+AC_PROG_CC
+
+AC_PATH_X
+
+AM_INIT_AUTOMAKE(AC_PACKAGE_TARNAME,AC_PACKAGE_VERSION)
+
+X_CFLAGS="-I$x_includes"
+X_LDFLAGS="-L$x_libraries -lX11"
+
+echo $X_CFLAGS
+
+AC_SUBST(X_CFLAGS)
+AC_SUBST(X_LDFLAGS)
+
+AM_CONFIG_HEADER(config.h:config.hin)
+
+AC_OUTPUT([
+Makefile
+src/Makefile
+])
+
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..8713afa
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,32 @@
+
+bindir = $(prefix)/bin
+
+CFLAGS = @CFLAGS@ @X_CFLAGS@ -DNORMALUNIX -DLINUX
+LDFLAGS = @LDFLAGS@ @X_LDFLAGS@ -lX11 -lXext
+
+chocolate_doom_SOURCES=\
+am_map.c    d_think.h   i_video.c   p_floor.c   p_tick.c    r_things.h	\
+am_map.h    d_ticcmd.h  i_video.h   p_inter.c   p_tick.h    sounds.c	\
+d_englsh.h  f_finale.c  m_argv.c    p_inter.h   p_user.c    sounds.h	\
+d_event.h   f_finale.h  m_argv.h    p_lights.c  r_bsp.c     s_sound.c	\
+d_french.h  f_wipe.c    m_bbox.c    p_local.h   r_bsp.h     s_sound.h	\
+d_items.c   f_wipe.h    m_bbox.h    p_map.c     r_data.c    st_lib.c	\
+d_items.h   g_game.c    m_cheat.c   p_maputl.c  r_data.h    st_lib.h	\
+d_main.c    g_game.h    m_cheat.h   p_mobj.c    r_defs.h    st_stuff.c	\
+d_main.h    hu_lib.c    m_fixed.c   p_mobj.h    r_draw.c    st_stuff.h	\
+d_net.c     hu_lib.h    m_fixed.h   p_plats.c   r_draw.h    tables.c	\
+d_net.h     hu_stuff.c  m_menu.c    p_pspr.c    r_local.h   tables.h	\
+doomdata.h  hu_stuff.h  m_menu.h    p_pspr.h    r_main.c    v_video.c	\
+doomdef.c   i_main.c    m_misc.c    p_saveg.c   r_main.h    v_video.h	\
+doomdef.h   i_net.c     m_misc.h    p_saveg.h   r_plane.c   wi_stuff.c	\
+doomstat.c  i_net.h     m_random.c  p_setup.c   r_plane.h   wi_stuff.h	\
+doomstat.h  info.c      m_random.h  p_setup.h   r_segs.c    w_wad.c	\
+doomtype.h  info.h      m_swap.c    p_sight.c   r_segs.h    w_wad.h	\
+d_player.h  i_sound.c   m_swap.h    p_spec.c    r_sky.c     z_zone.c	\
+dstrings.c  i_sound.h   p_ceilng.c  p_spec.h    r_sky.h     z_zone.h	\
+dstrings.h  i_system.c  p_doors.c   p_switch.c  r_state.h	\
+d_textur.h  i_system.h  p_enemy.c   p_telept.c  r_things.c
+
+bin_PROGRAMS = chocolate-doom
+
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/chocolate-doom.git



More information about the Pkg-games-commits mailing list