# Makefile for the composition 'package' to add to gap4. LIBS = composition PROGS= $(LIBS) SRCROOT=$(STADENROOT)/src include $(SRCROOT)/mk/global.mk include $(SRCROOT)/mk/$(MACHINE).mk INSTALLDIR = ./install INCLUDES_E += $(TCL_INC) $(TKUTILS_INC) $(GAP4_INC) $(G_INC) CFLAGS += $(SHLIB_CFLAGS) TESTBIN = $(O) L = $(INSTALLDIR)/$(O) # Objects OBJS = \ $(TESTBIN)/composition.o DEPS = \ $(G_DEP) \ $(TKUTILS_DEP) \ $(TCL_DEP) # # Main dependency # $(LIBS) : $(L)/$(SHLIB_PREFIX)$(LIBS)$(SHLIB_SUFFIX) @ $(L)/$(SHLIB_PREFIX)$(LIBS)$(SHLIB_SUFFIX): $(OBJS) -mkdir $(INSTALLDIR) -mkdir $(INSTALLDIR)/$(O) $(SHLIB_LD) $(SHLIB_LDFLAGS) $@ $(OBJS) $(DEPS) DEPEND_OBJ = $(OBJS) install: $(LIBS) cp tclIndex composition.tcl compositionrc composition.topic \ composition.index composition.html $(INSTALLDIR) include dependencies