Updated.
This commit is contained in:
parent
afdda1c821
commit
e591c39c8b
2 changed files with 114 additions and 15 deletions
108
Makefile.am
Normal file
108
Makefile.am
Normal file
|
@ -0,0 +1,108 @@
|
|||
SUBDIRS = \
|
||||
tests \
|
||||
src
|
||||
|
||||
EXTRA_DIST = FG-FAQ.v3 README.Unix README.Linux README.MacOS README.Win32 \
|
||||
README.Win32-X README.autoconf README.gpc README.plib \
|
||||
README.running Thanks VERSION acsite.m4 acconfig.h irix-hack.pl
|
||||
|
||||
dist-hook:
|
||||
tar cf - hints | (cd $(distdir); tar xvf -)
|
||||
# tar cf - Simulator/FDM/JSBsim/aircraft Simulator/FDM/JSBsim/engine | (cd $(distdir); tar xvf -)
|
||||
|
||||
|
||||
##########################################################################
|
||||
# extra targets to do various things ...
|
||||
#
|
||||
# Use "make <target>"
|
||||
##########################################################################
|
||||
|
||||
|
||||
# make the base distribution with textures, sounds and a bit of
|
||||
# scenery, and all the other associated files
|
||||
|
||||
fgfs-base: fgfs-base-tar fgfs-base-zip
|
||||
|
||||
fgfs-base-tar:
|
||||
(cd $(HOME); \
|
||||
tar czvf fgfs-base-$(VERSION).tar.gz \
|
||||
FlightGear/[A-CE-R]* \
|
||||
FlightGear/Scenery/w120n30/w111n33 \
|
||||
FlightGear/Sounds \
|
||||
FlightGear/[T-W]* FlightGear/[c-m]*)
|
||||
|
||||
fgfs-base-zip:
|
||||
(cd $(HOME); \
|
||||
zip -ryv fgfs-base-$(VERSION).zip \
|
||||
FlightGear/[A-CE-R]* \
|
||||
FlightGear/Scenery/w120n30/w111n33 \
|
||||
FlightGear/Sounds \
|
||||
FlightGear/Textures FlightGear/Thanks \
|
||||
FlightGear/[T-W]* FlightGear/[c-z]*)
|
||||
|
||||
# make the mini JSBsim data distribution
|
||||
jsbsim-data:
|
||||
(cd $(HOME); \
|
||||
tar czvf jsbsim-data-$(VERSION).tar.gz \
|
||||
FlightGear/Aircraft \
|
||||
FlightGear/Engine)
|
||||
|
||||
# make the documentation distribution
|
||||
|
||||
fgfs-docs: fgfs-docs-tar fgfs-manual-zip
|
||||
|
||||
fgfs-docs-tar:
|
||||
( cd .. ; \
|
||||
tar czvf fgfs-docs-$(VERSION).tar.gz FlightGear/docs )
|
||||
|
||||
# fgfs-docs-zip:
|
||||
# ( cd .. ; \
|
||||
# zip -r fgfs-docs-$(VERSION).zip FlightGear/docs )
|
||||
|
||||
fgfs-manual-zip:
|
||||
( cd .. ; \
|
||||
zip -r fgfs-manual-$(VERSION).zip FlightGear/docs/InstallGuide )
|
||||
|
||||
# make the win32-bin distribution
|
||||
|
||||
fgfs-win32-bin:
|
||||
(cd $(HOME); \
|
||||
zip -r fgfs-win32-bin-$(VERSION).zip FlightGear/bin )
|
||||
|
||||
# make the win32-libs distribution (depricated)
|
||||
win32-libs:
|
||||
( zip -r ../win32-libs-$(VERSION).zip Win32/Makefile \
|
||||
Win32/README.glut Win32/cygwinb1.dll Win32/def \
|
||||
Win32/*.exp Win32/gen-def-from-errors.pl \
|
||||
Win32/glut.dll Win32/glut32.dll Win32/impdef.cpp \
|
||||
Win32/impdef.exe Win32/include \
|
||||
Win32/install.exe \
|
||||
Win32/lib Win32/zlib.lib )
|
||||
|
||||
# make the MacOS (MWCWP3) devel support archive
|
||||
macos-devel:
|
||||
( cd ..; zip -r MWCWP3_Support.zip FlightGear/MWCWP3_Support )
|
||||
|
||||
# clean up dependencies
|
||||
clean-deps:
|
||||
rm -rf .deps \
|
||||
src/.deps tests/.deps \
|
||||
src/*/.deps \
|
||||
src/*/*/.deps \
|
||||
tests/.deps
|
||||
|
||||
# clean up after libtool
|
||||
clean-libs:
|
||||
rm -rf .libs src/.libs \
|
||||
src/*/.libs \
|
||||
src/*/*/.libs
|
||||
rm -f src/*/so_locations \
|
||||
src/*/*/so_locations
|
||||
|
||||
# clean up after winbloze spews random case for file names :-(
|
||||
clean-winbloze: clean-deps clean-libs
|
||||
rm -f makefile src/Include/makefile src/makefile \
|
||||
src/*/makefile \
|
||||
src/*/*/makefile \
|
||||
tests/makefile
|
||||
rm -f src/Main/fg.exe
|
21
aclocal.m4
vendored
21
aclocal.m4
vendored
|
@ -1,7 +1,7 @@
|
|||
dnl aclocal.m4 generated automatically by aclocal 1.3
|
||||
dnl aclocal.m4 generated automatically by aclocal 1.4
|
||||
|
||||
dnl Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
||||
dnl This Makefile.in is free software; the Free Software Foundation
|
||||
dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
dnl with or without modifications, as long as this notice is preserved.
|
||||
|
||||
|
@ -20,7 +20,7 @@ dnl Usage:
|
|||
dnl AM_INIT_AUTOMAKE(package,version, [no-define])
|
||||
|
||||
AC_DEFUN(AM_INIT_AUTOMAKE,
|
||||
[AC_REQUIRE([AM_PROG_INSTALL])
|
||||
[AC_REQUIRE([AC_PROG_INSTALL])
|
||||
PACKAGE=[$1]
|
||||
AC_SUBST(PACKAGE)
|
||||
VERSION=[$2]
|
||||
|
@ -30,8 +30,8 @@ if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
|
|||
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
|
||||
fi
|
||||
ifelse([$3],,
|
||||
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
|
||||
AC_DEFINE_UNQUOTED(VERSION, "$VERSION"))
|
||||
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
|
||||
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package]))
|
||||
AC_REQUIRE([AM_SANITY_CHECK])
|
||||
AC_REQUIRE([AC_ARG_PROGRAM])
|
||||
dnl FIXME This is truly gross.
|
||||
|
@ -43,15 +43,6 @@ AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
|
|||
AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
|
||||
AC_REQUIRE([AC_PROG_MAKE_SET])])
|
||||
|
||||
|
||||
# serial 1
|
||||
|
||||
AC_DEFUN(AM_PROG_INSTALL,
|
||||
[AC_REQUIRE([AC_PROG_INSTALL])
|
||||
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
|
||||
AC_SUBST(INSTALL_SCRIPT)dnl
|
||||
])
|
||||
|
||||
#
|
||||
# Check to make sure that the build environment is sane.
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue