Implemented Rtl*ByteSwap() functions, based on a patch by Jon
[wine/multimedia.git] / unicode / Makefile.in
blobdd85d6e53b499f56146fd88daa25d020407b16e6
1 DEFS = @DLLFLAGS@ -D__WINESRC__
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_unicode.so
11 CODEPAGES = \
12 037 \
13 042 \
14 424 \
15 437 \
16 500 \
17 737 \
18 775 \
19 850 \
20 852 \
21 855 \
22 856 \
23 857 \
24 860 \
25 861 \
26 862 \
27 863 \
28 864 \
29 865 \
30 866 \
31 869 \
32 874 \
33 875 \
34 878 \
35 932 \
36 936 \
37 949 \
38 950 \
39 1006 \
40 1026 \
41 1250 \
42 1251 \
43 1252 \
44 1253 \
45 1254 \
46 1255 \
47 1256 \
48 1257 \
49 1258 \
50 10000 \
51 10006 \
52 10007 \
53 10029 \
54 10079 \
55 10081 \
56 20866 \
57 20932 \
58 28591 \
59 28592 \
60 28593 \
61 28594 \
62 28595 \
63 28596 \
64 28597 \
65 28598 \
66 28599 \
67 28600 \
68 28603 \
69 28604 \
70 28605 \
71 28606
73 C_SRCS = \
74 casemap.c \
75 compose.c \
76 cptable.c \
77 mbtowc.c \
78 string.c \
79 utf8.c \
80 wctomb.c \
81 wctype.c \
82 $(CODEPAGES:%=c_%.c)
84 all: libwine_unicode.$(LIBEXT)
86 @MAKE_RULES@
88 libwine_unicode.so.$(SOVERSION): $(OBJS)
89 $(LDSHARED) $(OBJS) -o $@
91 libwine_unicode.so: libwine_unicode.so.$(SOVERSION)
92 $(RM) $@ && $(LN_S) libwine_unicode.so.$(SOVERSION) $@
94 libwine_unicode.a: $(OBJS)
95 $(RM) $@
96 $(AR) $@ $(OBJS)
97 $(RANLIB) $@
99 # --export-all doesn't work correctly because of dllwrap's bug
100 libwine_unicode.dll: $(OBJS) wine_unicode.def
101 $(DLLWRAP) --def $(SRCDIR)/wine_unicode.def --implib libwine_unicode.a -o libwine_unicode.dll $(OBJS)
103 .PHONY: install_so install_a install_dll
105 install_so: libwine_unicode.so.$(SOVERSION) dummy
106 $(MKINSTALLDIRS) $(libdir)
107 $(INSTALL_PROGRAM) libwine_unicode.so.$(SOVERSION) $(libdir)/libwine_unicode.so.$(SOVERSION)
108 cd $(libdir) && $(RM) libwine_unicode.so && $(LN_S) libwine_unicode.so.$(SOVERSION) libwine_unicode.so
110 install_a: libwine_unicode.a dummy
111 $(MKINSTALLDIRS) $(libdir)
112 $(INSTALL_DATA) libwine_unicode.a $(libdir)/libwine_unicode.a
114 install_dll: libwine_unicode.dll dummy
115 $(MKINSTALLDIRS) $(libdir)
116 $(INSTALL_DATA) libwine_unicode.dll $(libdir)/libwine_unicode.dll
118 install:: $(LIBEXT:%=install_%)
120 uninstall::
121 $(RM) $(libdir)/libwine_unicode.a $(libdir)/libwine_unicode.dll $(libdir)/libwine_unicode.so $(libdir)/libwine_unicode.so.$(SOVERSION)
123 clean::
124 $(RM) libwine_unicode.so.$(SOVERSION)
126 ### Dependencies: