Changeset c56c1db in rtems-libbsd


Ignore:
Timestamp:
Dec 12, 2013, 9:40:42 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, c1e05b9ea378b2971e3d7704779112b4bc4296da, freebsd-9.3, 4a77611a223ea883fb548679b516d326a020d447
Children:
5871035
Parents:
9956d77
git-author:
Sebastian Huber <sebastian.huber@…> (12/12/13 09:40:42)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/16/13 14:34:47)
Message:

Define DBINTERFACE_PRIVATE for relevant sources

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r9956d77 rc56c1db  
    2323CFLAGS += -Ifreebsd/lib/libipsec
    2424CFLAGS += -Itestsuite/include
    25 CFLAGS += -D__DBINTERFACE_PRIVATE
    2625CFLAGS += -DINET6
    2726CFLAGS += -w
     
    631630        rm -f freebsd/sbin/route/keywords.tmp
    632631LIB_C_FILES += freebsd/lib/libc/db/btree/bt_close.c
     632freebsd/lib/libc/db/btree/bt_close.o: freebsd/lib/libc/db/btree/bt_close.c
     633        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -c $< -o $@
    633634LIB_C_FILES += freebsd/lib/libc/db/btree/bt_conv.c
     635freebsd/lib/libc/db/btree/bt_conv.o: freebsd/lib/libc/db/btree/bt_conv.c
     636        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -c $< -o $@
    634637LIB_C_FILES += freebsd/lib/libc/db/btree/bt_debug.c
     638freebsd/lib/libc/db/btree/bt_debug.o: freebsd/lib/libc/db/btree/bt_debug.c
     639        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -c $< -o $@
    635640LIB_C_FILES += freebsd/lib/libc/db/btree/bt_delete.c
     641freebsd/lib/libc/db/btree/bt_delete.o: freebsd/lib/libc/db/btree/bt_delete.c
     642        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -c $< -o $@
    636643LIB_C_FILES += freebsd/lib/libc/db/btree/bt_get.c
     644freebsd/lib/libc/db/btree/bt_get.o: freebsd/lib/libc/db/btree/bt_get.c
     645        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -c $< -o $@
    637646LIB_C_FILES += freebsd/lib/libc/db/btree/bt_open.c
     647freebsd/lib/libc/db/btree/bt_open.o: freebsd/lib/libc/db/btree/bt_open.c
     648        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -c $< -o $@
    638649LIB_C_FILES += freebsd/lib/libc/db/btree/bt_overflow.c
     650freebsd/lib/libc/db/btree/bt_overflow.o: freebsd/lib/libc/db/btree/bt_overflow.c
     651        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -c $< -o $@
    639652LIB_C_FILES += freebsd/lib/libc/db/btree/bt_page.c
     653freebsd/lib/libc/db/btree/bt_page.o: freebsd/lib/libc/db/btree/bt_page.c
     654        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -c $< -o $@
    640655LIB_C_FILES += freebsd/lib/libc/db/btree/bt_put.c
     656freebsd/lib/libc/db/btree/bt_put.o: freebsd/lib/libc/db/btree/bt_put.c
     657        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -c $< -o $@
    641658LIB_C_FILES += freebsd/lib/libc/db/btree/bt_search.c
     659freebsd/lib/libc/db/btree/bt_search.o: freebsd/lib/libc/db/btree/bt_search.c
     660        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -c $< -o $@
    642661LIB_C_FILES += freebsd/lib/libc/db/btree/bt_seq.c
     662freebsd/lib/libc/db/btree/bt_seq.o: freebsd/lib/libc/db/btree/bt_seq.c
     663        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -c $< -o $@
    643664LIB_C_FILES += freebsd/lib/libc/db/btree/bt_split.c
     665freebsd/lib/libc/db/btree/bt_split.o: freebsd/lib/libc/db/btree/bt_split.c
     666        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -c $< -o $@
    644667LIB_C_FILES += freebsd/lib/libc/db/btree/bt_utils.c
     668freebsd/lib/libc/db/btree/bt_utils.o: freebsd/lib/libc/db/btree/bt_utils.c
     669        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -c $< -o $@
    645670LIB_C_FILES += freebsd/lib/libc/db/db/db.c
     671freebsd/lib/libc/db/db/db.o: freebsd/lib/libc/db/db/db.c
     672        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -c $< -o $@
    646673LIB_C_FILES += freebsd/lib/libc/db/mpool/mpool.c
     674freebsd/lib/libc/db/mpool/mpool.o: freebsd/lib/libc/db/mpool/mpool.c
     675        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -c $< -o $@
    647676LIB_C_FILES += freebsd/lib/libc/db/mpool/mpool-compat.c
     677freebsd/lib/libc/db/mpool/mpool-compat.o: freebsd/lib/libc/db/mpool/mpool-compat.c
     678        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -c $< -o $@
    648679LIB_C_FILES += freebsd/lib/libc/db/recno/rec_close.c
     680freebsd/lib/libc/db/recno/rec_close.o: freebsd/lib/libc/db/recno/rec_close.c
     681        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -c $< -o $@
    649682LIB_C_FILES += freebsd/lib/libc/db/recno/rec_delete.c
     683freebsd/lib/libc/db/recno/rec_delete.o: freebsd/lib/libc/db/recno/rec_delete.c
     684        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -c $< -o $@
    650685LIB_C_FILES += freebsd/lib/libc/db/recno/rec_get.c
     686freebsd/lib/libc/db/recno/rec_get.o: freebsd/lib/libc/db/recno/rec_get.c
     687        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -c $< -o $@
    651688LIB_C_FILES += freebsd/lib/libc/db/recno/rec_open.c
     689freebsd/lib/libc/db/recno/rec_open.o: freebsd/lib/libc/db/recno/rec_open.c
     690        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -c $< -o $@
    652691LIB_C_FILES += freebsd/lib/libc/db/recno/rec_put.c
     692freebsd/lib/libc/db/recno/rec_put.o: freebsd/lib/libc/db/recno/rec_put.c
     693        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -c $< -o $@
    653694LIB_C_FILES += freebsd/lib/libc/db/recno/rec_search.c
     695freebsd/lib/libc/db/recno/rec_search.o: freebsd/lib/libc/db/recno/rec_search.c
     696        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -c $< -o $@
    654697LIB_C_FILES += freebsd/lib/libc/db/recno/rec_seq.c
     698freebsd/lib/libc/db/recno/rec_seq.o: freebsd/lib/libc/db/recno/rec_seq.c
     699        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -c $< -o $@
    655700LIB_C_FILES += freebsd/lib/libc/db/recno/rec_utils.c
     701freebsd/lib/libc/db/recno/rec_utils.o: freebsd/lib/libc/db/recno/rec_utils.c
     702        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -c $< -o $@
    656703LIB_C_FILES += freebsd/lib/libc/gen/err.c
    657704LIB_C_FILES += freebsd/lib/libc/gen/feature_present.c
  • freebsd-to-rtems.py

    r9956d77 rc56c1db  
    429429                        'CFLAGS += -Ifreebsd/lib/libipsec\n' \
    430430                        'CFLAGS += -Itestsuite/include\n' \
    431                         'CFLAGS += -D__DBINTERFACE_PRIVATE\n' \
    432431                        'CFLAGS += -DINET6\n' \
    433432                        'CFLAGS += -w\n' \
     
    22382237                'lib/libc/db/recno/rec_seq.c',
    22392238                'lib/libc/db/recno/rec_utils.c',
     2239        ],
     2240        '-D__DBINTERFACE_PRIVATE'
     2241)
     2242userSpace.addUserSpaceSourceFiles(
     2243        [
    22402244                'lib/libc/gen/err.c',
    22412245                'lib/libc/gen/feature_present.c',
Note: See TracChangeset for help on using the changeset viewer.