source: _old/app/src/dgp/Makefile @ a6e708f

Last change on this file since a6e708f was a6e708f, checked in by tom <tom@…>, 13 years ago

ANULOWANIE POPRZEDNIEGO COMMITU

Revert "Replacing old implementation with working implementation"

This reverts commit 1e121f45e2d091fcd34a893291b8453e350d5884.

Please enter the commit message for your changes. Lines starting
with '#' will be ignored, and an empty message aborts the commit.

Committer: tom <tom@lim.(none)>

On branch master
Changes to be committed:

(use "git reset HEAD <file>..." to unstage)

modified: _old/app/Makefile
deleted: _old/app/conf/Makefile
deleted: _old/app/conf/compiledic.conf
deleted: _old/app/conf/cor.conf
deleted: _old/app/conf/dgc.conf
deleted: _old/app/conf/dgp.conf
deleted: _old/app/conf/gph.conf
deleted: _old/app/conf/grp.conf
deleted: _old/app/conf/gue.conf
deleted: _old/app/conf/kor.conf
deleted: _old/app/conf/lem.conf
deleted: _old/app/conf/mar.conf
deleted: _old/app/conf/ser.conf
deleted: _old/app/conf/utt.conf
modified: _old/app/src/common/Makefile
modified: _old/app/src/compiledic/Makefile
modified: _old/app/src/compiledic/aut2fsa.cc
modified: _old/app/src/cor/Makefile
modified: _old/app/src/dgp/Makefile
new file: _old/app/src/dgp/canonize
new file: _old/app/src/dgp/dgc
modified: _old/app/src/dgp/grammar.hh
modified: _old/app/src/dgp/mgraph.hh
modified: _old/app/src/dgp/sgraph.hh
modified: _old/app/src/dgp/thesymbols.hh
new file: _old/app/src/dgp/tre
modified: _old/app/src/gue/Makefile
modified: _old/app/src/gue/guess.cc
modified: _old/app/src/kor/Makefile
modified: _old/app/src/kor/corlist.cc
modified: _old/app/src/kor/corr.cc
new file: _old/app/src/kor/corr.hh
modified: _old/app/src/kor/main.cc
modified: _old/app/src/lem/Makefile
modified: _old/app/src/lem/lem.cc
modified: _old/app/src/lib/Makefile
modified: _old/app/src/lib/auttools.cc
modified: _old/app/src/lib/symtab.cc
modified: _old/app/src/lib/tft.h
modified: _old/app/src/lib/tfti.h
modified: _old/app/src/lib/ttrans.h
modified: _old/app/src/lib/word.cc
modified: _old/app/src/lib/word.h
modified: _old/app/src/tok.c/Makefile
modified: _old/app/src/tok.c/cmdline_tok.ggo
modified: _old/app/src/tok.c/common_tok.cc
modified: _old/app/src/tok/Makefile
modified: _old/nawszelkiwypadek/tools/aut2fsa
modified: _old/nawszelkiwypadek/tools/cor_dic/makeLabels.pl
modified: _old/nawszelkiwypadek/tools/cor_dic/prep.pl
modified: _old/nawszelkiwypadek/tools/fsm2aut
modified: _old/nawszelkiwypadek/tools/gue_dic/canon.pl
modified: _old/nawszelkiwypadek/tools/gue_dic/compile_user_dict.pl
modified: _old/nawszelkiwypadek/tools/gue_dic/count_prefs.pl
modified: _old/nawszelkiwypadek/tools/gue_dic/cut_prefs.pl
modified: _old/nawszelkiwypadek/tools/gue_dic/makeLabels.pl
modified: _old/nawszelkiwypadek/tools/gue_dic/prep.pl
modified: _old/nawszelkiwypadek/tools/gue_dic/prep_user_dict.pl
modified: _old/nawszelkiwypadek/tools/gue_dic/rmDup.pl
modified: _old/nawszelkiwypadek/tools/gue_dic/stat.pl
modified: _old/nawszelkiwypadek/tools/gue_dic/stat_pre.pl
modified: _old/nawszelkiwypadek/tools/lem_dic/makeLabels.pl
modified: _old/nawszelkiwypadek/tools/lem_dic/prep.pl
modified: auto/defaults
modified: auto/options
modified: auto/output/Makefile
modified: auto/output/config_h
modified: auto/summary
modified: configure

  • Property mode set to 100644
File size: 1.2 KB
RevLine 
[a6e708f]1
2
[0214596]3SHELL = /bin/sh
[ff0fc99]4LIB_PATH=../../lib
[28e9ae0]5COMMON_PATH=../common
6CMDLINE_FILE='"../dgp/cmdline.h"'
7
[0214596]8
[b6109b9]9#vpath %.o  .
[0214596]10
[a6e708f]11CXXFLAGS = -O2 -static
[0214596]12
13sources = main.cc grammar.cc symbol.cc mgraph.cc sgraph.cc dgp0.cc cmdline.cc \
[28e9ae0]14          $(COMMON_PATH)/common.cc global.cc
[0214596]15
[a6e708f]16bin  = dgp
[0214596]17
18# plik *.o sa umieszczane w podkatalogu o
[b6109b9]19objs = $(sources:%.cc=%.o)
[0214596]20
21${bin}: ${objs}
[13a8a67]22        ${CXX} ${CXXFLAGS} -D _CMDLINE_FILE=$(CMDLINE_FILE) -o $@ ${objs}
[0214596]23
24include $(sources:.cc=.d)
25
[b6109b9]26%.o: %.cc
[28e9ae0]27        ${CXX} -D _CMDLINE_FILE=$(CMDLINE_FILE) -c ${CXXFLAGS} -o $@ $<
[0214596]28
29%.d: %.cc
[13a8a67]30        $(CC) -MM $(CPPFLAGS) -D _CMDLINE_FILE=$(CMDLINE_FILE) $< > $@.$$$$; \
[b6109b9]31        sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
[0214596]32        rm -f $@.$$$$
33
[28e9ae0]34# stare:
35# cmdline.cc cmdline.h : cmdline.ggo
36#       gengetopt --c-extension=cc -i cmdline.ggo
37# nowe
38cmdline.cc cmdline.h: cmdline.ggo
39        gengetopt -i cmdline.ggo  --c-extension=cc --conf-parser
40
41cmdline.ggo: cmdline_dgp.ggo ../common/cmdline_common.ggo
42        cat cmdline_dgp.ggo ../common/cmdline_common.ggo > cmdline.ggo
43# endnowe
44
[0214596]45
46clean:
[a6e708f]47        rm ${bin} ${objs} cmdline.cc cmdline.h
48        rm -rf *.d
[0214596]49
50prof: dgp
51        gprof dgp ~/tmp/dgp-pl/gmon.out > dgp.prof
[b6109b9]52
53copy:
54ifdef UTT_BIN_DIR
[b012e2a]55        cp dgp dgc canonize tre $(UTT_BIN_DIR)/
[b6109b9]56endif
Note: See TracBrowser for help on using the repository browser.