diff --git a/direct/metalibs/direct/Sources.pp b/direct/metalibs/direct/Sources.pp index 9f0607d86d..cf79b7168f 100644 --- a/direct/metalibs/direct/Sources.pp +++ b/direct/metalibs/direct/Sources.pp @@ -8,7 +8,7 @@ #define BUILDING_DLL BUILDING_DIRECT #define COMPONENT_LIBS \ - directbase dcparser showbase deadrec directd interval distributed motiontrail + directbase dcparser showbase deadrec directd interval distributed motiontrail http #define OTHER_LIBS \ panda:m \ diff --git a/direct/src/http/Sources.pp b/direct/src/http/Sources.pp new file mode 100644 index 0000000000..027143e9af --- /dev/null +++ b/direct/src/http/Sources.pp @@ -0,0 +1,33 @@ +#define OTHER_LIBS \ + express:c pandaexpress:m \ + pstatclient:c pipeline:c panda:m \ + interrogatedb:c dconfig:c dtoolconfig:m \ + dtoolutil:c dtoolbase:c dtool:m prc:c pandabase:c \ + $[if $[HAVE_NET],net:c] $[if $[WANT_NATIVE_NET],nativenet:c] \ + linmath:c putil:c + +#define LOCAL_LIBS \ + directbase +#define C++FLAGS -DWITHIN_PANDA +#define UNIX_SYS_LIBS m +#define USE_PACKAGES python + +#begin lib_target + #define TARGET http + + #define COMBINED_SOURCES $[TARGET]_composite1.cxx + + + #define SOURCES \ + http_connection.h \ + http_request.h + + + #define INCLUDED_SOURCES \ + http_connection.cxx \ + parsedhttprequest.cxx \ + http_request.cxx + + + #define IGATESCAN all +#end lib_target