Always return success instead of overflow if caller didn't specify a
[wine/multimedia.git] / tsx11 / Makefile.in
blob03871050f641e29f3310818fd22fef94d3168a75
1 DEFS = @DLLFLAGS@ -D__WINE__
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ..
4 SRCDIR = @srcdir@
5 VPATH = @srcdir@
6 LIBEXT = @LIBEXT@
7 MODULE = none
8 SOVERSION = 1.0
9 SONAME = libwine_tsx11.so
10 EXTRALIBS = $(X_LIBS) $(XLIB)
12 C_SRCS = \
13 locking.c \
14 ts_xf86dga.c \
15 ts_xf86dga2.c \
16 ts_xf86vmode.c \
17 ts_xshm.c \
18 ts_xlib.c \
19 ts_xresource.c \
20 ts_xvideo.c \
21 ts_xutil.c \
22 ts_shape.c \
23 ts_xpm.c
25 all: libwine_tsx11.$(LIBEXT)
27 @MAKE_RULES@
29 libwine_tsx11.so.$(SOVERSION): $(OBJS)
30 $(LDSHARED) $(OBJS) -o $@
32 libwine_tsx11.so: libwine_tsx11.so.$(SOVERSION)
33 $(RM) $@ && $(LN_S) libwine_tsx11.so.$(SOVERSION) $@
35 libwine_tsx11.a: $(OBJS)
36 $(RM) $@
37 $(AR) $@ $(OBJS)
38 $(RANLIB) $@
40 libwine_tsx11.dll: $(OBJS)
41 $(DLLWRAP) $(DLLWRAPFLAGS) --export-all --implib libwine_tsx11.a -o libwine_tsx11.dll $(OBJS)
43 install_so: libwine_tsx11.so.$(SOVERSION)
44 [ -d $(libdir) ] || $(MKDIR) $(libdir)
45 $(INSTALL_PROGRAM) libwine_tsx11.so.$(SOVERSION) $(libdir)/libwine_tsx11.so.$(SOVERSION)
46 cd $(libdir) && $(RM) libwine_tsx11.so && $(LN_S) libwine_tsx11.so.$(SOVERSION) libwine_tsx11.so
48 install_a: libwine_tsx11.a
49 [ -d $(libdir) ] || $(MKDIR) $(libdir)
50 $(INSTALL_DATA) libwine_tsx11.a $(libdir)/libwine_tsx11.a
52 install:: all $(LIBEXT:%=install_%)
54 uninstall::
55 cd $(libdir) && $(RM) libwine_tsx11.a libwine_tsx11.so libwine_tsx11.so.$(SOVERSION)
57 clean::
58 $(RM) libwine_tsx11.so.$(SOVERSION)
60 ### Dependencies: