- Timestamp:
-
06/30/12 06:08:00 (12 years ago)
- Author:
-
C Rempel
- Comment:
-
/* examples/openldap/Makefile */
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v56
|
v57
|
|
244 | 244 | # add a line a right brace, and |
245 | 245 | # another line after any .exe ... |
246 | | == examples/openldap/Makefile == |
| 246 | == More tips === |
| 247 | |
| 248 | For integrating legacy libraries/applications to RTEMS... |
| 249 | I was playing around with adding the sqlite3 command to the multiio shell, and found the following general ideas very helpful. |
| 250 | |
| 251 | # tear and rebuild ALL applications within the kit every time you make a small change. |
| 252 | # link the library into EVERY directory with an RTEMS shell application using your new commands. |
| 253 | |
| 254 | To tear down and rebuild |
| 255 | |
| 256 | rtems-addon-packages$ nano doit.sh |
| 257 | |
| 258 | #!/bin/sh |
| 259 | make clean |
| 260 | make |
| 261 | qemu... |
| 262 | |
| 263 | To link add an entry to the Makefile: |
| 264 | |
| 265 | you can put the library in with the COBJS, |
| 266 | ../openldap/.libs/libslapd.a |
| 267 | |
| 268 | or link with LD_LIBS |
| 269 | |
| 270 | LD_LIBS += -lslapd |
| 271 | or |
| 272 | LD_LIBS += ../openldap/.libs/libslapd.a |
| 273 | |
| 274 | == examples/openldap/Makefile ==== |
247 | 275 | |
248 | 276 | |