3 include $(LEVEL
)/Makefile.config
7 ## Copy all of the povray sources into the local directory.
8 POVRAYSources
:= $(wildcard $(POVRAY_ROOT
)/source
/*.c
)
9 RAWLIBPNGSources
:= $(wildcard $(POVRAY_ROOT
)/source
/libpng
/*.c
)
10 NONLIBPNGSources
:= $(addprefix $(POVRAY_ROOT
)/source
/libpng
/, ansi2knr.c pngtest.c example.c
)
11 LIBPNGSources
:= $(filter-out $(NONLIBPNGSources
), $(RAWLIBPNGSources
))
13 Source
:= $(notdir $(POVRAYSources
)) $(notdir $(LIBPNGSources
))
15 CPPFLAGS
+= -I
$(POVRAY_ROOT
)/source
/unix
-I
$(PROJ_SRC_ROOT
)/runtime
/libpng
-DPREFIX
=\"$(PROJ_OBJ_DIR
)\" -DSYSCONFDIR
=\"$(POVRAY_ROOT
)\" -DPOV_LIB_DIR
=\"$(PROJ_OBJ_DIR
)/lib
\" -IOutput
/src
-UHAVE_LIBVGA
-I
$(POVRAY_ROOT
)/source
/libpng
-I
$(POVRAY_ROOT
)/source
19 RUN_OPTIONS
= -I
$(POVRAY_ROOT
)/scenes
/advanced
/chess2.pov
-L
$(POVRAY_ROOT
)/include -GA
$<.junk
-O-
20 include $(LEVEL
)/MultiSource
/Makefile.multisrc
22 $(notdir $(POVRAYSources
)) : % : $(POVRAY_ROOT
)/source
/%
24 $(notdir $(LIBPNGSources
)) : % : $(POVRAY_ROOT
)/source
/libpng
/%