Subversion Repositories filter_foundry

Rev

Rev 439 | Rev 484 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 439 Rev 450
Line 45... Line 45...
45
# define location of Photoshop SDK headers
45
# define location of Photoshop SDK headers
46
PSAPI = ..\photoshop_sdk\pluginsdk\photoshopapi
46
PSAPI = ..\photoshop_sdk\pluginsdk\photoshopapi
47
 
47
 
48
# C compiler flags
48
# C compiler flags
49
CPPFLAGS = -DWIN32 -DWIN_ENV -DYY_SKIP_YYWRAP \
49
CPPFLAGS = -DWIN32 -DWIN_ENV -DYY_SKIP_YYWRAP \
-
 
50
           -DUNICODE -D_UNICODE \
50
           -I$(PSAPI)\Pica_sp -I$(PSAPI)\Photoshop -I$(PSAPI)\General \
51
           -I$(PSAPI)\Pica_sp -I$(PSAPI)\Photoshop -I$(PSAPI)\General \
51
           -I..\telegraphics_common\adobeplugin -I..\telegraphics_common\tt -I..
52
           -I..\telegraphics_common\adobeplugin -I..\telegraphics_common\tt -I..
52
# /O2 = Max optimization (prefer performance). /O2 implies /Ot
53
# /O2 = Max optimization (prefer performance). /O2 implies /Ot
53
CFLAGS = -O2 $(CPPFLAGS)
54
CFLAGS = -O2 $(CPPFLAGS)
54
 
55
 
55
# Note since VS8 it is necessary to link with multithreaded standard lib, using /MT
56
# Note since VS8 it is necessary to link with multithreaded standard lib, using /MT
56
LDFLAGS = /LD /MT user32.lib gdi32.lib comdlg32.lib shell32.lib
57
LDFLAGS = /LD /MT user32.lib gdi32.lib comdlg32.lib shell32.lib
57
 
58
 
58
# resource compiler flags
59
# resource compiler flags
59
RFLAGS = -i$(PSAPI)\Photoshop -d_WIN32 -d_X86_
60
RFLAGS = -i$(PSAPI)\Photoshop -d_WIN32 -d_X86_ -dUNICODE -d_UNICODE
60
 
61
 
61
# Path to flex and bison (you can download them at https://sourceforge.net/projects/winflexbison/ )
62
# Path to flex and bison (you can download them at https://sourceforge.net/projects/winflexbison/ )
62
FLEX = win_flex_bison\win_flex
63
FLEX = win_flex_bison\win_flex
63
BISON = win_flex_bison\win_bison
64
BISON = win_flex_bison\win_bison
64
 
65