mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
update unix build
This commit is contained in:
parent
d278b08422
commit
692a1bcf28
@ -451,6 +451,12 @@
|
||||
//#defer ODIR Opt$[OPTIMIZE]-$[PLATFORM]$[USE_COMPILER]
|
||||
#defer ODIR Opt$[OPTIMIZE]-$[PLATFORM]
|
||||
|
||||
// What is the normal extension of a compiled object file?
|
||||
#if $[WINDOWS_PLATFORM]
|
||||
#define OBJ .obj
|
||||
#else
|
||||
#define OBJ .o
|
||||
#endif
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
|
@ -70,7 +70,7 @@
|
||||
|
||||
// Define what the object files are.
|
||||
#foreach file $[c_sources] $[cxx_sources] $[yxx_sources] $[lxx_sources]
|
||||
#define $[file]_obj $[patsubst %.c %.cxx %.yxx %.lxx,$[ODIR]/$[TARGET]_%.obj,$[file]]
|
||||
#define $[file]_obj $[patsubst %.c %.cxx %.yxx %.lxx,$[ODIR]/$[TARGET]_%$[OBJ],$[file]]
|
||||
#push 1 $[file]_obj
|
||||
#end file
|
||||
|
||||
@ -81,7 +81,7 @@
|
||||
#define composite_file $[ODIR]/$[TARGET]_composite.cxx
|
||||
#set composite_list $[composite_list] $[composite_file]
|
||||
#define $[composite_file]_sources $[cxx_sources]
|
||||
#define $[composite_file]_obj $[ODIR]/$[TARGET]_composite.obj
|
||||
#define $[composite_file]_obj $[ODIR]/$[TARGET]_composite$[OBJ]
|
||||
#push 1 $[composite_file]_sources
|
||||
#push 1 $[composite_file]_obj
|
||||
#set cxx_sources $[composite_file]
|
||||
@ -92,7 +92,7 @@
|
||||
#define composite_file $[ODIR]/$[TARGET]_composite_c.c
|
||||
#set composite_list $[composite_list] $[composite_file]
|
||||
#define $[composite_file]_sources $[c_sources]
|
||||
#define $[composite_file]_obj $[ODIR]/$[TARGET]_composite_c.obj
|
||||
#define $[composite_file]_obj $[ODIR]/$[TARGET]_composite_c$[OBJ]
|
||||
#push 1 $[composite_file]_sources
|
||||
#push 1 $[composite_file]_obj
|
||||
#set c_sources $[composite_file]
|
||||
@ -105,21 +105,21 @@
|
||||
// tend to be very large files themselves.
|
||||
#foreach source_file $[yxx_sources] $[lxx_sources]
|
||||
#define generated_file $[patsubst %.yxx %.lxx,%.cxx,$[source_file]]
|
||||
#define $[generated_file]_obj $[patsubst %.yxx %.lxx,$[ODIR]/$[TARGET]_%.obj,$[source_file]]
|
||||
#define $[generated_file]_obj $[patsubst %.yxx %.lxx,$[ODIR]/$[TARGET]_%$[OBJ],$[source_file]]
|
||||
#define $[generated_file]_sources $[source_file]
|
||||
#push 1 $[generated_file]_obj
|
||||
#set cxx_sources $[cxx_sources] $[generated_file]
|
||||
#end source_file
|
||||
#if $[get_igateoutput]
|
||||
#define generated_file $[get_igateoutput]
|
||||
#define $[generated_file]_obj $[get_igateoutput:%.cxx=%.obj]
|
||||
#define $[generated_file]_obj $[get_igateoutput:%.cxx=%$[OBJ]]
|
||||
#define $[generated_file]_sources $[get_igatescan]
|
||||
#push 1 $[generated_file]_obj
|
||||
#set cxx_sources $[cxx_sources] $[generated_file]
|
||||
#endif
|
||||
#if $[get_igatemout]
|
||||
#define generated_file $[get_igatemout]
|
||||
#define $[generated_file]_obj $[get_igatemout:%.cxx=%.obj]
|
||||
#define $[generated_file]_obj $[get_igatemout:%.cxx=%$[OBJ]]
|
||||
#define $[generated_file]_sources none
|
||||
#push 1 $[generated_file]_obj
|
||||
#set cxx_sources $[cxx_sources] $[generated_file]
|
||||
|
@ -107,7 +107,7 @@
|
||||
// $[target_ipath] is the proper ipath to put on the command line,
|
||||
// from the context of a particular target.
|
||||
|
||||
#defer target_ipath $[TOPDIR] $[sort $[complete_ipath]] $[other_trees:%=%\include] $[get_ipath]
|
||||
#defer target_ipath $[TOPDIR] $[sort $[complete_ipath]] $[other_trees:%=%/include] $[get_ipath]
|
||||
|
||||
// These are the complete set of extra flags the compiler requires.
|
||||
#defer cflags $[get_cflags] $[CFLAGS] $[CFLAGS_OPT$[OPTIMIZE]]
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user