#############################################################################
# Copyright (c) 2002-2003 Pelle Johansson. #
# All rights reserved. #
# #
# This file is part of the moftpd package. Use and distribution of #
# this software is governed by the terms in the file LICENCE, which #
# should have come with this package. #
#############################################################################
# $moftpd: Makefile.in 1249 2004-12-09 15:14:38Z morth $
library =libutf8fs.a
OBJS =file.o utf8.o table.o memory.o
INCS =file.h utf8.h table.h memory.h
# End of configuration part.
# End of configuration part.
# Variables from configure.
DEFS =@DEFS@
CC =@CC@
CFLAGS =@CFLAGS@
RANLIB =@RANLIB@
native_charset =@native_charset@
srcdir =@srcdir@
# End variables from configure
SRCS =$(OBJS:o=c)
CFLAGS += -I.. -I. -I$(srcdir)/..
topobjdir =..
all: Makefile $(library)
clean:
-rm -rf $(library) $(OBJS) *Table.h
distclean: clean
-rm -rf *core Makefile .depend
$(library): $(OBJS)
$(AR) rc $(library) $(OBJS)
$(RANLIB) $(library)
$(OBJS): ../system.h ../autoconf.h ../autopaths.h
$(CC) $(CFLAGS) $(DEFS) -c $(srcdir)/$(@:o=c)
Makefile:: $(srcdir)/Makefile.in ../config.status
(cd .. ; ./config.status utf8fs/Makefile)
@$(MAKE) $${MAKEFLAGS} ${.TARGETS}
depend: $(SRCS) $(INCS)
mkdep $(CFLAGS) $(DEFS) $(SRCS)
for i in $(OBJS:.o=); do \
echo $${i}.o: $(srcdir)/$${i}.c >> .depend; \
done
nfdTable.h: $(srcdir)/nfdTable $(srcdir)/make_table.pl
$(srcdir)/make_table.pl nfdForward nfdReverse $(srcdir)/nfdTable > $@
nfcTable.h: $(srcdir)/nfcTable $(srcdir)/make_table.pl
$(srcdir)/make_table.pl nfcForward none $(srcdir)/nfcTable > $@
charsetTable.h: $(srcdir)/charsets/${native_charset}
@if test "${native_charset}" != "none"; then \
echo ./make_table.pl charsetForward charsetReverse $(srcdir)/charsets/${native_charset} ">" charsetTable.h; \
$(srcdir)/make_table.pl charsetForward charsetReverse $(srcdir)/charsets/${native_charset} > charsetTable.h; \
else \
echo "/* Autogenerated file, purposedly empty." > charsetTable.h; \
fi
utf8.o: nfcTable.h nfdTable.h charsetTable.h
.PATH: $(srcdir)
include .depend
syntax highlighted by Code2HTML, v. 0.9.1