Commit Graph

78 Commits

Author SHA1 Message Date
skarg e76ee2da4d Added server target to demo Makefile for easy make of server demo. 2015-11-24 20:33:15 +00:00
skarg 4db370cc3a Un-refactored property-list module to lower resource requirements on small devices. 2015-10-18 03:39:28 +00:00
skarg ae3a9a53d0 Make top level demos not silent in order to know which demo emitted an error or warning during build. 2014-08-15 15:09:00 +00:00
skarg 8da7c09bee Fixed "make clean" to also clean up gateway files. Thanks, Bryan! 2014-06-10 15:26:49 +00:00
skarg fcf26c9198 Added mstpsnap to makefile. 2013-09-23 19:08:52 +00:00
skarg 15cb616b4a Added UCI support for the BACnet demo server. UCI is a replacement for nvram. The source is GPL and has a lua lib.
http://wiki.openwrt.org/doc/uci
http://nbd.name/gitweb.cgi?p=uci.git;a=summary
Thank you, Patrick <patrick@lunatiki.de>.
2013-04-15 20:22:24 +00:00
skarg e5dccc0fc0 cleaned up gateway build from Gnu Make by having it build the library again with its own defines, and removed the gateway defines in the various Makefile files. 2013-04-12 23:12:32 +00:00
skarg 3bc404dbe9 Added "-s" to make in the demo Makefile to reduce noise during compile. 2013-01-08 18:22:57 +00:00
vasyl-tkhir 251857e3f6 Added target router to makefiles 2012-09-28 09:16:59 +00:00
skarg acf6e68948 Changed default GCC build to enable BBMD so that demo/server simulation includes a BBMD. 2012-05-18 23:08:30 +00:00
skarg 43b3a58704 added define to pass make command define. 2012-02-17 04:15:16 +00:00
gri6507 d009a1a15e Pulled in the changes from SVN commit 2145 (Makefiles default BACNET_PORT to
linux only if that ENV VAR has not yet been specified) into the trunk.
2011-11-25 23:30:11 +00:00
tbrennan3 8488d65a9c Fixed the spelling of BBMD_ENABLED, and define it off (0) by default. 2011-09-12 18:04:26 +00:00
tbrennan3 46d7daf405 Arranged the BBMD functions so that BBMD_ENABLE shrouds all the code used just by implementations which serve as a BBMD device.
Left the few for registering as a foreign device in the common code body (no #ifdef around them), and moved them to one area toward the end of the file.  (Seemed like too few to justify having their own source code file.) Allow foreign device registration function without requiring BBMD_ENABLE.
2011-09-12 11:54:42 +00:00
skarg 75bfee00d4 Moved demo configuration option to Makefile. 2011-07-05 20:00:23 +00:00
skarg e095715cec Moved include files for demo objects into demo/object, and updated makefiles to accommodate the move. This allows developers to create and maintain their own objects and the interfaces to them. 2011-03-22 20:53:13 +00:00
skarg a39bf392bd Fixed Makefile for MinGW build. Testing with MinGW 20101030 and MSYS. gcc (GCC) 4.5.0 (MinGW), GNU Make 3.81 (MSYS). 2010-11-30 17:50:24 +00:00
tbrennan3 dd92901aa1 I like Piotr's new make structure a lot. I've tweaked it a little here: made the most important defines conditional, so if they're set before the call to make, those external definitions will not be overriden, but defaults can be supplied here in the Makefile if they have not been defined.
This is really handy for my use of the stack (and probably yours, too): I can take the distribution right out-of-the-box and yet tailor it to my needs by the way I invoke make.

Also, can somebody add a comment about what WEAK_FUNC is defined for?  I couldn't see any reference to it in the code.
If it's really special, it could be removed from the general case here and included by the external definition of BACNET_DEFINES
2010-11-29 15:37:13 +00:00
skarg 0e34c5ce5c Moved ports back into root Makefile. 2010-11-29 04:18:53 +00:00
bacpack 47ecaeabaa To build the Routing demo define BAC_ROUTING in the top Makefile. The value is not important - the symbol has to be defined. 2010-11-25 05:10:01 +00:00
bacpack 6a523e4d23 First attempt to clean-up Makefiles.
1. Top (main) makefile defines build configuration variables and export them for sub-makes to use. BAC_ROUTING is defined here - is has been removed from config.h.
2. A new makefile has been added in demo subdirectory. It builds the demo applications. NOTE: the 'ports' target is not build.
2010-11-25 04:17:58 +00:00
tbrennan3 48411b8dbf Routing functionality complete, and working. (Have not done extensive testing, though.)
For building, made it possible to include or exclude the routing functionality with simple changes in the main Makefile and enables in lib/Makefile and include/config.h
The Device object (device.c and .h) was extended to support the virtually routed Devices, with most of the new functions in new file gw_device.c to replace their simpler cousins in device.c.
2010-10-13 15:59:39 +00:00
tbrennan3 cf0f01c5a1 Adding a gateway project to demonstrate routing to a virtual network.
The work is not complete yet; this is an interim checkin.  Ultimately the device.c file will be merged with the regular one or the deltas will be separated into some other file.
2010-09-29 21:04:00 +00:00
skarg f0863c0238 Refactored RP, WP, RPM to reduce coupling with objects for Linux and Win32 ports. 2010-02-10 16:27:31 +00:00
skarg 3e84cce6d1 Fixing makefile for ports. 2009-07-18 11:55:46 +00:00
skarg d9fea88227 Removed the unused state of MSTP_RECEIVE_STATE_HEADER_CRC. Hopefully this doesn't break too many implementations! 2009-07-17 15:41:37 +00:00
skarg 94d55e0294 Cleaned up Borland build files (whitespace) and subtle bug in lib makefile. 2009-04-19 14:39:20 +00:00
skarg 7921d2f811 added ReadPropertyMultiple client demo application, bacrpm. 2008-11-23 22:25:08 +00:00
skarg e75eaf0973 Adding router inquiry demos. 2008-08-21 22:30:27 +00:00
skarg 5c6f263a16 Added I-Am-Router-To-Network demo. Untested. 2008-08-20 22:17:43 +00:00
skarg b7305f3da8 Added Who-Is-Router-To-Network client application. 2008-08-19 22:40:47 +00:00
skarg 395f7fea18 Updated master make to include mstpcap demo application. 2008-08-02 12:51:08 +00:00
skarg 01438b7aa6 Corrected message in makefile. 2008-03-13 15:25:30 +00:00
skarg c8eb5cb012 Updated documentation. Moved built files to bin directory, and removed the utils directory. 2008-03-11 15:43:20 +00:00
skarg 648e4b3f9a Added lib to makefile. 2007-10-10 12:02:52 +00:00
skarg e7a49d79ee Converted the linux build to use BACnet library. Moved some BACnet address functions to bacaddr.c/h. 2007-08-23 18:56:38 +00:00
skarg a2a4220723 Corrected clean for unix make for several targets. 2007-06-18 16:00:34 +00:00
skarg f12380becd Updated for epics demo. 2007-05-25 03:09:50 +00:00
skarg 8026dc003b Combined the interface set into the datalink_init for all the datalink layers. Changed all the demo programs to use datalink_init instead of specific datalink functions. 2007-05-25 01:08:42 +00:00
skarg 4d19c82f59 Created a demo Multi-state Output object, and added it to the demo applications. 2006-08-05 19:36:55 +00:00
skarg 1bce1e083d added timesync demo to the master makefile for gcc build. 2006-02-21 22:01:08 +00:00
skarg 2a5131dd84 Added whois demo to master makefile for linux. 2006-02-20 20:21:25 +00:00
skarg 44587d5b81 Cleaned up gcc build on linux for whohas and i-have changes. 2006-02-16 21:53:23 +00:00
skarg 566749508c Added DeviceCommunicationControl in the demos and into the stack. 2006-02-10 22:44:34 +00:00
skarg 2027720ae0 Added ReinitializeDevice to Linux makefile and tested compilation under linux. 2006-02-05 03:16:18 +00:00
skarg 27ecdb320e added a clean target for the linux demo makefile. 2006-01-25 20:26:21 +00:00
skarg f64aa656f9 Changed makefile to make the 5 demo applications under Linux. 2006-01-25 20:21:24 +00:00
skarg 0ea1bf30bf refactored handlers.c into a bunch of little individual files in the demo/handler/ directory. Handlers begin with h_, and Send files begin with s_. The Send files are prototyped in client.h. 2006-01-14 23:48:03 +00:00
skarg d7ed1480fe Moved the demo objects into demo/object directory, and updated the makefiles and unit tests to handle the move. 2006-01-10 20:36:30 +00:00
skarg 9a9d072e14 added bacstr to linux demo makefile. 2005-12-17 22:23:06 +00:00