Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/RenderSystems/GL/src/nvparse/Makefile.am @ 3

Last change on this file since 3 was 3, checked in by anonymous, 17 years ago

=update

File size: 3.2 KB
Line 
1EXTRA_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
5AM_YFLAGS = -d
6
7INCLUDES = -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            $(CFLAGS_VISIBILITY)
11
12noinst_LTLIBRARIES = libnvparse.la
13
14libnvparse_la_SOURCES = nvparse.cpp nvparse_errors.cpp rc1.0_combiners.cpp \
15                       rc1.0_final.cpp rc1.0_general.cpp ts1.0_inst.cpp \
16                       ts1.0_inst_list.cpp _ts1.0_parser.cpp _ts1.0_lexer.cpp \
17                       _rc1.0_lexer.cpp _rc1.0_parser.cpp avp1.0_impl.cpp \
18 _ps1.0_parser.h _vs1.0_parser.h nvparse_errors.h \
19                        rc1.0_combiners.h  rc1.0_register.h _rc1.0_parser.h \
20                        macro.h nvparse_externs.h rc1.0_final.h ts1.0_inst.h \
21                        vs1.0_inst.h _ts1.0_parser.h nvparse.h \
22                        ps1.0_program.h rc1.0_general.h ts1.0_inst_list.h \
23                        vs1.0_inst_list.h
24
25if OGRE_LINUX
26  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
27endif
28
29if OGRE_NT
30  INCLUDES += -I$(srcdir)/winheaders
31  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
32endif
33
34if OGRE_OSX
35  INCLUDES += -DMACOS -I../../../../Mac/XCode/OgreFramework
36endif
37
38# ifeq ($(OS), "Linux")
39#$(MAIN):
40#       -bison -o _ps1.0_parser.c ps1.0_grammar.y
41#       -mv -f _ps1.0_parser.c _ps1.0_parser.cpp
42#       -bison -o _rc1.0_parser.c rc1.0_grammar.y
43#       -mv -f _rc1.0_parser.c _rc1.0_parser.cpp
44#       -bison -o _ts1.0_parser.c ts1.0_grammar.y
45#       -mv -f _ts1.0_parser.c _ts1.0_parser.cpp
46#       -bison -o _vs1.0_parser.c vs1.0_grammar.y
47#       -mv -f _vs1.0_parser.c _vs1.0_parser.cpp
48#       -flex -o_rc1.0_lexer.cpp rc1.0_tokens.l
49#       -flex -o_ps1.0_lexer.cpp ps1.0_tokens.l
50#       -flex -o_ts1.0_lexer.cpp ts1.0_tokens.l
51#       -flex -o_vs1.0_lexer.cpp vs1.0_tokens.l
52#       make compile
53#endif
54
55#ifeq ($(OS), "Windows_NT")
56#$(MAIN):
57#       -bison -o _ps1.0_parser.c ps1.0_grammar.y
58#       -mv -f _ps1.0_parser.c _ps1.0_parser.cpp
59#       -bison -o _rc1.0_parser.c rc1.0_grammar.y
60#       -mv -f _rc1.0_parser.c _rc1.0_parser.cpp
61#       -bison -o _ts1.0_parser.c ts1.0_grammar.y
62#       -mv -f _ts1.0_parser.c _ts1.0_parser.cpp
63#       -bison -o _vs1.0_parser.c vs1.0_grammar.y
64#       -mv -f _vs1.0_parser.c _vs1.0_parser.cpp
65#       -flex -o_rc1.0_lexer.cpp rc1.0_tokens.l
66#       -flex -o_ps1.0_lexer.cpp ps1.0_tokens.l
67#       -flex -o_ts1.0_lexer.cpp ts1.0_tokens.l
68#       -flex -o_vs1.0_lexer.cpp vs1.0_tokens.l
69#       make compile
70#endif
71
72#ifeq ($(OS), "MacOSX")
73#$(MAIN):
74#       -bison -o _rc1.0_parser.c rc1.0_grammar.y
75#       -mv -f _rc1.0_parser.c _rc1.0_parser.cpp
76#       -bison -o _ts1.0_parser.c ts1.0_grammar.y
77#       -mv -f _ts1.0_parser.c _ts1.0_parser.cpp
78#       -flex -o_rc1.0_lexer.cpp rc1.0_tokens.l
79#       -flex -o_ts1.0_lexer.cpp ts1.0_tokens.l
80#       make compile
81#endif
Note: See TracBrowser for help on using the repository browser.