# Locations relative to the location of expander package

EXP = expander/
DEF = $(EXP)defs/
SRC = $(EXP)src/

executables:
	cd src; $(MAKE) 

uninstall:
	cd src; $(MAKE) clean

# Things needed to build Nedit/expander kit.

TEMPLATES   = $(EXP)templates/*.tpl
DEFINITIONS = $(DEF)*.def $(DEF)definitions
DOCS        = $(EXP)docs/*.doc $(EXP)docs/*.pod $(EXP)docs/Makefile \
              $(EXP)docs/build $(EXP)docs/*.1
SRCS        = $(SRC)Makefile $(SRC)*.c
MISC        = $(EXP)Makefile $(EXP)README $(EXP)service $(EXP)misc/* \
              $(EXP)USAGE $(EXP)INSTALL $(EXP)exp_environ.sh $(EXP)build \
              $(EXP)clean $(EXP)ChangeLog $(EXP)buildKit
NMACRO      = $(EXP)macros/*.nm
FILES       = $(SRCS) $(DEFINITIONS) $(TEMPLATES) $(NMACRO) $(MISC) $(DOCS)
KIT         = nedit_expander_kit

kit:
	#
	# Making NEdit expander kit, archive, compress, encode for mail...
	#
	@ buildKit $(MAKE) $(KIT) $(EXP) $(FILES)
	
