08-10-2001
Regarding Make Scripts
Hi
I'm well worsed in Shell Scripting on UNIX OS. But I found the script used in Make file for compiling the unix sources is quite criptic. Even though it looks some what like any other Shell Script, but I noticed lots of difference & I'm always facing difficult in understanding the code flow...
I mean, I'm not finding a definite logical/control flow that I found in any other language (viz., C/C++/java) or scripting (bsh/ksh/C shell scripts).
So, when ever I face any of the Make scripts in the work, I spend lots of time scratching my head in understanding the way/logic flows.
Hence, I need to master my self in the art of writing the Make scripts. So please help my out to how to Master my self in the writing Make scripts....
Even I searched lots of Book stores, but failed to find on such book that discuss how to write & Maintain Make Scripts...
Please do the need full..
with Advance Thanks...
Vishwa.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello
is there any way to if lets say i have main.pl script , but i have 3 includes in this perl script
now i will like to some how to treat this main.pl and its includes files as single file
something like -E (Preprocess only; do not compile, assemble or link) in the c compilers .
in short i... (0 Replies)
Discussion started by: umen
0 Replies
2. Shell Programming and Scripting
I would like to make the same change in multiple shell script files and would like to know if anyone can be of some help? I would appreciate it. (4 Replies)
Discussion started by: rdakhan
4 Replies
3. Shell Programming and Scripting
I know, and I apologise for using the W word, but I have users asking if they can use my gawk scripts, but I just know they're not going to like using the DOS command line.
Is there any way for me to run my gawk scripts from a gui? Even if it's from a web page (html, php, what ever). I do not... (3 Replies)
Discussion started by: jonathanm
3 Replies
4. Solaris
I attached a README file that I will refer to.
I successfully completed everything in the README file until step 4.
# pwd
/gani/gani-2.4.4
# ls
COPYING Makefile.macros gem.c
Makefile Makefile.sparc_gcc gem.h
Makefile.amd64_gcc ... (1 Reply)
Discussion started by: Bradj47
1 Replies
5. Shell Programming and Scripting
Hi,
I have to write a program to compute the checksums of files
./script.sh
I wrote the program using bash and it took me forever since I am a beginner but it works very well.
I'm getting so close to the deadline and I realised today that actually I have to use normal Bourne shell... (3 Replies)
Discussion started by: pgarg1989
3 Replies
6. UNIX for Advanced & Expert Users
Hello Everyone,
I want to know how can we make the variables of one script available for the other script?
for example i have three scripts variable_availability.sh,first.sh,second.sh and a file containing variables called common
----------------------------------
cat variable_availability.sh... (2 Replies)
Discussion started by: Kesavan
2 Replies
7. Shell Programming and Scripting
#!/bin/sh
##########################################################################################################
#This script is being used for AOK application for cleaning up the .out files and zip it under logs directory.
# IBM
# Created
#For pdocap201/pdoca202 .out files for AOK
#1.... (0 Replies)
Discussion started by: mridul10_crj
0 Replies
8. Shell Programming and Scripting
Dear Members,
I have a table REQUESTS in Oracle which has an attribute REQUEST_ACTION. The entries in REQUEST_ACTION are like, ME, MD, ND, NE etc.
I would like to create a script which will will call other scripts based on the request action.
Can we directly read from the REQUEST_ACTION... (2 Replies)
Discussion started by: Yoodit
2 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I have a series of BASH shell scripts that I would like to package and distribute. I would like to make it as easy as possible users to install the package on their system.
The only tasks that need to be performed for installation are 1) unzip the package, 2) modify the user's ~/.bashrc... (1 Reply)
Discussion started by: msb65
1 Replies
10. UNIX for Dummies Questions & Answers
Hello, my name is Spurkle. I'm new to linux stuff.
Currently I am trying to make a script which will run three other scripts in screen.
This is the code:
sudo screen -S hubServ /var/servers/hub/hub.sh
sudo screen -S facServh /var/servers/factions/factions.sh
sudo screen -S bunServ... (5 Replies)
Discussion started by: Spurkle
5 Replies
LEARN ABOUT MOJAVE
cpanplus::shell::default::plugins::customsource5.18
CPANPLUS::Shell::Default::Plugins::CustomSource(3pm) Perl Programmers Reference Guide CPANPLUS::Shell::Default::Plugins::CustomSource(3pm)
NAME
CPANPLUS::Shell::Default::Plugins::CustomSource - add custom sources to CPANPLUS
SYNOPSIS
### elaborate help text
CPAN Terminal> /? cs
### add a new custom source
CPAN Terminal> /cs --add file:///path/to/releases
### list all your custom sources by
CPAN Terminal> /cs --list
### display the contents of a custom source by URI or ID
CPAN Terminal> /cs --contents file:///path/to/releases
CPAN Terminal> /cs --contents 1
### Update a custom source by URI or ID
CPAN Terminal> /cs --update file:///path/to/releases
CPAN Terminal> /cs --update 1
### Remove a custom source by URI or ID
CPAN Terminal> /cs --remove file:///path/to/releases
CPAN Terminal> /cs --remove 1
### Write an index file for a custom source, to share
### with 3rd parties or remote users
CPAN Terminal> /cs --write file:///path/to/releases
### Make sure to save your sources when adding/removing
### sources, so your changes are reflected in the cache:
CPAN Terminal> x
DESCRIPTION
This is a "CPANPLUS::Shell::Default" plugin that can add custom sources to your CPANPLUS installation. This is a wrapper around the "custom
module sources" code as outlined in "CUSTOM MODULE SOURCES" in CPANPLUS::Backend.
This allows you to extend your index of available modules beyond what's available on "CPAN" with your own local distributions, or ones
offered by third parties.
perl v5.18.2 2014-01-06 CPANPLUS::Shell::Default::Plugins::CustomSource(3pm)