Skip to content

Commit

Permalink
Don't uselessly include static libraries in other static libraries.
Browse files Browse the repository at this point in the history
Saves ~14 MB of diskspace when building.
  • Loading branch information
cybersphinx committed May 1, 2011
1 parent 7bfeb3e commit a8d88d8
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 18 deletions.
3 changes: 0 additions & 3 deletions lib/gamelib/Makefile.am
Expand Up @@ -39,6 +39,3 @@ libgamelib_a_SOURCES = \
audp_parser.tab.c \
gtime.c \
hashtable.c

libgamelib_a_LIBADD = $(top_builddir)/lib/ivis_opengl/libivis_opengl.a \
$(top_builddir)/lib/ivis_common/libivis_common.a $(top_builddir)/lib/framework/libframework.a
2 changes: 0 additions & 2 deletions lib/ivis_common/Makefile.am
Expand Up @@ -31,5 +31,3 @@ libivis_common_a_SOURCES = \
pieclip.c \
piestate.c \
png_util.c

libivis_common_a_LIBADD = $(top_builddir)/lib/framework/libframework.a
3 changes: 0 additions & 3 deletions lib/ivis_opengl/Makefile.am
Expand Up @@ -26,9 +26,6 @@ libivis_opengl_a_SOURCES += GLee.c
noinst_HEADERS += GLee.h
endif

libivis_opengl_a_LIBADD = $(top_builddir)/lib/ivis_common/libivis_common.a \
$(top_builddir)/lib/framework/libframework.a

# HACK Don't give make errors when switching between trunk and branches.
# Works by finding the .deps/*.Po files which refer to source files that don't exist, and replacing them with a single dependency on the correct source file.
# Now with PD-ksh support.
Expand Down
2 changes: 0 additions & 2 deletions lib/netplay/Makefile.am
Expand Up @@ -16,8 +16,6 @@ libnetplay_a_SOURCES = \
netplay.c \
nettypes.c

libnetplay_a_LIBADD = $(top_builddir)/lib/framework/libframework.a $(top_builddir)/lib/netplay/miniupnpc/libminiupnpc.a

# HACK Don't give make errors when switching between trunk and branches.
# Works by finding the .deps/*.Po files which refer to source files that don't exist, and replacing them with a single dependency on the correct source file.
# Now with PD-ksh support.
Expand Down
2 changes: 0 additions & 2 deletions lib/script/Makefile.am
Expand Up @@ -54,5 +54,3 @@ libscript_a_SOURCES = \
script_lexer.lex.c \
script_parser.tab.c \
stack.c

libscript_a_LIBADD = $(top_builddir)/lib/framework/libframework.a
3 changes: 0 additions & 3 deletions lib/sound/Makefile.am
Expand Up @@ -24,6 +24,3 @@ libsound_a_SOURCES = \
openal_track.c \
playlist.c \
track.c

libsound_a_LIBADD = $(top_builddir)/lib/gamelib/libgamelib.a \
$(top_builddir)/lib/framework/libframework.a
3 changes: 0 additions & 3 deletions lib/widget/Makefile.am
Expand Up @@ -26,6 +26,3 @@ libwidget_a_SOURCES = \
slider.c \
tip.c \
widget.c

libwidget_a_LIBADD = $(top_builddir)/lib/ivis_opengl/libivis_opengl.a \
$(top_builddir)/lib/ivis_common/libivis_common.a $(top_builddir)/lib/framework/libframework.a

0 comments on commit a8d88d8

Please sign in to comment.