2000-06-09 07:27:21 +02:00
|
|
|
DEFS = @DLLFLAGS@ -D__WINE__
|
|
|
|
TOPSRCDIR = @top_srcdir@
|
|
|
|
TOPOBJDIR = ..
|
|
|
|
SRCDIR = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
2000-07-25 23:01:59 +02:00
|
|
|
LIBEXT = @LIBEXT@
|
|
|
|
MODULE = none
|
|
|
|
SOVERSION = 1.0
|
|
|
|
SONAME = libwine_unicode.so
|
2000-06-09 07:27:21 +02:00
|
|
|
|
|
|
|
CODEPAGES = \
|
|
|
|
037 \
|
2000-06-11 01:12:44 +02:00
|
|
|
042 \
|
2000-06-09 07:27:21 +02:00
|
|
|
424 \
|
|
|
|
437 \
|
|
|
|
500 \
|
|
|
|
737 \
|
|
|
|
775 \
|
|
|
|
850 \
|
|
|
|
852 \
|
|
|
|
855 \
|
|
|
|
856 \
|
|
|
|
857 \
|
|
|
|
860 \
|
|
|
|
861 \
|
|
|
|
862 \
|
|
|
|
863 \
|
|
|
|
864 \
|
|
|
|
865 \
|
|
|
|
866 \
|
|
|
|
869 \
|
|
|
|
874 \
|
|
|
|
875 \
|
|
|
|
878 \
|
|
|
|
932 \
|
|
|
|
936 \
|
|
|
|
949 \
|
|
|
|
950 \
|
|
|
|
1006 \
|
|
|
|
1026 \
|
|
|
|
1250 \
|
|
|
|
1251 \
|
|
|
|
1252 \
|
|
|
|
1253 \
|
|
|
|
1254 \
|
|
|
|
1255 \
|
|
|
|
1256 \
|
|
|
|
1257 \
|
|
|
|
1258 \
|
|
|
|
10000 \
|
|
|
|
10006 \
|
|
|
|
10007 \
|
|
|
|
10029 \
|
|
|
|
10079 \
|
|
|
|
10081 \
|
|
|
|
20866 \
|
|
|
|
28591 \
|
|
|
|
28592 \
|
|
|
|
28593 \
|
|
|
|
28594 \
|
|
|
|
28595 \
|
|
|
|
28596 \
|
|
|
|
28597 \
|
|
|
|
28598 \
|
2000-11-11 01:34:32 +01:00
|
|
|
28599 \
|
|
|
|
28600 \
|
|
|
|
28603 \
|
|
|
|
28604 \
|
2002-04-23 21:41:44 +02:00
|
|
|
28605 \
|
|
|
|
28606
|
2000-06-09 07:27:21 +02:00
|
|
|
|
|
|
|
C_SRCS = \
|
2000-06-12 03:16:11 +02:00
|
|
|
casemap.c \
|
2000-12-29 04:56:06 +01:00
|
|
|
compose.c \
|
2000-06-09 07:27:21 +02:00
|
|
|
cptable.c \
|
|
|
|
mbtowc.c \
|
2000-06-13 03:08:29 +02:00
|
|
|
string.c \
|
2000-08-11 02:44:33 +02:00
|
|
|
utf8.c \
|
2000-06-09 07:27:21 +02:00
|
|
|
wctomb.c \
|
2000-08-11 22:53:40 +02:00
|
|
|
wctype.c \
|
2000-06-09 07:27:21 +02:00
|
|
|
$(CODEPAGES:%=c_%.c)
|
|
|
|
|
2000-07-25 23:01:59 +02:00
|
|
|
all: libwine_unicode.$(LIBEXT)
|
2000-06-09 07:27:21 +02:00
|
|
|
|
|
|
|
@MAKE_RULES@
|
|
|
|
|
2000-07-25 23:01:59 +02:00
|
|
|
libwine_unicode.so.$(SOVERSION): $(OBJS)
|
|
|
|
$(LDSHARED) $(OBJS) -o $@
|
|
|
|
|
|
|
|
libwine_unicode.so: libwine_unicode.so.$(SOVERSION)
|
|
|
|
$(RM) $@ && $(LN_S) libwine_unicode.so.$(SOVERSION) $@
|
|
|
|
|
|
|
|
libwine_unicode.a: $(OBJS)
|
|
|
|
$(RM) $@
|
|
|
|
$(AR) $@ $(OBJS)
|
|
|
|
$(RANLIB) $@
|
|
|
|
|
2000-12-22 23:28:00 +01:00
|
|
|
# --export-all don't work correctly because of dllwrap's bug
|
|
|
|
libwine_unicode.dll: $(OBJS) wine_unicode.def
|
|
|
|
$(DLLWRAP) $(DLLWRAPFLAGS) --def wine_unicode.def --implib libwine_unicode.a -o libwine_unicode.dll $(OBJS)
|
|
|
|
|
2000-07-25 23:01:59 +02:00
|
|
|
install_so: libwine_unicode.so.$(SOVERSION)
|
|
|
|
[ -d $(libdir) ] || $(MKDIR) $(libdir)
|
|
|
|
$(INSTALL_PROGRAM) libwine_unicode.so.$(SOVERSION) $(libdir)/libwine_unicode.so.$(SOVERSION)
|
|
|
|
cd $(libdir) && $(RM) libwine_unicode.so && $(LN_S) libwine_unicode.so.$(SOVERSION) libwine_unicode.so
|
|
|
|
|
|
|
|
install_a: libwine_unicode.a
|
|
|
|
[ -d $(libdir) ] || $(MKDIR) $(libdir)
|
|
|
|
$(INSTALL_DATA) libwine_unicode.a $(libdir)/libwine_unicode.a
|
|
|
|
|
|
|
|
install:: all $(LIBEXT:%=install_%)
|
|
|
|
|
|
|
|
uninstall::
|
|
|
|
cd $(libdir) && $(RM) libwine_unicode.a libwine_unicode.so libwine_unicode.so.$(SOVERSION)
|
|
|
|
|
|
|
|
clean::
|
|
|
|
$(RM) libwine_unicode.so.$(SOVERSION)
|
|
|
|
|
2000-06-09 07:27:21 +02:00
|
|
|
### Dependencies:
|