The "make" utility - do the conditiional macros really work?

Hello,
I've tried to use conditional macros in the makefile like this
SETTINGS = stub
target1 := SETTINGS = somefile
include ${SETTINGS}
target1: ....
No way - when I call the make with "make target1" it stiil includes the "stub" file, NOT the "somefile". Is anybody using this feature? If yes, what did I do wrong?
My OS is Solaris 5.8
My make is /usr/ccs/bin/make
Doc about this make is:
http://docs.sun.com/app/docs/doc/806-0624/6j9vek5ac?a=view
Thank you,
Alex

I doubt if you can use the conditional stuff to vary include files.
I suspect it does a pass at the beginning to do the including and get the "complete" file
before it does any serious processing of the make rules...

Similar Messages

  • My mac can't find the volume" Data" on Time Capsule. Also Ican't find with the disk utility program the hard disk in the Time Capule; so I can't format the disk again. What can I do?

    My Mac can't find the volume " Data" on Time Capsule, Also I can't find with the disk-utility program the hard disk in the Time Capusule.
    So I can't format the disk in the Time Capsule
    Deconnevt and then connecting the power tp the Time Capsule gives also no solution.
    What can I do?
    Joe

    I listed the commands.. that is how you manually mount the disk.. follow exactly the commands I gave you.
    In finder use top menu, go, connect to server.
    Type in the following.
    AFP://TCname or AFP://TCIpaddress (obviously you replace with the actual name or the actual IP address).
    If that fails..
    try
    SMB://TCname
    Here is the screenshot.
    tardis4 being the name of my TC.
    It should then ask you for your credentials.
    And it should remember them in the keychain and be able to then get TM to connect.

  • Can the voiceover utility on the 6th gen Nano be accessed with headphones other than the Apple earphones?

    Can the voiceover utility on the 6th gen Nano be accessed with headphones other than the Apple earphones?

    No I have tried and they don't also my iPod touch 2nd generation doesn't work with voice control unless it has apple earbuds plugged in. I guess apple doesn't want 3rd party brads interfering with their company. Thanks please like

  • Anyone clean their mac using the disk utility using the repair disk permissions??

    anyone clean their mac using the disk utility using the repair disk permissions??

    No. Threads don't hurt anything. If your computer is not functioning properly perhaps you need to try some basic maintenance. Let's start by having you do this:
    Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    Next, try booting into Safe Mode then immediately restart normally. Safe mode is going to take a while so be patient. It's slow.
    Next, create a new user account. Log out of your account then log into the new account. Try using iPhoto and the publishing button. Do they work now?
    If you still have a problem, then do the following. If you don't want to go through the above then just start with the following and forget the others above.
    Reinstall OS X without erasing the drive
    1. Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. Reinstall Snow Leopard
    If the drive is OK then quit DU and return to the installer.  Proceed with reinstalling OS X.  Note that the Snow Leopard installer will not erase your drive or disturb your files.  After installing a fresh copy of OS X the installer will move your Home folder, third-party applications, support items, and network preferences into the newly installed system.
    Download and install Mac OS X 10.6.8 Update Combo v1.1.

  • Does the make of Blank Media I use really matter?

    Brand-name vs. discount DVD blanks
    In its latest issue 14/2005, c't has tested blank DVDs. There was one major finding in the test of 63 brands: the quality of the blanks is not, contrary to common opinion, relative to the purchase price. Good blanks are available at 8x burning speeds starting at 60 cents. For instance, discs from Taiwan and India sometimes offer as much quality as brands from Japan. No wonder: after all, manufacturers from less expensive production sites sometimes supply blanks to Japanese brands and have gained their expertise in the meantime. Anzeige
    The biggest problem with supermarket blanks is that customers cannot easily tell from the packaging which manufacturer has made which disks. One package may even contain media from various producers. The indication of the country of origin may help consumers discern the manufacturer. However, you can only be sure if you read out the manufacturer's ID on your PC. But even here, you have to be careful: one manufacturer from the Chinese peninsula of Macao imitates the ID of a Japanese brand without attaining the quality of the original. These very inexpensive imitates produced a much larger number of burning errors.
    Blank DVD-Rs had much better quality than blank DVD+Rs. The reason may be the physical differences between the two burning formats. For instance, plus media work with a higher wobble frequency and have much greater radial disturbances in the record tracks than minus blanks.
    In a climatic chamber test, c't simulated the ageing of the media and discovered some surprising differences: some disks that revealed very good quality just after burning were hard to read after spending time in the climatic chamber, while others that only had mediocre recording quality withstood the climatic chamber almost without deterioration. If you want to archive your data for many years, you should choose your storage media carefully.
    The great risk of burning errors is still due to burning speeds that are too fast. Fortunately, in the meantime a few manufacturers of burners and blanks have managed to produce speeds up to 16x reliably. However, many recorders try to burn 8x blanks, in particular, too fast. In such cases, you should manually slow down the burning process to prevent errors and ensure the durability of the media. c't checked the optimal burning speed for each blank based on six different burner models and gives explicit recommendations for blanks for each model.
    For details on the test of blank DVDs, tips on the best combination of blanks and burners, and background information on the technology of writable DVDs, see the specialist website below, "Nomorecoasters"
    http://www.digitalfaq.com/media/index.htm
    Additionally, there is a freeware application you can download called "DVD Identifier". It can be found at http://dvd.identifier.cdfreaks.com/
    All you need to do is load up your blank, and it will tell you exactly who made it.

    Your MacBook Pro has enough compute power to do airframe stress analysis modeling or weather forecasting. This is not a computational issue.
    Most USB printers do the imaging on the Mac, then send the stream of bits to the printer. The speed of doing this depends on the Printer driver.
    Some drivers will image the page in "slices", and then pause to image the next slice after the first one completes. This may also depend on whether you have enough RAM memory available to do the imaging for a whole page at a time.
    You have not mentioned what Printer, or whether this is indeed the latest driver for it.

  • My mac keeps freezing, the disk utility states the hardrive is failing

    Hi. My desktop was upgraded to the snow leopard and has had increasing problems with freezing. Now it wont start up at all, so I have to open it with the Disk 1 OS.. then I went to the disk utility to try and repair it.  But it says the hard drive is failing. When I did the hard drive test, it passed without any issues.  I am confused and cannot restart my computer.

    If by the "hard drive test" you mean the Apple Hardware Test (AHT) that you run by starting up the Mac into it, it is possible (but not very likely) that reformatting the HD using Disk Utility while booted from the installer DVD & then reinstalling the OS from the same source will set things right.
    To do the reformat, select the entire HD & use the "Partition" tab to choose a new, single partition scheme from the popup.
    But if you cannot even get that far, or the process fails, then your drive is dying, even if AHT can't detect it.

  • Does changing the RSS excerpt length of blog entries really work?

    Hello,
    Due to various problems[1] with the RSS feed contents that iWeb produces for blog entries I would like to limit each excerpt in the RSS feed to a small portion of the blog entry to encourage readers to visit the full post on my website. The iWeb help says that adjusting the "Excerpt Length" in the Blog portion of the Inspector will adjust the excerpt length on the blog summary page and in the RSS file. But no matter what I choose for the Excerpt Length, the text of the entire entry goes into the RSS file.
    Has anyone else had any success in limiting the contents of the RSS feed? Is this a bug in the program or in the help text?
    Thanks in advance for any help that you can provide!
    -Jason

    Sorry for replying to my own post, but I forgot to mention the problems I've had with the contents of RSS feeds of an iWeb blog:
    1. inline images don't make it to the RSS feed, just the template default image (which I know how to replace, but sometimes I want more images in a blog entry)
    2. hash characters (aka "number sign" or "pound sign" or "#") in a link URL get UTF-8 encoded to %2523 which browsers and/or servers don't seem to like. I discovered that when directly linking to a particulary .Mac Web Gallery album. The link works fine from the blog page, but not from the RSS feed. <sigh>
    -Jason

  • Will the EOS utility for the Rebel SL1 work with the 40D?

    We first bought the Rebel EOS 300D many years ago and then upgraded to a 40D at my wifes shagrine (heavier) and have now bought my wife a new Rebel SL1.  I would like to be able to download all three camers on my computer Win7 and her's WinXP.  I'd like to know if the new discs that came with the SL1 has an EOS Utility application that will handle all three or at least the 40D and SL1.
    Thanks much,
    Bob

    Hi, RobTrek6500!
    The version of EOS Utility on the CD that came with your Canon EOS Rebel SL1 will allow you to download photos from both the Rebel SL1 and the EOS 40D, on both Windows 7 and Windows XP.
    Unfortunately, the "Original" EOS Digital Rebel, known internationally as the EOS 300D, is no longer supported by current versions of EOS Utility, and going to an earlier version will cut out support for the later-model cameras.  EOS Utility's setup does not support having two separate versions on the same computer, so we recommend sticking with the newest version as it will be the most convenient for you.
    The best workaround for this is to use a memory card reader for the original EOS Rebel.  Many desktop computers have CF card slots already built in, and if you don't already have a CF card slot, a CF card reader can be purchased for a low price at almost any electronics store.  This turns your CF card into the equivalent of a flash drive, and image files can be dragged and dropped onto your computer with ease.  Meanwhile, you can continue to use the current version of EOS Utility to download images from the Rebel SL1 and the EOS 40D.
    We hope this helps!

  • I have the airport express but don't have the airport utility nor the CD. cAN i DOWNLOAD THIS? i WANT TO ADD SECURITY TO MY WIRELESS INTERNET CONNECTION

    My son gave me his airport express router and I use it to connect to the internet, but I cannot add the security since I don't have the CD that contains the Airport Utility (didn't even konw what this was until I checked apple website). Can I download this or do I need to order the CD?  Any other options?

    The Downloads and Manuals links on the main forum page below should do what you need.
    http://www.apple.com/support/airport/

  • How can I package the map utility for the cannon 6d for someone to view?

    How can I package the "map utility" program from the canon 6D for someone to view the shot locations and shots?

    I may understand your point wrong but if you turn on GPS on the 6D, your client can view your photo location easily. Site like Flickr supports GPS (if you don't remove it) or software like Picasa, Geotag, Geosetter, Lightroom, etc.
    Weekend Travelers Blog | Eastern Sierra Fall Color Guide

  • All of sudden the airport utility on the iMac will not recognize wireless devices that have on network for ever

    Airport Utility will not recognize any of the devices on the network - mix of Time Capsule, Airport Extreme, and Airport Express.  The network works fine.  If you use the Airport Utility on iphone you can see and configure all the devices.  Any clues?

    AirPort Utility version 6.0 is rather limited in its abilities. I suggest you download and install the more useful version 5.6 (for Lion): AirPort Utility 5.6
    You can see both wired and wireless clients in Advanced > Logs and Statistics.
    AirPort Utility 6.0 cannot be deleted but it will coexist with AirPort Utility 5.6.
    Use 6.0 when you want pretty pictures. Use 5.6 when you actually want to do something.

  • Event ID 55 NTFS Error: The file system structure on the disk is corrupt and unusable. Please run the chkdsk utility on the volume.

    One of our File Server getting this error. I explained to you what happened. One of the HDD has failed from this server, which is on RAID. So we put the new one. But we get the NTFS Error. We make the schedule to run the chkdsk /r /c. But still we get this
    error on events viewer. Now i have the other problem is that this system's backup is taken care by Dell AppAssure application. this application took the snapshot of each hdd. but due to this error it stops. So I talk to the Dell person to resolve the problem,
    but he said to resolve the problem of the NTFS Error. If you resolve this issue the application will work. 
    So can anyone please help me ASAP to resolve this issue? My sever operating system is Windows 2003 R2.
    Thanks.
    don

    Doesn't the "/c" argument skip directory corruption tests? Have you tried just using "chkdsk /r" ?
    The /I or /C switch reduces the amount of time required to run Chkdsk by skipping certain checks of the volume.
    Also for reference:
    http://blogs.technet.com/b/askcore/archive/2012/05/09/event-id-55-when-good-bits-go-bad.aspx

  • Why the install utility at the start of boot up in mavericks??

    when I start up my IMAC,there is a delay and then an install utility before I can go to safari or mail.or any other application!
    Can this be recified,as it looks very clumsy way to start up a computer!!!

    Update on my original post.
    I have now created a bootable usb image which allowed me to erase the whole HDD rather than just the Mac HD, and do a fresh install. I still got the same problem.
    Reseting the NVRAM seems to have solved the problem, after 8 reboots I haven't had it come back yet, but reseting the NVRAM on the Mac Mini hasn't worked on that, but I haven't reinstalled the OS yet.

  • My MacBook Pro is currently online via wifi, but the airport utility doesn't recognize the airport time capsule base station and has not backed up in 10 days

    My early 2011 MacBook Pro 15 inch is currently online, with good (albeit slow... although that is due to the service provider) internet connectivity via wifi.  The icon shows that I am connected to my network with full bars.  I use an Airport Time Capsule as my wireless router, purchased late last year, and it has worked well until now.  Internet comes via cable modem (provided by the cable company), and can be patchy and quirky, so I am often rebooting the modem, but the airport wifi router typically does not need to be rebooted with the modem to regain connectivity.
    My problem is that my time capsule has not backed up in more than 10 days.  When I went to investigate this, it claims it cannot find the time capsule.  when I open the airport utility on the laptop it claims there is no airport connected (although there is the green light next to the internet icon).  I checked on this using the airport utility app on my iPad, and it has no problem identifying the router as an airport time capsule.  I did update the firmware on the router using the app on the iPad, but it made no difference to the laptop.
    First question: Do you think this is a problem with the Airport router or my MacBook?
    Second Question: what can I do about it?
    My MacBook feels like it is on its last legs anyway, so I am currently looking at replacements, but I really want to make sure it is backed up in case it dies before the new one arrives!!  On the other hand, we have serious power issues here, and while the router is on a UPS, the UPS battery is basically fried and conks out in about 5 minutes, so the Airport is constantly being cycled on and off, which I worry could also be causing problems with the proper operation of the device (although the fact that it works with the iPad makes me think that is not the case... but I don't really know).
    Thanks!

    My early 2011 MacBook Pro 15 inch is currently online, with good (albeit slow... although that is due to the service provider) internet connectivity via wifi.  The icon shows that I am connected to my network with full bars.  I use an Airport Time Capsule as my wireless router, purchased late last year, and it has worked well until now.  Internet comes via cable modem (provided by the cable company), and can be patchy and quirky, so I am often rebooting the modem, but the airport wifi router typically does not need to be rebooted with the modem to regain connectivity.
    My problem is that my time capsule has not backed up in more than 10 days.  When I went to investigate this, it claims it cannot find the time capsule.  when I open the airport utility on the laptop it claims there is no airport connected (although there is the green light next to the internet icon).  I checked on this using the airport utility app on my iPad, and it has no problem identifying the router as an airport time capsule.  I did update the firmware on the router using the app on the iPad, but it made no difference to the laptop.
    First question: Do you think this is a problem with the Airport router or my MacBook?
    Second Question: what can I do about it?
    My MacBook feels like it is on its last legs anyway, so I am currently looking at replacements, but I really want to make sure it is backed up in case it dies before the new one arrives!!  On the other hand, we have serious power issues here, and while the router is on a UPS, the UPS battery is basically fried and conks out in about 5 minutes, so the Airport is constantly being cycled on and off, which I worry could also be causing problems with the proper operation of the device (although the fact that it works with the iPad makes me think that is not the case... but I don't really know).
    Thanks!

  • What is needed to run the deployment utility while not logged into Windows?

    I am running a bash script to perform nightly builds of our test s/w. This script calls the deployment utility via command line. The actual command I am using is:
    /cygdrive/c/Program\ Files/National\ Instruments/TestStand\ 4.1.1/Components/Tools/Deployment\ Utility/DeploymentUtility -- build "C:\Sandbox\ATE\Production_Test_Projects\eHLC_RX\Deployment\Unified_eHLC_RX_Test_Deployment_Config.tsd"
    It works flawlessly as long as I am logged into the PC. I have a cron job running to invoke my main script on a daily basis. As soon as I log out of the PC is when I am having the trouble. The script does get started but when looking at the processes on the PC I see my bash sessions open as well as the deployment utility open but it is not doing anything. If I end the deployment utility process the bash script continues and exits normally. Is there something I have to put in the command line to make the deployment utility work if I am not logged in? I have the cron running as a service and it is using my username and pw when required. But the deployment utility just hangs and does nothing. The deployment utility log is blank so it was basically opened but did not perform the build. Any ideas as to what may be causing this? Thanks in advance for any help.
    Troy

    Here is a little more information. I changed the service that is running my script which is calling the Deployment Utility via command line from This Account on the Log On tab which requires my username and password to Local System Account and checked Allow Service to Interact with Desktop. This time when I was logged out of the PC and the script started I logged back on and could see the message that was thrown when the Deployment Utility was initialized. I could not see this with the service set to the other parameter because it is running in the back ground. I am sure this is what is happening because in this state I check the processes on the PC and it is reflecting the same information. The memory usage is the same and the Deployment Utility is doing nothing obviously waiting for acknowledgement of this error. If I click OK the build does start but at the end I get all types of debug messages at the end which do not happen when I am logged in and this process completes. Does anyone have any idea what this error message is referring to and maybe how to fix it?
    Thanks again for any help.
    Attachments:
    Startup_Error.JPG ‏80 KB

Maybe you are looking for

  • Order Quantity Field in Sales order

    Hi All I'm creating High Sea Sales order. When i start creating sales order after punching the order quantity in screen that particular field gets greyed out. Quantity which i put in field is not getting updated . If i go to item level & update quant

  • Duplication of albums from PC to iphone

    I have recently purchased an iphone and when I sync it with itunes on my laptop it has duplicated some albums. I checked itunes and they are there once and in my music file once but it shows as two albums the same on the iphone. I have tried deleting

  • Export results in no response

    I just tried exporting a Pages document to a pdf, and the Export dialogue box popped up but the progress bar didn't advance. I just had the spinning beach ball of death until I forced Pages to quit after about 10 minutes losing everything I was worki

  • ITunes & QuickTime Player Issues

    For the past few days I have been unable to load iTunes. I have tried to reinstall both iTunes, but have encountered many problems. I have downloaded the latest version of iTunes with QuickTime Players from the iTunes website, and followed the instal

  • Font Issue In Webaccess

    We recently upgraded to GroupWise 2012 and have been getting complaints from some webaccess users regarding symbols that are showing up in certain e-mails. When using Internet Explorer and viewing the e-mail in HTML mode it appears that when the send