- Do not modify pointers in the OPENFILENAME structure passed to
[wine/multimedia.git] / tsx11 / Makefile.in
blob511b37ee4b07e3fcab296259b082b86ebc93815c
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
24 all: libwine_tsx11.$(LIBEXT)
26 @MAKE_RULES@
28 libwine_tsx11.so.$(SOVERSION): $(OBJS)
29 $(LDSHARED) $(OBJS) -o $@ $(EXTRALIBS)
31 libwine_tsx11.so: libwine_tsx11.so.$(SOVERSION)
32 $(RM) $@ && $(LN_S) libwine_tsx11.so.$(SOVERSION) $@
34 libwine_tsx11.a: $(OBJS)
35 $(RM) $@
36 $(AR) $@ $(OBJS)
37 $(RANLIB) $@
39 libwine_tsx11.dll: $(OBJS)
40 $(DLLWRAP) $(DLLWRAPFLAGS) --export-all --implib libwine_tsx11.a -o libwine_tsx11.dll $(OBJS) $(EXTRALIBS)
42 .PHONY: install_so install_a
44 install_so: libwine_tsx11.so.$(SOVERSION) dummy
45 $(MKINSTALLDIRS) $(libdir)
46 $(INSTALL_PROGRAM) libwine_tsx11.so.$(SOVERSION) $(libdir)/libwine_tsx11.so.$(SOVERSION)
47 cd $(libdir) && $(RM) libwine_tsx11.so && $(LN_S) libwine_tsx11.so.$(SOVERSION) libwine_tsx11.so
49 install_a: libwine_tsx11.a dummy
50 $(MKINSTALLDIRS) $(libdir)
51 $(INSTALL_DATA) libwine_tsx11.a $(libdir)/libwine_tsx11.a
53 install:: $(LIBEXT:%=install_%)
55 uninstall::
56 $(RM) $(libdir)/libwine_tsx11.a $(libdir)/libwine_tsx11.so $(libdir)/libwine_tsx11.so.$(SOVERSION)
58 clean::
59 $(RM) libwine_tsx11.so.$(SOVERSION)
61 ### Dependencies: