# Makefile automatically generated, do not edit! # #@MD5TINOIGN@ Creation date: Mon Aug 15 03:04:18 CEST 2005 # # This file is based on following files: #@MD5TINOIGN@ 1: Makefile.tino #@MD5TINOIGN@ 2: /home/tino/src/debris/tino/Makefile.proto # #@MD5TINOIGN@ included: Makefile.tino # # CVS Header: /CVSROOT/debris/Makefile.tino,v 1.4 2005/08/14 02:44:52 tino Exp # CVS Log: Makefile.tino,v PROGS=debris SUBDIRS=diet cmds CC=diet/tinodiet.sh --tinodiet OBJS= LIBS=diet/libcurl.a diet/libssl.a diet/libcrypto.a diet/libz.a ADD_CFLAGS= ADD_LDFLAGS=-static ADD_LDLIBS= CLEAN= DISTCLEAN= TINOCOPY= # #@MD5TINOIGN@ included: /home/tino/src/debris/tino/Makefile.proto # # CVS Header: /CVSROOT/tinolib/old/Makefile.proto,v 1.22 2005/08/14 02:44:52 tino Exp # CVS Log: Makefile.proto,v # Automatically generated from "PROGS" above PROG1=debris # Override those in Makefile.tino if needed: STD_CFLAGS=-g -Wall -O3 STD_LDFLAGS= STD_LDLIBS= INSTALLPATH=$(HOME) # Except for the compiler generated dependencies at the end # from here no changes shall be needed. CFLAGS=$(DBG_FLAGS) $(ADD_CFLAGS) $(STD_CFLAGS) -I$(HERE) LDFLAGS=$(DBG_LDFLAGS) $(ADD_LDFLAGS) $(STD_LDFLAGS) LDLIBS=$(DBG_LDLIBS) $(ADD_LDLIBS) $(STD_LDLIBS) VERSIONFILE=$(PROG1)_version.h COMMON= \ $(VERSIONFILE) \ $(TINOINC) \ $(TINOLIB) \ AWK=awk TOUCH=touch CP=cp STRIP=strip HERE=$(PWD) # Semi-automatically generated for CygWin (*.exe) PROGS_EXE= \ $(PROG1).exe \ .PHONY: all static install it clean distclean dist tar diff # Targets considered to work for all systems with GNU MAKE and GNU AWK all: $(SUBDIRS) $(PROGS) # To use this you need to do: # ln -s tinolib/diet . # make static # This is experimental. static: [ ! -f diet.distignore~ ] && $(MAKE) clean $(TOUCH) diet.distignore~ $(MAKE) -C diet $(MAKE) CC="diet/tinodiet.sh --tinodiet" Makefile: Makefile.md5 $(TOUCH) Makefile Makefile.md5:: @$(AWK) -vHERE="$(HERE)" -vMAKE="$(MAKE)" -vTINOCOPY="$(TINOCOPY)" 'BEGIN { \ if ((getline < "tino/Makefile")>0 && \ (getline < "tino/Makefile.proto")>0 && \ (getline < "tino/Makefile.awk")>-1) \ system(MAKE " -C tino tino HERE=\"" HERE "\" TINOCOPY=\"" TINOCOPY "\""); \ else if ((getline < "Makefile.md5")<0) \ printf "" >"Makefile.md5"; \ }' $(VERSIONFILE): VERSION Makefile $(AWK) -vPROG="$(PROG1)" '{ print "#define " toupper(PROG) "_VERSION \"" $$0 "\"" }' VERSION > $(VERSIONFILE) # Poor man's install install: $(RM) "$(INSTALLPATH)/bin/debris" $(CP) "debris" "$(INSTALLPATH)/bin/debris" $(STRIP) "$(INSTALLPATH)/bin/debris" -$(MAKE) -C diet install HERE="$(HERE)" INSTALLPATH="$(INSTALLPATH)" -$(MAKE) -C cmds install HERE="$(HERE)" INSTALLPATH="$(INSTALLPATH)" # Special targets considered to work for all unix like systems # like CygWin it: all [ ".$(PWD)" != ".$(HERE)" ] || [ -f VERSION ] || \ { UP="`dirname "$(HERE)"`"; $(MAKE) -C"$$UP" it HERE="$$UP"; } clean: $(RM) *.o *.d *~ .*~ */*~ $(CLEAN) -$(MAKE) -C tino clean HERE="$(HERE)" -$(MAKE) -C diet clean HERE="$(HERE)" -$(MAKE) -C cmds clean HERE="$(HERE)" distclean: clean $(RM) $(VERSIONFILE) $(PROGS) $(PROGS_EXE) $(DISTCLEAN) $(RM) Makefile.md5 core core.* -$(MAKE) -C tino distclean HERE="$(HERE)" $(MAKE) -C diet distclean HERE="$(HERE)" $(MAKE) -C cmds distclean HERE="$(HERE)" # Special targets in presence of tinolib # (subdirectory tino) dist: distclean -$(MAKE) -C tino dist HERE="$(HERE)" DEBUGS="$(DBG_CFLAGS)$(DBG_LDFLAGS)$(DBG_LDLIBS)" tar: distclean -$(MAKE) -C tino tar HERE="$(HERE)" diff: -$(MAKE) -C tino diff HERE="$(HERE)" # Automatically generated from $(SUBDIRS): .PHONY: diet diet: @$(MAKE) -C "$@" all HERE="$(HERE)" .PHONY: cmds cmds: @$(MAKE) -C "$@" all HERE="$(HERE)" # automatically generated dependencies $(PROG1).o:: $(COMMON) $(PROG1): $(PROG1).o $(OBJS) $(LIBS) # compiler generated dependencies, remove if incorrect # included: debris.d $(PROG1).o:: debris.c debris_version.h dristool.h drismd5.h drisbuf.h \ drisexec.h driscmds.h cmds/gen-inc.h cmds/append.c cmds/chain.c \ cmds/chmod.c cmds/exit.c cmds/get.c cmds/md5sum.c cmds/put.c cmds/rm.c \ cmds/run.c cmds/gen-fn.h drisnext.h driscurl.h diet/curl/curl.h \ diet/curl/curlver.h diet/curl/easy.h diet/curl/multi.h tino/xd.h # end