
MODULE_TOPDIR = ../..

PGM = g.mapsets
GUI = $(GISBASE)/etc/g.mapsets.tcl

LIBES     = $(GISLIB) $(VASKLIB) $(CURSES)
DEPENDENCIES= $(GISDEP) $(VASKDEP)

CMD_OBJS = \
	main_cmd.o \
	dsply_path.o \
	dsply_maps.o \
	get_maps.o

include $(MODULE_TOPDIR)/include/Make/Module.make

default: cmd $(GUI)

$(GUI): g.mapsets.tcl
	if [ ! -d $(GISBASE)/etc ]; then $(MKDIR) $(GISBASE)/etc; fi
	$(INSTALL) -m 755 g.mapsets.tcl $(GUI)
