LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:17 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration