Commit Graph

62 Commits

Author SHA1 Message Date
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
skarg 273e202afb Moved the bacnet object and property map functions to their own module since they really didn't fit with bactext or indtext. Added FIXME notes. 2005-12-17 10:17:55 +00:00
skarg 3d0eaed3d6 cleaned up the fallout after refactoring to bacapp module. 2005-12-10 22:42:41 +00:00
skarg 2edddfa604 Cleaned up the BACnet text handling and added it to the read-property handler. 2005-11-17 11:59:56 +00:00
skarg 69899a03b5 removed RPM.c from the make since it is not ready for prime time yet. 2005-11-13 00:47:39 +00:00
skarg 3ca33605fe cleaned up some warnings. 2005-10-17 20:54:17 +00:00
skarg 4ba79baf1e Added handling for ARCNET on the Linux port. 2005-09-06 20:41:01 +00:00
skarg 211e0fdb34 Added ARCNET raw packet handling for Linux. 2005-09-06 20:28:52 +00:00
skarg bc21625461 refactored the BACnet/IP for each of the ports 2005-08-12 15:44:42 +00:00
skarg ff1dbe83b0 made the datalink generic while adding datalink for MS/TP 2005-06-30 21:31:00 +00:00
skarg 2624538022 modified for AtomicReadFile handling. 2005-06-12 01:01:30 +00:00
skarg df7ba026c9 refactored the data link layer 2005-05-27 12:40:04 +00:00
skarg 4c8f288b4b modified to support confirmed messages. Verified with ReadProperty request. 2005-05-25 00:42:21 +00:00
skarg 7f4f1a731b adding analog output object 2005-05-14 15:36:51 +00:00
skarg 489dde9fb8 corrected BACnet/IP for the linux port. 2005-05-05 16:04:34 +00:00
skarg 3fb559b60a corrected data link receive of large packets that were reporting a actual PDU length but not loading the PDU. 2005-05-05 10:39:07 +00:00
skarg 0c5809cc37 adding BACnet/IP to the linux port 2005-05-04 23:17:30 +00:00