aboutsummaryrefslogtreecommitdiff
path: root/libxcb
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-06-26 10:55:45 +0200
committermarha <marha@users.sourceforge.net>2012-06-26 10:55:45 +0200
commit3458e8f13f8389a146c5b54b145dfb586af98dce (patch)
tree0efd2afba851fe3129bf047dbfcac1a37e4ec24d /libxcb
parent2207e9e23c1875aef1ef657db83b502ec38eb196 (diff)
downloadvcxsrv-3458e8f13f8389a146c5b54b145dfb586af98dce.tar.gz
vcxsrv-3458e8f13f8389a146c5b54b145dfb586af98dce.tar.bz2
vcxsrv-3458e8f13f8389a146c5b54b145dfb586af98dce.zip
libxcb is now a dll
Diffstat (limited to 'libxcb')
-rw-r--r--libxcb/src/libxcb.def58
-rw-r--r--libxcb/src/makefile16
2 files changed, 72 insertions, 2 deletions
diff --git a/libxcb/src/libxcb.def b/libxcb/src/libxcb.def
new file mode 100644
index 000000000..0a8526baf
--- /dev/null
+++ b/libxcb/src/libxcb.def
@@ -0,0 +1,58 @@
+LIBRARY libxcb
+EXPORTS
+ InitWSA
+ xcb_allow_events
+ xcb_connect
+ xcb_connect_to_display_with_auth_info
+ xcb_connection_has_error
+ xcb_create_glyph_cursor
+ xcb_depth_next
+ xcb_depth_visuals_iterator
+ xcb_discard_reply
+ xcb_disconnect
+ xcb_flush
+ xcb_generate_id
+ xcb_get_atom_name
+ xcb_get_atom_name_name
+ xcb_get_atom_name_name_length
+ xcb_get_atom_name_reply
+ xcb_get_extension_data
+ xcb_get_file_descriptor
+ xcb_get_geometry
+ xcb_get_geometry_reply
+ xcb_get_maximum_request_length
+ xcb_get_property
+ xcb_get_property_reply
+ xcb_get_property_value
+ xcb_get_property_value_length
+ xcb_get_setup
+ xcb_get_window_attributes
+ xcb_get_window_attributes_reply
+ xcb_grab_pointer
+ xcb_grab_pointer_reply
+ xcb_intern_atom
+ xcb_intern_atom_reply
+ xcb_open_font
+ xcb_parse_display
+ xcb_poll_for_event
+ xcb_poll_for_reply
+ xcb_query_pointer
+ xcb_query_pointer_reply
+ xcb_query_tree
+ xcb_query_tree_children
+ xcb_query_tree_children_length
+ xcb_query_tree_reply
+ xcb_screen_allowed_depths_iterator
+ xcb_screen_next
+ xcb_setup_roots_iterator
+ xcb_shape_id
+ xcb_shape_query_extents
+ xcb_shape_query_extents_reply
+ xcb_take_socket
+ xcb_translate_coordinates
+ xcb_translate_coordinates_reply
+ xcb_ungrab_pointer
+ xcb_visualtype_next
+ xcb_wait_for_event
+ xcb_wait_for_reply
+ xcb_writev \ No newline at end of file
diff --git a/libxcb/src/makefile b/libxcb/src/makefile
index 8205311c6..5b63df63a 100644
--- a/libxcb/src/makefile
+++ b/libxcb/src/makefile
@@ -1,5 +1,4 @@
-
-LIBRARY=libxcb
+SHAREDLIB=libxcb
CSRCS = \
xcb_conn.c xcb_out.c xcb_in.c xcb_ext.c xcb_xid.c \
@@ -7,6 +6,19 @@ CSRCS = \
DEFINES += PTW32_STATIC_LIB HAVE_GETADDRINFO
+INCLUDELIBFILES = \
+ $(MHMAKECONF)\libxau\$(OBJDIR)\libXau.lib
+
+LIBDIRS=$(dir $(INCLUDELIBFILES))
+
+load_makefile $(LIBDIRS:%$(OBJDIR)\=%makefile MAKESERVER=0 DEBUG=$(DEBUG);)
+
+ifeq ($(DEBUG),1)
+LINKLIBS += $(MHMAKECONF)\pthreads\pthreadVC2d.lib
+else
+LINKLIBS += $(MHMAKECONF)\pthreads\pthreadVC2.lib
+endif
+
XCBPROTO_XCBINCLUDEDIR = ..\xcb-proto\src
XMLFILES := $(notdir $(wildcard $(XCBPROTO_XCBINCLUDEDIR)\*.xml))