CCE_SHARE_DIR = $(datadir) cin2tab_bindir = $(CCE_SHARE_DIR)/cce cin2tab_bin_PROGRAMS = cin2tab cin2tab_SOURCES = cin2tab.c parse_cin.c table_cin.c pinyin_cin.c zhuyin_cin.c \ convert.c pyzyutil.c pyzymap.c #EXTRA_cin2tab_SOURCES = osdep_mmap.c INCLUDES = -I$(top_srcdir)/include cin2tab_LDADD = ../../src/osdep/libosdep.a AM_INSTALL_PROGRAM_FLAGS = -s # force it to strip cin2tab, doesn't work on FreeBSD 5.x? CCECONVTAB = cceconv.tab GENCCECONV = gencceconv cceconvtab_bindir = $(CCE_SHARE_DIR)/cce cceconvtab_bin_DATA = $(CCECONVTAB) allcin: all allclean: -rm -f $(CCECONVTAB) $(GENCCECONV) *.o core.* core cin2tab allinstall: install #$(CCECONVTAB): # @if [ ! -x ./$(GENCCECONV) ]; then \ # $(COMPILE) -DGENERATE_CONV_TABLE -o ./$(GENCCECONV) gencceconv.c ; fi # ./$(GENCCECONV) $(CCECONVTAB) $(GENCCECONV): gencceconv.c $(COMPILE) -DGENERATE_CONV_TABLE -o $@ $< CLEANFILES = $(GENCCECONV) EXTRA_DIST = $(CCECONVTAB) cin2tab.h