diff --git a/Makefile.am b/Makefile.am index 0f154d965..fed6417b2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = $(BULLETTREE) $(ENETTREE) src doc data +SUBDIRS = $(BULLETTREE) $(ENETTREE) src doc data tools pkgdatadir=$(datadir)/doc/$(PACKAGE) dist_pkgdata_DATA=AUTHORS ChangeLog COPYING README autogen.sh m4 diff --git a/configure.ac b/configure.ac index c22adfb7a..1f216649e 100644 --- a/configure.ac +++ b/configure.ac @@ -445,15 +445,18 @@ AC_CONFIG_FILES([ \ data/models/Makefile \ data/music/Makefile \ data/po/Makefile \ + data/shaders/Makefile \ data/sfx/Makefile \ data/textures/Makefile \ data/tracks/Makefile \ + data/tutorials/Makefile \ doc/Makefile \ src/Makefile \ src/ide/Makefile \ src/bullet/Makefile \ src/bullet/src/Makefile \ src/enet/Makefile \ + tools/Makefile ]) AC_OUTPUT echo -e $SUMMARY diff --git a/data/Makefile.am b/data/Makefile.am index 7c36548aa..35e0fe663 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,17 +1,14 @@ # data/ -SUBDIRS = challenges fonts gfx gui karts models music po sfx textures tracks grandprix +SUBDIRS = challenges fonts gfx gui karts models music po sfx textures tracks \ + grandprix tutorials shaders + pkgdatadir = $(datadir)/games/$(PACKAGE)/data dist_pkgdata_DATA = \ - $(shell find $(srcdir) -name "*.data") \ - $(shell find $(srcdir) -name "*.items") \ - $(shell find $(srcdir) -name "*.projectile") \ - $(shell find $(srcdir) -name "*.cup") \ $(shell find $(srcdir) -maxdepth 1 -name "*.challenge") \ - $(shell find $(srcdir) -name "*.collectable") \ stk_config.xml powerup.xml items.xml \ - CREDITS + CREDITS run_me.sh desktopdir = $(prefix)/share/applications desktop_DATA = supertuxkart.desktop diff --git a/data/shaders/Makefile.am b/data/shaders/Makefile.am new file mode 100644 index 000000000..fe814b43e --- /dev/null +++ b/data/shaders/Makefile.am @@ -0,0 +1,7 @@ +# data/shaders/ + +pkgdatadir = $(datadir)/games/@PACKAGE@/data/shaders + +dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.frag") \ + $(shell find $(srcdir) -name "*.vert") + diff --git a/data/tutorials/Makefile.am b/data/tutorials/Makefile.am new file mode 100644 index 000000000..151080028 --- /dev/null +++ b/data/tutorials/Makefile.am @@ -0,0 +1,6 @@ +# data/po/ + +pkgdatadir = $(datadir)/games/@PACKAGE@/data/shaders + +dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.tutorial") + diff --git a/src/bullet/ChangeLog.txt b/src/bullet/ChangeLog.txt deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/bullet/Makefile.am b/src/bullet/Makefile.am index 9a2019688..65e54eaa9 100644 --- a/src/bullet/Makefile.am +++ b/src/bullet/Makefile.am @@ -1,5 +1,5 @@ SUBDIRS=src -EXTRA_DIST = BulletLicense.txt ChangeLog.txt copy_bullet_files \ +EXTRA_DIST = BulletLicense.txt Changelog copy_bullet_files \ LICENSE README VERSION diff --git a/src/bullet/src/Makefile.am b/src/bullet/src/Makefile.am index 40984cc7a..4f7c4d7f2 100644 --- a/src/bullet/src/Makefile.am +++ b/src/bullet/src/Makefile.am @@ -264,6 +264,8 @@ libbulletdynamics_a_SOURCES = \ BulletDynamics/ConstraintSolver/btSolve2LinearConstraint.h \ BulletDynamics/ConstraintSolver/btSolverBody.h \ BulletDynamics/ConstraintSolver/btSolverConstraint.h \ + BulletDynamics/ConstraintSolver/btSorLcp.cpp \ + BulletDynamics/ConstraintSolver/btSorLcp.h \ BulletDynamics/ConstraintSolver/btTypedConstraint.cpp \ BulletDynamics/ConstraintSolver/btTypedConstraint.h \ BulletDynamics/ConstraintSolver/btGeneric6DofSpringConstraint.cpp \ diff --git a/src/enet/Makefile.am b/src/enet/Makefile.am index 8a9d6b7a7..fa4225e68 100644 --- a/src/enet/Makefile.am +++ b/src/enet/Makefile.am @@ -1,5 +1,6 @@ noinst_LIBRARIES = libenet.a -EXTRA_DIST = ChangeLog configure design.txt Doxyfile LICENSE tutorial.txt +EXTRA_DIST = ChangeLog configure design.txt Doxyfile LICENSE tutorial.txt \ + $(shell find $(srcdir) -maxdepth 2 -name "*.dox") libenet_a_SOURCES = callbacks.c compress.c host.c list.c packet.c peer.c \ protocol.c unix.c win32.c \ include/enet/callbacks.h \ diff --git a/tools/Makefile.am b/tools/Makefile.am new file mode 100644 index 000000000..b2af6095b --- /dev/null +++ b/tools/Makefile.am @@ -0,0 +1,8 @@ +# tools + +dist_pkgdata_DATA = \ + $(shell find . -maxdepth 2 -name "*.cpp") \ + $(shell find . -maxdepth 2 -name "*.h") \ + $(shell find . -maxdepth 2 -name "*.sln") \ + $(shell find . -maxdepth 2 -name "*.vcproj") \ + $(shell find . -maxdepth 2 -name "po_list")