1*7f2fe78bSCy Schubertmydir=lib$(S)krb5$(S)unicode 2*7f2fe78bSCy SchubertBUILDTOP=$(REL)..$(S)..$(S).. 3*7f2fe78bSCy Schubert 4*7f2fe78bSCy Schubert##DOS##BUILDTOP = ..\..\.. 5*7f2fe78bSCy Schubert##DOS##PREFIXDIR=unicode 6*7f2fe78bSCy Schubert##DOS##OBJFILE=..\$(OUTPRE)$(PREFIXDIR).lst 7*7f2fe78bSCy Schubert 8*7f2fe78bSCy SchubertXXDIR = $(srcdir)/ucdata/ 9*7f2fe78bSCy SchubertXXHEADERS = ucdata.h uctable.h 10*7f2fe78bSCy SchubertXXSRCS = ucdata.c ucgendat.c 11*7f2fe78bSCy Schubert 12*7f2fe78bSCy SchubertSTLIBOBJS= \ 13*7f2fe78bSCy Schubert ucdata.o \ 14*7f2fe78bSCy Schubert ucstr.o 15*7f2fe78bSCy Schubert 16*7f2fe78bSCy SchubertOBJS= \ 17*7f2fe78bSCy Schubert $(OUTPRE)ucdata.$(OBJEXT) \ 18*7f2fe78bSCy Schubert $(OUTPRE)ucstr.$(OBJEXT) 19*7f2fe78bSCy Schubert 20*7f2fe78bSCy SchubertSRCS= \ 21*7f2fe78bSCy Schubert $(srcdir)/ucstr.c 22*7f2fe78bSCy Schubert 23*7f2fe78bSCy SchubertEXTRADEPSRCS = 24*7f2fe78bSCy Schubert 25*7f2fe78bSCy Schubert##DOS##LIBOBJS = $(OBJS) 26*7f2fe78bSCy Schubert 27*7f2fe78bSCy Schubertall-unix: all-libobjs 28*7f2fe78bSCy Schubertclean-unix:: clean-libobjs 29*7f2fe78bSCy Schubert 30*7f2fe78bSCy Schubertshared: 31*7f2fe78bSCy Schubert mkdir shared 32*7f2fe78bSCy Schubert 33*7f2fe78bSCy Schubertuctable.h: $(XXDIR)/uctable.h 34*7f2fe78bSCy Schubert 35*7f2fe78bSCy Schubert$(XXDIR)/uctable.h: $(XXDIR)/ucgendat.c $(srcdir)/UnicodeData.txt $(srcdir)/CompositionExclusions.txt 36*7f2fe78bSCy Schubert $(MAKE) ucgendat 37*7f2fe78bSCy Schubert ./ucgendat $(srcdir)/UnicodeData.txt -x $(srcdir)/CompositionExclusions.txt 38*7f2fe78bSCy Schubert 39*7f2fe78bSCy Schubertucgendat: ucgendat.o 40*7f2fe78bSCy Schubert $(CC_LINK) $(ALL_CFLAGS) -o ucgendat ucgendat.o $(LIBS) 41*7f2fe78bSCy Schubert 42*7f2fe78bSCy Schubert##DOS##!if 0 43*7f2fe78bSCy Schubert.links : 44*7f2fe78bSCy Schubert @for i in $(XXSRCS) $(XXHEADERS); do \ 45*7f2fe78bSCy Schubert $(RM) $$i ; \ 46*7f2fe78bSCy Schubert ii=`find $(srcdir) -name $$i` ; \ 47*7f2fe78bSCy Schubert $(LN_S) $$ii . ; \ 48*7f2fe78bSCy Schubert done 49*7f2fe78bSCy Schubert touch .links 50*7f2fe78bSCy Schubert##DOS##!endif 51*7f2fe78bSCy Schubert##DOS##.links: 52*7f2fe78bSCy Schubert##DOS## $(CP) $(srcdir)\ucdata\ucdata.h ucdata.h 53*7f2fe78bSCy Schubert##DOS## $(CP) $(srcdir)\ucdata\ucdata.c ucdata.c 54*7f2fe78bSCy Schubert##DOS## $(CP) $(srcdir)\ucdata\ucgendat.c ucgendat.c 55*7f2fe78bSCy Schubert##DOS## $(CP) $(srcdir)\ucdata\uctable.h uctable.h 56*7f2fe78bSCy Schubert##DOS## $(CP) nul .links 57*7f2fe78bSCy Schubert 58*7f2fe78bSCy Schubert$(XXSRCS) $(XXHEADERS) : .links 59*7f2fe78bSCy Schubert 60*7f2fe78bSCy Schubertclean: 61*7f2fe78bSCy Schubert $(RM) *.dat .links $(XXHEADERS) $(XXSRCS) ucgendat 62*7f2fe78bSCy Schubert 63*7f2fe78bSCy Schubertdepend: .links 64*7f2fe78bSCy Schubert 65*7f2fe78bSCy Schubert@libobj_frag@ 66