diff options
author | Søren Sandmann Pedersen <sandmann@daimi.au.dk> | 2005-08-18 21:28:09 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <sandmann@daimi.au.dk> | 2005-08-18 21:28:09 +0000 |
commit | bed3235d222fd6e2207f6c0d551c67d5a53322cd (patch) | |
tree | 9c45a9ef68da49f6baa7119794f2229dece12d56 /fb/Makefile.am | |
parent | a0366ddb8cb1c57b85a5806eb348abc19c7f92d6 (diff) |
Thu Aug 18 17:27:09 2005 Søren Sandmann <sandmann@redhat.com>
Move fbmmx to a convenience library since the mmx flags may be harmful when
applied to non-mmx code.
Diffstat (limited to 'fb/Makefile.am')
-rw-r--r-- | fb/Makefile.am | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/fb/Makefile.am b/fb/Makefile.am index 7c8dce107..061dd70f5 100644 --- a/fb/Makefile.am +++ b/fb/Makefile.am @@ -1,14 +1,26 @@ -noinst_LTLIBRARIES = libfb.la +noinst_LTLIBRARIES = libfb.la libfbmmx.la AM_CFLAGS = $(DIX_CFLAGS) sdk_HEADERS = fb.h fbrop.h fbpseudocolor.h fboverlay.h if MMX_CAPABLE -AM_CFLAGS += -mmmx -msse -Winline --param inline-unit-growth=10000 \ - --param large-function-growth=10000 -DUSE_MMX +AM_CFLAGS += -DUSE_MMX + +libfbmmx_la_CFLAGS = \ + $(DIX_CFLAGS) \ + -DUSE_MMX \ + -mmmx \ + -msse \ + -Winline \ + --param inline-unit-growth=10000 \ + --param large-function-growth=10000 endif +libfbmmx_la_SOURCES = \ + fbmmx.c \ + fbmmx.h + libfb_la_SOURCES = \ fb.h \ fb24_32.c \ @@ -49,8 +61,8 @@ libfb_la_SOURCES = \ fbpseudocolor.c \ fbpseudocolor.h \ fbedge.c \ - fbedgeimp.h \ - fbmmx.c \ - fbmmx.h + fbedgeimp.h + +libfb_la_LIBADD = libfbmmx.la EXTRA_DIST = fbcmap.c |