LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 04-28-2009, 03:04 PM   #1
rombin
LQ Newbie
 
Registered: Jan 2009
Location: Warsaw
Posts: 4

Rep: Reputation: 0
Automake: custom target


I'm preparing makefile.am file for set of libraries. Some libraries depends on others. I put all of information into one Makefile.am, so now when I run make all libraries are build in an order which I specified in a makefile.am. I would like to customize my Makefile to have specific targets. E.g. if I run "make myLib1" only myLib1 library is build.

Does anyone have idea have to prepare such "custom target" Makefile.am?
 
Old 05-01-2009, 03:23 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
There is more than one way to do it .....

1) Google .. makefile different targets ..
and get answers in most hits.

2) A feature list in 'configure.in', so targets
can be added with 'configure --enable-feature'
( Example : xmlrpc-c-1.06.32 )
.....
 
  


Reply

Tags
autotools, custom, makefile, target


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
automake error: no rule to make target all jwstric2 Programming 2 10-18-2011 02:48 PM
iptables: rule with RETURN target just after a rule with ACCEPT target Nerox Linux - Networking 6 09-04-2011 03:33 PM
automake make target problem jaristr Programming 2 11-20-2006 03:24 AM
Scribus installation problem, sez I need automake 1.6 when automake 1.9 is istalled Rockgod2099 Linux - Software 13 11-14-2004 06:37 PM
slackware 9 asking for automake 1.6 while i have automake 1.7 gtgoku Slackware 1 10-19-2003 08:59 AM


All times are GMT -5. The time now is 01:43 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration