rules revision d644340a8bc5888a2f46c29d73dbb3f2d160f464
45e9809aff7304721fddb95654901b32195c9c7avboxsync# Author: Klaus L�ttich
45e9809aff7304721fddb95654901b32195c9c7avboxsync# Year: 2003
45e9809aff7304721fddb95654901b32195c9c7avboxsync# This Makefile will compile the new hetcats system and provides also
45e9809aff7304721fddb95654901b32195c9c7avboxsync# targets for test programs during implementation phases.
45e9809aff7304721fddb95654901b32195c9c7avboxsync# !!! Note: This makefile is written for GNU make !!!
45e9809aff7304721fddb95654901b32195c9c7avboxsync# (gmake on solaris ; make on linux)
45e9809aff7304721fddb95654901b32195c9c7avboxsync####################################################################
45e9809aff7304721fddb95654901b32195c9c7avboxsync## Some varibles, which control the compilation
45e9809aff7304721fddb95654901b32195c9c7avboxsyncINCLUDE_PATH = ghc:hetcats
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCOMMONLIB_PATH = Common/Lib:Common/Lib/Parsec:Common/ATerm
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCLEAN_PATH = Common:Logic:CASL:Syntax:Static:GUI:HasCASL:Haskell:Haskell/Language:Modal:CspCASL:ATC:ToHaskell:Proofs:Comorphisms:$(INCLUDE_PATH)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncDRIFT_ENV = DERIVEPATH='.:ghc:hetcats:/home/linux-bkb/ghc/ghc-latest/lib/ghc-6.0.1/imports'
45e9809aff7304721fddb95654901b32195c9c7avboxsyncHAPPY = happy
45e9809aff7304721fddb95654901b32195c9c7avboxsyncDRIFT = $(DRIFT_ENV) $(PERL) utils/DrIFT
45e9809aff7304721fddb95654901b32195c9c7avboxsyncHADDOCK = $(PERL) utils/haddock
45e9809aff7304721fddb95654901b32195c9c7avboxsyncHC_FLAGS = -fglasgow-exts -fallow-overlapping-instances -Wall
45e9809aff7304721fddb95654901b32195c9c7avboxsyncHC_INCLUDE = -i$(INCLUDE_PATH)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncHC_PACKAGE = -package-conf ../uni/uni-package.conf -package uni-davinci -package uni-server
45e9809aff7304721fddb95654901b32195c9c7avboxsyncAG_FLAGS = -mdcfs
45e9809aff7304721fddb95654901b32195c9c7avboxsync### Profiling and Warnings (only for debugging)
45e9809aff7304721fddb95654901b32195c9c7avboxsync### Attention every module must be compiled with profiling or the linker
45e9809aff7304721fddb95654901b32195c9c7avboxsync### cannot link the various .o files properly. So after switching on
45e9809aff7304721fddb95654901b32195c9c7avboxsync### Profiling, do an 'gmake clean; gmake'
45e9809aff7304721fddb95654901b32195c9c7avboxsync### If you need Profiling comment out the following line
45e9809aff7304721fddb95654901b32195c9c7avboxsync#HC_PROF = -prof -auto-all -Wall
45e9809aff7304721fddb95654901b32195c9c7avboxsyncHCI_OPTS = $(HC_FLAGS) $(HC_PACKAGE) $(HC_INCLUDE)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncHC_OPTS = $(HCI_OPTS) $(HC_PROF)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncDRIFT_OPTS = +RTS -K10 -RTS
45e9809aff7304721fddb95654901b32195c9c7avboxsync### list of directories to run checks in
45e9809aff7304721fddb95654901b32195c9c7avboxsyncTESTDIRS = CASL HasCASL test
45e9809aff7304721fddb95654901b32195c9c7avboxsync####################################################################
45e9809aff7304721fddb95654901b32195c9c7avboxsync## sources for hetcats (semi - manually produced with a perl script)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncifneq ($(MAKECMDGOALS),clean)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncifneq ($(MAKECMDGOALS),bin_clean)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncifneq ($(MAKECMDGOALS),d_clean)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncifneq ($(MAKECMDGOALS),real_clean)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncifneq ($(MAKECMDGOALS),distclean)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncifneq ($(MAKECMDGOALS),genRules)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncifneq ($(MAKECMDGOALS),apache_doc)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncifneq ($(MAKECMDGOALS),clean_genRules)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncobjects = $(patsubst %.lhs,%.o,$(sources:%.hs=%.o))
45e9809aff7304721fddb95654901b32195c9c7avboxsyncdrifted_files = Syntax/AS_Architecture.hs Syntax/AS_Library.hs\
45e9809aff7304721fddb95654901b32195c9c7avboxsync Common/AS_Annotation.hs CASL/AS_Basic_CASL.hs Syntax/AS_Structured.hs \
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(gendrifted_files)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncgenrule_files = Common/Lib/Graph.hs Common/Id.hs Common/Result.hs Common/AS_Annotation.der.hs Common/Named.hs \
45e9809aff7304721fddb95654901b32195c9c7avboxsync Syntax/AS_Structured.der.hs Syntax/AS_Architecture.der.hs Common/GlobalAnnotations.hs Syntax/AS_Library.der.hs \
45e9809aff7304721fddb95654901b32195c9c7avboxsync CASL/Morphism.hs CASL/StaticAna.hs CASL/AS_Basic_CASL.der.hs \
45e9809aff7304721fddb95654901b32195c9c7avboxsync HasCASL/Le.hs HasCASL/As.hs HasCASL/Symbol.hs HasCASL/Morphism.hs \
45e9809aff7304721fddb95654901b32195c9c7avboxsync# Haskell/Hatchet/AnnotatedHsSyn.hs Haskell/Hatchet/MultiModuleBasics.hs \
45e9809aff7304721fddb95654901b32195c9c7avboxsync# Haskell/Hatchet/Class.hs Haskell/Hatchet/KindInference.hs \
45e9809aff7304721fddb95654901b32195c9c7avboxsyncgendrifted_files = ATC/Graph.hs ATC/Id.hs ATC/Result.hs ATC/AS_Annotation.hs ATC/Named.hs \
45e9809aff7304721fddb95654901b32195c9c7avboxsync ATC/AS_Structured.hs ATC/AS_Architecture.hs ATC/DevGraph.hs \
45e9809aff7304721fddb95654901b32195c9c7avboxsync CASL/ATC_CASL.hs Haskell/ATC_Haskell.hs HasCASL/ATC_HasCASL.hs CspCASL/ATC_CspCASL.hs
45e9809aff7304721fddb95654901b32195c9c7avboxsyncgenerated_rule_files = $(patsubst %.hs,%.der.hs,$(gendrifted_files))
45e9809aff7304721fddb95654901b32195c9c7avboxsync# this variable holds the modules that should be documented
45e9809aff7304721fddb95654901b32195c9c7avboxsync# the imported parsec library is not included!
45e9809aff7304721fddb95654901b32195c9c7avboxsyncdoc_sources = $(filter-out Nothing/Nothing% ,$(sources))
45e9809aff7304721fddb95654901b32195c9c7avboxsync####################################################################
45e9809aff7304721fddb95654901b32195c9c7avboxsync.PHONY : clean d_clean real_clean bin_clean check hetana hetpa hetdg clean_genRules genRules
45e9809aff7304721fddb95654901b32195c9c7avboxsync.SECONDARY : %.hs %.d $(generated_rule_files)
45e9809aff7304721fddb95654901b32195c9c7avboxsynchets: $(sources)
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(HC) --make -o $@ hets.hs $(HC_OPTS)
45e9809aff7304721fddb95654901b32195c9c7avboxsynchets-old: $(objects)
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(HC) -o hets $(HC_OPTS) $(objects)
45e9809aff7304721fddb95654901b32195c9c7avboxsynchetcats-make: hets.hs utils/create_sources.pl $(drifted_files) $(happy_files)
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(RM) hetcats-make sources_hetcats.mk
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(HC) --make -o hets $< $(HC_OPTS) 2>&1 | tee hetcats-make
45e9809aff7304721fddb95654901b32195c9c7avboxsync###############################
45e9809aff7304721fddb95654901b32195c9c7avboxsync### TAGS files for (x)emacs
45e9809aff7304721fddb95654901b32195c9c7avboxsync# load them with "M-x" "visit-tags-table" from
45e9809aff7304721fddb95654901b32195c9c7avboxsync# use "M-." to search for a tag
45e9809aff7304721fddb95654901b32195c9c7avboxsync# !!Beware this is somewhat instable, because it uses an absolute path!!
45e9809aff7304721fddb95654901b32195c9c7avboxsync /home/ger/linux/ghc-5.04.2/bin/i386-unknown-linux/hasktags \
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(sources); mv TAGS $@; mv tags hetcats.tags
45e9809aff7304721fddb95654901b32195c9c7avboxsync###############################
45e9809aff7304721fddb95654901b32195c9c7avboxsync### Documentation via haddock
45e9809aff7304721fddb95654901b32195c9c7avboxsyncdocs/index.html: $(doc_sources)
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(HADDOCK) $(doc_sources) -o docs -h \
45e9809aff7304721fddb95654901b32195c9c7avboxsync -i/home/linux-bkb/ghc/ghc-6.0.1/share/ghc-6.0.1/html/base,/home/linux-bkb/ghc/ghc-6.0.1/share/ghc-6.0.1/html/base/base.haddock \
45e9809aff7304721fddb95654901b32195c9c7avboxsync -t 'hets -- a heterogenous Specification (CASL) tool set'
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(MAKE) distclean
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(MAKE) hetcats-make
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(RM) docs/*.html
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(MAKE) doc
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(MAKE) post_doc4apache
45e9809aff7304721fddb95654901b32195c9c7avboxsynca_docs_base:
45e9809aff7304721fddb95654901b32195c9c7avboxsync cp -r /home/linux-bkb/ghc/ghc-6.0.1/share/ghc-6.0.1/html/base a-docs
45e9809aff7304721fddb95654901b32195c9c7avboxsyncpost_doc4apache:
45e9809aff7304721fddb95654901b32195c9c7avboxsync '/home/linux-bkb/ghc/ghc-6.0.1/share/ghc-6.0.1/html/:'
45e9809aff7304721fddb95654901b32195c9c7avboxsync mv docs/* a-docs/
45e9809aff7304721fddb95654901b32195c9c7avboxsync#############################
45e9809aff7304721fddb95654901b32195c9c7avboxsync### ATC DrIFT-rule generation
45e9809aff7304721fddb95654901b32195c9c7avboxsyncgenRules: $(generated_rule_files)
45e9809aff7304721fddb95654901b32195c9c7avboxsync$(generated_rule_files): $(genrule_files)
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(MAKE) clean_genRules
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(foreach file,$(atc_files),$(gen_atc_files))
45e9809aff7304721fddb95654901b32195c9c7avboxsync utils/genRules -r $(rule) -o CASL -h ATC/CASL.header.hs $(casl_files)
45e9809aff7304721fddb95654901b32195c9c7avboxsync utils/genRules -r $(rule) -o HasCASL -h ATC/HasCASL.header.hs $(hascasl_files)
45e9809aff7304721fddb95654901b32195c9c7avboxsync utils/genRules -r $(rule) -o CspCASL -h ATC/CspCASL.header.hs $(cspcasl_files)
45e9809aff7304721fddb95654901b32195c9c7avboxsync utils/genRules -r $(rule) -o Haskell -h ATC/Haskell.header.hs $(haskell_files)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncrule = ShATermConvertible
45e9809aff7304721fddb95654901b32195c9c7avboxsyncgen_atc_files = if [ -f ATC/$(basename $(basename $(notdir $(file)))).header.hs ]; then \
45e9809aff7304721fddb95654901b32195c9c7avboxsync utils/genRules -r $(rule) -o ATC -h ATC/$(basename $(basename $(notdir $(file)))).header.hs $(file); \
45e9809aff7304721fddb95654901b32195c9c7avboxsync utils/genRules -r $(rule) -o ATC $(file); \
45e9809aff7304721fddb95654901b32195c9c7avboxsyncatc_files := $(filter-out CASL/% HasCASL/% CspCASL/% Haskell/% ,$(genrule_files))
45e9809aff7304721fddb95654901b32195c9c7avboxsynccasl_files := $(filter CASL/% ,$(genrule_files))
45e9809aff7304721fddb95654901b32195c9c7avboxsynchascasl_files := $(filter HasCASL/% ,$(genrule_files))
45e9809aff7304721fddb95654901b32195c9c7avboxsynccspcasl_files := $(filter CspCASL/% ,$(genrule_files))
45e9809aff7304721fddb95654901b32195c9c7avboxsynchaskell_files := $(filter Haskell/%,$(genrule_files))
45e9809aff7304721fddb95654901b32195c9c7avboxsyncclean_genRules:
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(RM) $(generated_rule_files)
45e9809aff7304721fddb95654901b32195c9c7avboxsync###############
45e9809aff7304721fddb95654901b32195c9c7avboxsync### clean up
45e9809aff7304721fddb95654901b32195c9c7avboxsync### removes *.hi and *.o in all include directories
45e9809aff7304721fddb95654901b32195c9c7avboxsyncclean: bin_clean
45e9809aff7304721fddb95654901b32195c9c7avboxsync for p in $(subst :, ,$(CLEAN_PATH)) . ; do \
45e9809aff7304721fddb95654901b32195c9c7avboxsync (cd $$p ; $(RM) *.hi *.o) ; done
45e9809aff7304721fddb95654901b32195c9c7avboxsync### remove binaries
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(RM) test_parser
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(RM) hetpa
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(RM) hetana
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(RM) hetdg
45e9809aff7304721fddb95654901b32195c9c7avboxsync### additonally removes *.d (dependency files) in every include directory
45e9809aff7304721fddb95654901b32195c9c7avboxsync### also delete *.d.bak (dependency file backups)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncd_clean: clean
45e9809aff7304721fddb95654901b32195c9c7avboxsync for p in $(subst :, ,$(CLEAN_PATH)) . ; do \
45e9809aff7304721fddb95654901b32195c9c7avboxsync (cd $$p ; $(RM) *.d *.d.bak) ; done
45e9809aff7304721fddb95654901b32195c9c7avboxsync### remove files also in own libraries
45e9809aff7304721fddb95654901b32195c9c7avboxsynclib_clean: clean
45e9809aff7304721fddb95654901b32195c9c7avboxsync for p in $(subst :, ,$(COMMONLIB_PATH)) . ; do \
45e9809aff7304721fddb95654901b32195c9c7avboxsync (cd $$p ; $(RM) *.hi *.d *.o) ; done
45e9809aff7304721fddb95654901b32195c9c7avboxsync### additionally removes the files that define the sources-variable
45e9809aff7304721fddb95654901b32195c9c7avboxsyncreal_clean: bin_clean lib_clean
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(RM) hetcats-make sources_hetcats.mk
45e9809aff7304721fddb95654901b32195c9c7avboxsync### additionally removes files not in CVS tree
45e9809aff7304721fddb95654901b32195c9c7avboxsyncdistclean: real_clean clean_genRules d_clean
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(RM) $(drifted_files)
45e9809aff7304721fddb95654901b32195c9c7avboxsync####################################################################
45e9809aff7304721fddb95654901b32195c9c7avboxsync### test targets
45e9809aff7304721fddb95654901b32195c9c7avboxsync####################################################################
45e9809aff7304721fddb95654901b32195c9c7avboxsync### a parser to test annotation parser and Id parsers
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCommon/test_parser: Common/test_parser.hs Common/AS_Annotation.der.hs
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(HC) --make -o $@ $< $(HC_OPTS)
45e9809aff7304721fddb95654901b32195c9c7avboxsync### interactive
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(HC)i $(HCI_OPTS)
45e9809aff7304721fddb95654901b32195c9c7avboxsync### christian's target
45e9809aff7304721fddb95654901b32195c9c7avboxsync### CASL parser
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(HC) --make -o $@ $< $(HC_OPTS)
45e9809aff7304721fddb95654901b32195c9c7avboxsync### HasCASL parser
45e9809aff7304721fddb95654901b32195c9c7avboxsyncHasCASL/hacapa: HasCASL/hacapa.lhs CASL/capa HasCASL/*.hs
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(HC) --make -o $@ $< $(HC_OPTS)
45e9809aff7304721fddb95654901b32195c9c7avboxsync### Haskell parser
45e9809aff7304721fddb95654901b32195c9c7avboxsyncHaskell/hapa: Haskell/hapa.lhs Haskell/*.hs Haskell/Language/*.hs $(happy_files)
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(HC) --make -o $@ $< $(HC_OPTS)
45e9809aff7304721fddb95654901b32195c9c7avboxsync### Haskell wrap parser
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(HC) --make -o $@ $< $(HC_OPTS)
45e9809aff7304721fddb95654901b32195c9c7avboxsync### HetCASL parser
45e9809aff7304721fddb95654901b32195c9c7avboxsynchetpa: Syntax/hetpa.hs Syntax/*.hs
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(HC) --make -o $@ $< $(HC_OPTS)
45e9809aff7304721fddb95654901b32195c9c7avboxsync### HetCASL parser
45e9809aff7304721fddb95654901b32195c9c7avboxsynchetana: Static/hetana.hs Static/*.hs
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(HC) --make -o $@ $< $(HC_OPTS)
45e9809aff7304721fddb95654901b32195c9c7avboxsync### ATC test system
45e9809aff7304721fddb95654901b32195c9c7avboxsyncatctest: ATC/ATCTest.hs ATC/*.hs
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(HC) --make -o $@ $< $(HC_OPTS)
45e9809aff7304721fddb95654901b32195c9c7avboxsync### HetCASL with dev graph
45e9809aff7304721fddb95654901b32195c9c7avboxsynchetdg: GUI/hetdg.hs $(drifted_files) *.hs
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(HC) --make -o $@ $< $(HC_OPTS) -package-conf ../uni/uni-package.conf -package uni-davinci -package uni-server
45e9809aff7304721fddb95654901b32195c9c7avboxsync### run tests in other directories
45e9809aff7304721fddb95654901b32195c9c7avboxsynccheck: hetcats
45e9809aff7304721fddb95654901b32195c9c7avboxsync for i in $(TESTDIRS); do $(MAKE) -C $$i check; done
45e9809aff7304721fddb95654901b32195c9c7avboxsync####################################################################
45e9809aff7304721fddb95654901b32195c9c7avboxsync## Preparing the version of HetCATS
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(PERL) utils/build_version.pl version_nr < hetcats/Version.in > $@
45e9809aff7304721fddb95654901b32195c9c7avboxsync## two hardcoded dependencies for a correct generation of Version.hs
45e9809aff7304721fddb95654901b32195c9c7avboxsynchetcats/Options.hs hetcats/WriteFn.hs hetcats/ReadFn.hs: hetcats/Version.hs
45e9809aff7304721fddb95654901b32195c9c7avboxsync####################################################################
45e9809aff7304721fddb95654901b32195c9c7avboxsync## rules for DrIFT
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(HAPPY) $<
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(DRIFT) $(DRIFT_OPTS) $< > $@
45e9809aff7304721fddb95654901b32195c9c7avboxsync# $(AG) $< -o $@
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(DRIFT) $< > $@
45e9809aff7304721fddb95654901b32195c9c7avboxsync## compiling rules for object and interface files
45e9809aff7304721fddb95654901b32195c9c7avboxsync%.o %.hi: %.hs
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(HC) -c $< $(HC_OPTS)
45e9809aff7304721fddb95654901b32195c9c7avboxsync%.o %.hi: %.lhs
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(HC) -c $< $(HC_OPTS)
45e9809aff7304721fddb95654901b32195c9c7avboxsync## compiling rules for dependencies
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(HC) -M $< $(HC_OPTS) -optdep-f -optdep$@
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(HC) -M $< $(HC_OPTS) -optdep-f -optdep$@
45e9809aff7304721fddb95654901b32195c9c7avboxsync####################################################################
45e9809aff7304721fddb95654901b32195c9c7avboxsync## Setting a global search path (for dependency files)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncifneq ($(MAKECMDGOALS),clean)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncifneq ($(MAKECMDGOALS),real_clean)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncifneq ($(MAKECMDGOALS),d_clean)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncifneq ($(MAKECMDGOALS),real_clean)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncifneq ($(MAKECMDGOALS),distclean)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncifneq ($(MAKECMDGOALS),genRules)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncifneq ($(MAKECMDGOALS),clean_genRules)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncifeq ($(MAKECMDGOALS),hets-old)
45e9809aff7304721fddb95654901b32195c9c7avboxsync## include every .d file in INCLUDE_PATH
45e9809aff7304721fddb95654901b32195c9c7avboxsync-include $(objects:.o=.d)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncsources_hetcats.mk: hetcats-make hetcats/Version.hs hets.hs utils/create_sources.pl $(drifted_files) $(happy_files)
45e9809aff7304721fddb95654901b32195c9c7avboxsync $(PERL) utils/create_sources.pl hetcats-make sources_hetcats.mk