X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=zotnet%2Ftws%2FMakefile.in;fp=zotnet%2Ftws%2FMakefile.in;h=0000000000000000000000000000000000000000;hb=2d3eed4014c861333bef889406ef2511dab09271;hp=b14f24efe33299b8aa7642599eb5666769d393fb;hpb=278a48ef53b5dde10d7c88f67f51ce15ad11c0c0;p=mmh diff --git a/zotnet/tws/Makefile.in b/zotnet/tws/Makefile.in deleted file mode 100644 index b14f24e..0000000 --- a/zotnet/tws/Makefile.in +++ /dev/null @@ -1,106 +0,0 @@ -# -# Makefile for zotnet/tws subdirectory -# -# $Id$ -# - -SHELL = /bin/sh - -top_srcdir = @top_srcdir@ -srcdir = @srcdir@ -VPATH = @srcdir@ - -CC = @CC@ -CFLAGS = @CFLAGS@ -DEFS = @DEFS@ -INCLUDES = -I../.. -I$(srcdir) -I$(top_srcdir) - -COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS) - -AWK = @AWK@ -# LEX = @LEX@ -LEX = lex -SED = sed -LINT = @LINT@ -LINTFLAGS = @LINTFLAGS@ - -.SUFFIXES: -.SUFFIXES: .c .o - -.c.o: - $(COMPILE) $< - -# header files -HDRS = tws.h - -# source files -SRCS = dtime.c lexstring.c - -# object files -OBJS = dtimep.o dtime.o lexstring.o - -# auxiliary files -AUX = Makefile.in dtimep.lex lexedit.sed dtimep.c-lexed - -# all files in this directory included in the distribution -DIST = $(HDRS) $(SRCS) $(AUX) - -# ========= DEPENDENCIES FOR BUILDING ========== - -all: $(OBJS) - -# This will bomb if lex is really flex, so check -# file and use pre-generated version if necessary -dtimep.c: $(srcdir)/dtimep.c-lexed $(srcdir)/dtimep.lex $(srcdir)/lexedit.sed - $(LEX) -nt $(srcdir)/dtimep.lex | $(SED) -f $(srcdir)/lexedit.sed > $@ - -@len=`wc -l $@ | $(AWK) ' { print $$1 } '`; \ - if [ $$len -gt 500 ]; \ - then exit 0; \ - else \ - echo "LEX FAILED: using pre-lexed $@"; \ - cp $(srcdir)/$@-lexed $@; \ - fi - -# This needs to be generated by lex, not flex -dtimep.c-lexed: $(srcdir)/dtimep.lex $(srcdir)/lexedit.sed - $(LEX) -nt $(srcdir)/dtimep.lex | $(SED) -f $(srcdir)/lexedit.sed > $(srcdir)/$@ - -install: - -uninstall: - -# ========== DEPENDENCIES FOR CLEANUP ========== - -mostlyclean: - rm -f *.o *~ - -clean: mostlyclean - rm -f dtimep.c - -distclean: clean - rm -f Makefile - -realclean: distclean - rm -f dtimep.c-lexed - -superclean: realclean - -# ========== DEPENDENCIES FOR LINT ================= - -lint: - $(LINT) $(LINTFLAGS) $(INCLUDES) $(DEFS) $(SRCS) - -# ========== DEPENDENCIES FOR MAINTENANCE ========== - -subdir = zotnet/tws - -Makefile: Makefile.in ../../config.status - cd ../.. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status - -distdir = ../../`cat ../../distname`/$(subdir) -nmhdist: $(DIST) - @echo "Copying distribution files in $(subdir)" - @for file in $(DIST); do \ - cp -p $(srcdir)/$$file $(distdir); \ - done -