diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-12-10 00:32:34 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-12-10 00:36:41 -0200 |
commit | aa71ac1dd4697738752c73fe4c106b665ea3ec25 (patch) | |
tree | 25fb376f6dbfa49bd3f2c07060fa1702981ee9bd | |
parent | 090f63123975220819d531f569df6e5787607ec6 (diff) |
Add dependency tracking to sdksyms.c and export composite wrapper.
Thanks to David Miller for noticing a make problem with sdksyms.c
not being regenerated when sdksyms.sh is updated. This is not yet the
best solution; automake generates dependency for sdksyms.o, but the
build really should also regenerate sdksyms.c when sdksyms.o needs to
be regenerated.
Export the symbols in miext/cw/cw.h. These symbols are in libxaa, and
at least the nvidia driver uses them. Maybe cw.h should be installed
in the sdk.
-rw-r--r-- | hw/xfree86/loader/Makefile.am | 2 | ||||
-rw-r--r-- | miext/cw/cw.h | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/hw/xfree86/loader/Makefile.am b/hw/xfree86/loader/Makefile.am index e4e3b48fb..ccf16fc79 100644 --- a/hw/xfree86/loader/Makefile.am +++ b/hw/xfree86/loader/Makefile.am @@ -23,5 +23,5 @@ libloader_la_SOURCES = \ CLEANFILES = sdksyms.c -sdksyms.c: +sdksyms.c: sdksyms.sh $(srcdir)/sdksyms.sh $(AM_CFLAGS) $(CFLAGS) $(INCLUDES) diff --git a/miext/cw/cw.h b/miext/cw/cw.h index 145f3492c..ae65503f5 100644 --- a/miext/cw/cw.h +++ b/miext/cw/cw.h @@ -44,7 +44,7 @@ typedef struct { GCFuncs *wrapFuncs; /* wrapped funcs */ } cwGCRec, *cwGCPtr; -extern DevPrivateKey cwGCKey; +extern _X_EXPORT DevPrivateKey cwGCKey; #define getCwGC(pGC) ((cwGCPtr)dixLookupPrivate(&(pGC)->devPrivates, cwGCKey)) #define setCwGC(pGC,p) dixSetPrivate(&(pGC)->devPrivates, cwGCKey, p) @@ -64,8 +64,8 @@ typedef struct { (cwPicturePtr)dixLookupPrivate(&(pPicture)->devPrivates, cwPictureKey) : 0) #define setCwPicture(pPicture,p) dixSetPrivate(&(pPicture)->devPrivates, cwPictureKey, p) -extern DevPrivateKey cwPictureKey; -extern DevPrivateKey cwWindowKey; +extern _X_EXPORT DevPrivateKey cwPictureKey; +extern _X_EXPORT DevPrivateKey cwWindowKey; #define cwWindowPrivate(pWin) dixLookupPrivate(&(pWin)->devPrivates, cwWindowKey) #define getCwPixmap(pWindow) ((PixmapPtr) cwWindowPrivate(pWindow)) @@ -110,7 +110,7 @@ typedef struct { #endif } cwScreenRec, *cwScreenPtr; -extern DevPrivateKey cwScreenKey; +extern _X_EXPORT DevPrivateKey cwScreenKey; #define getCwScreen(pScreen) ((cwScreenPtr)dixLookupPrivate(&(pScreen)->devPrivates, cwScreenKey)) #define setCwScreen(pScreen,p) dixSetPrivate(&(pScreen)->devPrivates, cwScreenKey, p) @@ -151,18 +151,18 @@ extern DevPrivateKey cwScreenKey; } while (0) /* cw.c */ -DrawablePtr +extern _X_EXPORT DrawablePtr cwGetBackingDrawable(DrawablePtr pDrawable, int *x_off, int *y_off); /* cw_render.c */ -void +extern _X_EXPORT void cwInitializeRender (ScreenPtr pScreen); -void +extern _X_EXPORT void cwFiniRender (ScreenPtr pScreen); /* cw.c */ -void +extern _X_EXPORT void miInitializeCompositeWrapper(ScreenPtr pScreen); |