Changeset 3951c97 in rtems-libbsd for freebsd-to-rtems.py


Ignore:
Timestamp:
Jan 22, 2014, 8:43:51 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, fd86c091b97759106da7355ce1dd81ebe030e285, freebsd-9.3, f020f08430150c1656a0ad0a1de13699db9b980b
Children:
406a2f4
Parents:
9449f15
git-author:
Sebastian Huber <sebastian.huber@…> (01/22/14 08:43:51)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/30/14 15:23:04)
Message:

mDNS: Add basic support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd-to-rtems.py

    r9449f15 r3951c97  
    429429                        'CFLAGS += -Ifreebsd/lib/libmemstat\n' \
    430430                        'CFLAGS += -Ifreebsd/lib/libipsec\n' \
     431                        'CFLAGS += -ImDNSResponder/mDNSCore\n' \
     432                        'CFLAGS += -ImDNSResponder/mDNSShared\n' \
     433                        'CFLAGS += -ImDNSResponder/mDNSPosix\n' \
    431434                        'CFLAGS += -Itestsuite/include\n' \
    432435                        'CFLAGS += -Wall\n' \
     
    515518                        '\t  install -d $(INCLUDE_DIR)/$$i ; \\\n' \
    516519                        '\t  install -m 644 freebsd/sys/$$i/*.h $(INCLUDE_DIR)/$$i ; done\n' \
     520                        '\tinstall -m 644 mDNSResponder/mDNSCore/mDNSDebug.h $(INCLUDE_DIR)\n' \
     521                        '\tinstall -m 644 mDNSResponder/mDNSCore/mDNSEmbeddedAPI.h $(INCLUDE_DIR)\n' \
     522                        '\tinstall -m 644 mDNSResponder/mDNSShared/dns_sd.h $(INCLUDE_DIR)\n' \
     523                        '\tinstall -m 644 mDNSResponder/mDNSPosix/mDNSPosix.h $(INCLUDE_DIR)\n' \
    517524                        '\n' \
    518525                        'clean:\n' \
     
    24302437
    24312438tests = Module('tests')
     2439tests.addTest('foobarclient', ['test_main'], runTest = False, netTest = True)
     2440tests.addTest('foobarserver', ['test_main'], runTest = False, netTest = True)
    24322441tests.addTest('dhcpcd01', ['test_main'], runTest = False, netTest = True)
    24332442tests.addTest('dhcpcd02', ['test_main'], runTest = False, netTest = True)
     
    24832492)
    24842493
     2494mdnsresponder = Module('mdnsresponder')
     2495mdnsresponder.addSourceFiles(
     2496        [
     2497                'mDNSResponder/mDNSCore/anonymous.c',
     2498                'mDNSResponder/mDNSCore/CryptoAlg.c',
     2499                'mDNSResponder/mDNSCore/DNSCommon.c',
     2500                'mDNSResponder/mDNSCore/DNSDigest.c',
     2501                'mDNSResponder/mDNSCore/mDNS.c',
     2502                'mDNSResponder/mDNSCore/uDNS.c',
     2503                'mDNSResponder/mDNSShared/dnssd_clientshim.c',
     2504                'mDNSResponder/mDNSShared/mDNSDebug.c',
     2505                'mDNSResponder/mDNSShared/PlatformCommon.c',
     2506                'mDNSResponder/mDNSShared/GenLinkedList.c',
     2507                'mDNSResponder/mDNSPosix/mDNSPosix.c',
     2508                'mDNSResponder/mDNSPosix/mDNSUNP.c',
     2509        ]
     2510)
     2511
    24852512# Register all the Module instances with the Module Manager
    24862513mm.addModule(rtems)
     
    25262553mm.addModule(tests)
    25272554mm.addModule(dhcpcd)
     2555mm.addModule(mdnsresponder)
    25282556
    25292557# XXX TODO Check that no file is also listed in empty
Note: See TracChangeset for help on using the changeset viewer.