From owner-freebsd-net Sun Mar 5 23:33:23 2000 Delivered-To: freebsd-net@freebsd.org Received: from mc-qout4.whowhere.com (mc-qout4.whowhere.com [209.185.123.18]) by hub.freebsd.org (Postfix) with SMTP id BDFE537BC2C for ; Sun, 5 Mar 2000 23:33:16 -0800 (PST) (envelope-from gbnaidu@my-deja.com) Received: from Unknown/Local ([?.?.?.?]) by my-deja.com; Sun Mar 5 23:32:45 2000 To: freebsd-net@FreeBSD.ORG Date: Sun, 05 Mar 2000 23:32:45 -0800 From: "gbnaidu " Message-ID: Mime-Version: 1.0 X-Sent-Mail: off X-Mailer: MailCity Service Subject: How do I do this...? X-Sender-Ip: 164.164.56.2 Organization: My Deja Email (http://www.my-deja.com:80) Content-Type: text/plain; charset=us-ascii Content-Language: en Content-Length: 565 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi I have some requirement like this: I have two sets of files. Assume A and B. The function names are same in both sets but their implementation is different. If I want to compile/call functions from one set(A) depending on a macro of sort: #ifdef A, how do I compile these files in kernel? Can somebosdy give me some idea of how to compile these files conditionally? Any sort of help is appreciated. Please reply to: gbnaidu@sasi.com thank you gbnaidu --== Sent via Deja.com http://www.deja.com/ ==-- Share what you know. Learn what you don't. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message