d3d2939494ac8731d97a351fc6ee045d2bd9d7a8
4 include $(TOP
)/configs
/current
7 ### Lists of source files, included by Makefiles
38 ### All the core C sources
48 ### Include directories
52 -I
$(GALLIUM
)/include \
53 -I
$(GALLIUM
)/src
/gallium
/include \
54 -I
$(GALLIUM
)/src
/gallium
/auxiliary
57 VG_LIB_NAME
= lib
$(VG_LIB
).so
64 $(GALLIUM
)/src
/gallium
/auxiliary
/pipebuffer
/libpipebuffer.a \
65 $(GALLIUM
)/src
/gallium
/auxiliary
/draw
/libdraw.a \
66 $(GALLIUM
)/src
/gallium
/auxiliary
/rtasm
/librtasm.a \
67 $(GALLIUM
)/src
/gallium
/auxiliary
/translate
/libtranslate.a \
68 $(GALLIUM
)/src
/gallium
/auxiliary
/cso_cache
/libcso_cache.a \
69 $(GALLIUM
)/src
/gallium
/auxiliary
/util
/libutil.a \
70 $(GALLIUM
)/src
/gallium
/auxiliary
/tgsi
/libtgsi.a
75 $(CC
) -c
$(INCLUDE_DIRS
) $(CFLAGS
) $< -o
$@
78 $(CXX
) -c
$(INCLUDE_DIRS
) $(CXXFLAGS
) $< -o
$@
81 $(CC
) -c
$(INCLUDE_DIRS
) $(CFLAGS
) $< -o
$@
84 default
: depend subdirs
$(TOP
)/$(LIB_DIR
)/$(VG_LIB_NAME
)
86 # Make the OpenVG library
87 $(TOP
)/$(LIB_DIR
)/$(VG_LIB_NAME
): $(VG_OBJECTS
) $(GALLIUM_LIBS
)
88 $(TOP
)/bin
/mklib
-o
$(VG_LIB
) \
92 -install $(TOP
)/$(LIB_DIR
) \
93 $(VG_OBJECTS
) $(GALLIUM_LIBS
) \
94 -Wl
,--whole-archive
$(LIBS
) -Wl
,--no-whole-archive
$(SYS_LIBS
)
96 ######################################################################
99 depend
: $(ALL_SOURCES
)
100 @ echo
"running $(MKDEP)"
101 @
rm -f depend
# workaround oops on gutsy?!?
103 @
$(MKDEP
) $(MKDEP_OPTIONS
) $(DEFINES
) $(INCLUDE_DIRS
) $(ALL_SOURCES
) \
104 > /dev
/null
2>/dev
/null
110 $(INSTALL
) -d
$(INSTALL_DIR
)/include/VG
111 $(INSTALL
) -d
$(INSTALL_DIR
)/$(LIB_DIR
)
112 $(INSTALL
) -m
644 $(TOP
)/include/VG
/*.h
$(INSTALL_DIR
)/include/VG
113 @if
[ -e
$(TOP
)/$(LIB_DIR
)/$(VG_LIB_NAME
) ]; then \
114 $(INSTALL
) $(TOP
)/$(LIB_DIR
)/libOpenVG
* $(INSTALL_DIR
)/$(LIB_DIR
); \
119 etags
`find . -name \*.[ch]` $(TOP
)/include/VG
/*.h
125 -rm -f depend depend.bak