CGG build with hunspell
This commit is contained in:
parent
8ea862474e
commit
25a6aac799
30
Makefile
30
Makefile
@ -13,28 +13,28 @@ endif
|
||||
EXECUTABLES=golded3 goldnode rddt
|
||||
|
||||
all: sourcelists
|
||||
@$(SHELL) -ec 'for i in $(foreach dir,$(LIBS),goldlib/$(dir)); do cd $$i; $(MAKE) all; cd ../..; done'
|
||||
@$(SHELL) -ec 'for i in $(EXECUTABLES); do cd $$i; $(MAKE) all; cd ..; done'
|
||||
@echo 'To build HTML man pages run "make docs".'
|
||||
@echo 'To reduce binaries size (remove debug information) run "make strip".'
|
||||
@$(SHELL) -ec 'for i in $(foreach dir,$(LIBS),goldlib/$(dir)); do cd $$i; $(MAKE) all; cd ../..; done'
|
||||
@$(SHELL) -ec 'for i in $(EXECUTABLES); do cd $$i; $(MAKE) all; cd ..; done'
|
||||
@echo 'To build HTML man pages run "make docs".'
|
||||
@echo 'To reduce binaries size (remove debug information) run "make strip".'
|
||||
|
||||
clean:
|
||||
@$(SHELL) -ec 'for i in $(foreach dir,$(LIBS),goldlib/$(dir)); do cd $$i; $(MAKE) clean; cd ../..; done'
|
||||
@$(SHELL) -ec 'for i in $(EXECUTABLES); do cd $$i; $(MAKE) clean; cd ..; done'
|
||||
@-rm -f $(OBJPATH)/$(PLATFORM)/source.lst
|
||||
@$(SHELL) -ec 'for i in $(foreach dir,$(LIBS),goldlib/$(dir)); do cd $$i; $(MAKE) clean; cd ../..; done'
|
||||
@$(SHELL) -ec 'for i in $(EXECUTABLES); do cd $$i; $(MAKE) clean; cd ..; done'
|
||||
@-rm -f $(OBJPATH)/$(PLATFORM)/source.lst
|
||||
|
||||
dirs:
|
||||
@mkdir -p $(BIN) $(LIBPATH)/$(PLATFORM)
|
||||
@mkdir -p $(foreach dir,$(LIBS),$(OBJPATH)/$(PLATFORM)/$(dir))
|
||||
@mkdir -p $(foreach dir,$(EXECUTABLES),$(OBJPATH)/$(PLATFORM)/$(dir))
|
||||
@mkdir -p $(BIN) $(LIBPATH)/$(PLATFORM)
|
||||
@mkdir -p $(foreach dir,$(LIBS),$(OBJPATH)/$(PLATFORM)/$(dir))
|
||||
@mkdir -p $(foreach dir,$(EXECUTABLES),$(OBJPATH)/$(PLATFORM)/$(dir))
|
||||
|
||||
sourcelists: dirs
|
||||
@$(SHELL) -ec 'for i in $(foreach dir,$(LIBS),goldlib/$(dir)); do cd $$i; $(MAKE) sourcelist; cd ../..; done'
|
||||
@$(SHELL) -ec 'for i in $(EXECUTABLES); do cd $$i; $(MAKE) sourcelist; cd ..; done'
|
||||
@echo -n >$(OBJPATH)/$(PLATFORM)/source.lst
|
||||
@$(SHELL) -ec 'for i in $(foreach dir,$(LIBS),goldlib/$(dir)); do cd $$i; $(MAKE) sourcelist; cd ../..; done'
|
||||
@$(SHELL) -ec 'for i in $(EXECUTABLES); do cd $$i; $(MAKE) sourcelist; cd ..; done'
|
||||
@echo -n >$(OBJPATH)/$(PLATFORM)/source.lst
|
||||
|
||||
docs:
|
||||
@cd $@ ; $(MAKE) all ; cd ..
|
||||
@cd $@ ; $(MAKE) all ; cd ..
|
||||
|
||||
strip:
|
||||
cd $(BIN)/ ; strip *$(PLATFORM)$(EXEEXT)
|
||||
cd $(BIN)/ ; strip *$(PLATFORM)$(EXEEXT)
|
||||
|
@ -15,7 +15,7 @@ SHORTTARGET=ged
|
||||
TARGET=golded3
|
||||
GLIBS=gmb3 gall gcfg uulib smblib msgidlib
|
||||
ifneq ($(findstring GCFG_NO_MYSPELL, $(CPPFLAGS)), GCFG_NO_MYSPELL)
|
||||
GLIBS+=myspell
|
||||
GLIBS+=hunspell
|
||||
endif
|
||||
INCS=-I. -I$(TOP)/goldlib/gall -I$(TOP)/goldlib/gcfg -I$(TOP)/goldlib/gmb3 -I$(TOP)/goldlib/uulib -I$(TOP)/goldlib/smblib -I$(TOP)/goldlib/msgidlib
|
||||
|
||||
|
@ -21,7 +21,7 @@ endif
|
||||
|
||||
include $(TOP)/Config.def
|
||||
ifneq ($(findstring GCFG_NO_MYSPELL, $(CPPFLAGS)), GCFG_NO_MYSPELL)
|
||||
INCS+=-I$(TOP)/goldlib/myspell
|
||||
INCS+=-I$(TOP)/goldlib/hunspell
|
||||
endif
|
||||
|
||||
include $(TOP)/GNUmakef.inc
|
||||
|
9
goldlib/hunspell/Makefile
Normal file
9
goldlib/hunspell/Makefile
Normal file
@ -0,0 +1,9 @@
|
||||
# -*- makefile -*-
|
||||
|
||||
TOP=../..
|
||||
TARGET=hunspell
|
||||
INCS=-I$(TOP)/goldlib/hunspell -I$(TOP)/goldlib/gall
|
||||
CFLAGS=
|
||||
|
||||
include $(TOP)/GNUmakef.inc
|
||||
include $(TOP)/GNUmakef.lib
|
Reference in New Issue
Block a user