1 | EXTRA_DIST = ps1.0_grammar.y rc1.0_grammar.y ts1.0_grammar.y vs1.0_grammar.y \ |
---|
2 | ps1.0_tokens.l rc1.0_tokens.l ts1.0_tokens.l vs1.0_tokens.l \ |
---|
3 | Makefile.reyacc |
---|
4 | |
---|
5 | AM_YFLAGS = -d |
---|
6 | |
---|
7 | INCLUDES = -DYY_NEVER_INTERACTIVE -DYY_NO_UNPUT $(STLPORT_CFLAGS) -I$(top_srcdir)/RenderSystems/GL/include \ |
---|
8 | -I$(top_srcdir)/OgreMain/include $(GLSUPPORT_CFLAGS) \ |
---|
9 | -I$(top_srcdir)/PlatformManagers/$(OGRE_PLATFORM)/include |
---|
10 | |
---|
11 | noinst_LTLIBRARIES = libnvparse.la |
---|
12 | |
---|
13 | libnvparse_la_SOURCES = nvparse.cpp nvparse_errors.cpp rc1.0_combiners.cpp \ |
---|
14 | rc1.0_final.cpp rc1.0_general.cpp ts1.0_inst.cpp \ |
---|
15 | ts1.0_inst_list.cpp _ts1.0_parser.cpp _ts1.0_lexer.cpp \ |
---|
16 | _rc1.0_lexer.cpp _rc1.0_parser.cpp avp1.0_impl.cpp \ |
---|
17 | _ps1.0_parser.h _vs1.0_parser.h nvparse_errors.h \ |
---|
18 | rc1.0_combiners.h rc1.0_register.h _rc1.0_parser.h \ |
---|
19 | macro.h nvparse_externs.h rc1.0_final.h ts1.0_inst.h \ |
---|
20 | vs1.0_inst.h _ts1.0_parser.h nvparse.h \ |
---|
21 | ps1.0_program.h rc1.0_general.h ts1.0_inst_list.h \ |
---|
22 | vs1.0_inst_list.h |
---|
23 | |
---|
24 | if OGRE_LINUX |
---|
25 | libnvparse_la_SOURCES += _vs1.0_lexer.cpp _vs1.0_parser.cpp _ps1.0_lexer.cpp _ps1.0_parser.cpp vs1.0_inst.cpp vs1.0_inst_list.cpp ps1.0_program.cpp vsp1.0_impl.cpp vcp1.0_impl.cpp vp1.0_impl.cpp |
---|
26 | endif |
---|
27 | |
---|
28 | if OGRE_NT |
---|
29 | INCLUDES += -I$(srcdir)/winheaders |
---|
30 | libnvparse_la_SOURCES += _vs1.0_lexer.cpp _vs1.0_parser.cpp _ps1.0_lexer.cpp _ps1.0_parser.cpp vs1.0_inst.cpp vs1.0_inst_list.cpp ps1.0_program.cpp vsp1.0_impl.cpp vcp1.0_impl.cpp vp1.0_impl.cpp |
---|
31 | endif |
---|
32 | |
---|
33 | if OGRE_OSX |
---|
34 | INCLUDES += -DMACOS -I../../../../Mac/XCode/OgreFramework |
---|
35 | endif |
---|
36 | |
---|
37 | # ifeq ($(OS), "Linux") |
---|
38 | #$(MAIN): |
---|
39 | # -bison -o _ps1.0_parser.c ps1.0_grammar.y |
---|
40 | # -mv -f _ps1.0_parser.c _ps1.0_parser.cpp |
---|
41 | # -bison -o _rc1.0_parser.c rc1.0_grammar.y |
---|
42 | # -mv -f _rc1.0_parser.c _rc1.0_parser.cpp |
---|
43 | # -bison -o _ts1.0_parser.c ts1.0_grammar.y |
---|
44 | # -mv -f _ts1.0_parser.c _ts1.0_parser.cpp |
---|
45 | # -bison -o _vs1.0_parser.c vs1.0_grammar.y |
---|
46 | # -mv -f _vs1.0_parser.c _vs1.0_parser.cpp |
---|
47 | # -flex -o_rc1.0_lexer.cpp rc1.0_tokens.l |
---|
48 | # -flex -o_ps1.0_lexer.cpp ps1.0_tokens.l |
---|
49 | # -flex -o_ts1.0_lexer.cpp ts1.0_tokens.l |
---|
50 | # -flex -o_vs1.0_lexer.cpp vs1.0_tokens.l |
---|
51 | # make compile |
---|
52 | #endif |
---|
53 | |
---|
54 | #ifeq ($(OS), "Windows_NT") |
---|
55 | #$(MAIN): |
---|
56 | # -bison -o _ps1.0_parser.c ps1.0_grammar.y |
---|
57 | # -mv -f _ps1.0_parser.c _ps1.0_parser.cpp |
---|
58 | # -bison -o _rc1.0_parser.c rc1.0_grammar.y |
---|
59 | # -mv -f _rc1.0_parser.c _rc1.0_parser.cpp |
---|
60 | # -bison -o _ts1.0_parser.c ts1.0_grammar.y |
---|
61 | # -mv -f _ts1.0_parser.c _ts1.0_parser.cpp |
---|
62 | # -bison -o _vs1.0_parser.c vs1.0_grammar.y |
---|
63 | # -mv -f _vs1.0_parser.c _vs1.0_parser.cpp |
---|
64 | # -flex -o_rc1.0_lexer.cpp rc1.0_tokens.l |
---|
65 | # -flex -o_ps1.0_lexer.cpp ps1.0_tokens.l |
---|
66 | # -flex -o_ts1.0_lexer.cpp ts1.0_tokens.l |
---|
67 | # -flex -o_vs1.0_lexer.cpp vs1.0_tokens.l |
---|
68 | # make compile |
---|
69 | #endif |
---|
70 | |
---|
71 | #ifeq ($(OS), "MacOSX") |
---|
72 | #$(MAIN): |
---|
73 | # -bison -o _rc1.0_parser.c rc1.0_grammar.y |
---|
74 | # -mv -f _rc1.0_parser.c _rc1.0_parser.cpp |
---|
75 | # -bison -o _ts1.0_parser.c ts1.0_grammar.y |
---|
76 | # -mv -f _ts1.0_parser.c _ts1.0_parser.cpp |
---|
77 | # -flex -o_rc1.0_lexer.cpp rc1.0_tokens.l |
---|
78 | # -flex -o_ts1.0_lexer.cpp ts1.0_tokens.l |
---|
79 | # make compile |
---|
80 | #endif |
---|