Sponsored Content
Operating Systems Solaris Setting/Modifying variable specific to target in Makefile Post 302490192 by nsriram on Monday 24th of January 2011 07:25:56 AM
Old 01-24-2011
Hi,

Thanks for taking a look on this.
Below details regarding Makefile version and OS details -

Optron -
=========================================================
Code:
ukhml-helios-~/shivtest: make -v
GNU Make 3.80
Copyright (C) 2002  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
ukhml-helios-~/shivtest: uname -r
5.10
ukhml-helios-~/shivtest: cat /etc/release
                        Solaris 10 5/09 s10x_u7wos_08 X86
           Copyright 2009 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                             Assembled 30 March 2009
ukhml-helios-~/shivtest: uname -X
System = SunOS
Node = ukhml-helios
Release = 5.10
KernelID = Generic_141445-09
Machine = i86pc
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 4

=========================================================

Sparc
========================================================

Code:
ukhml-v890new-~/test: make -v
GNU Make version 3.75, by Richard Stallman and Roland McGrath.
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96
        Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to <bug-gnu-utils@prep.ai.mit.edu>.

ukhml-v890new-~/test: uname -r
5.10
ukhml-v890new-~/test: cat /etc/release
                     Solaris 10 3/05 HW1 s10s_wos_74L2a SPARC
           Copyright 2005 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                             Assembled 14 July 2005
ukhml-v890new-~/test: uname -X
System = SunOS
Node = ukhml-v890new
Release = 5.10
KernelID = Generic_118833-03
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 8

ukhml-v890new-~/test:

======================================================

Is there any command through which I could figure out what are the patches been installed (non-root) which effect make ?

Last edited by pludi; 01-24-2011 at 08:40 AM..
 

10 More Discussions You Might Find Interesting

1. Solaris

Makefile:57: *** multiple target patterns. Stop.

Hi, I am getting the following error while building on Solaris 64 , while I am trying to build. Error Snippet :- ---------------------- Makefile:57: *** multiple target patterns. Stop. make: Leaving directory `/work1/patch/vds6053sun64o/vobs/jvi' make: *** Error 2 make: Leaving directory... (0 Replies)
Discussion started by: nileshborate
0 Replies

2. Shell Programming and Scripting

Setting environment variables in Makefile

I've seen a few other threads like this, but they either went unanswered or failed to answer my question. How do I set an environment variable in a Makefile? What I'm trying to do is use GNU make to automate an ant build. In order to run ant, I've got to first set a few environment... (1 Reply)
Discussion started by: Bags
1 Replies

3. HP-UX

Oracle 9i install: Error in invoking target install of makefile

I receive an error while installing Oracle 9i: Error in invoking target install of makefile /opt/oracle/product/9.2.0/sqlplus/lib/ins_sqlplus.mk Furthermore: $ whoami oracle $ echo $ORACLE_HOME /opt/oracle/product/9.2.0 $ pwd /opt/oracle/product/9.2.0/sqlplus/lib $ ll total... (5 Replies)
Discussion started by: chris2005
5 Replies

4. Shell Programming and Scripting

Makefile debug target

Hello, I'm having a problem with a makefile script i'm trying to write. I want to compile a C++ program in two possible ways: "make" (default target, main) and "make debug". When i supply the debug target, exactly the same as main should be built, but then with the DEBUG flag (-g -D... (2 Replies)
Discussion started by: StevenR
2 Replies

5. Shell Programming and Scripting

modifying specific lines a file

Hi I need to modify entire file starting from the 3 line. file looks like this filename : exp first line second 1,"wes","est","ws" 1,"was","qwe","qwa" also i have to replace the third content from 3 line by a counter . so the output should look like this: first line second... (12 Replies)
Discussion started by: ciba
12 Replies

6. Programming

Makefile: multiple target variable substitution

Greetings! Basically, I would like to properly handle this with gnu make: alltools: my_tool mysecond_tool mythird_tool etc_tool %_tool: dir1/%_tool.vf dir2/%_tool/subdir2/%_tool.ver <tab>@echo done %.vf: <tab>RUN_VF $* %.ver: <tab>RUN_VER $* So, if I were to do something like:... (0 Replies)
Discussion started by: Harlinator
0 Replies

7. Shell Programming and Scripting

MakeFile Backup Target

Goal: I'm trying to create a PHONY target inside my Makefile so that when I run the command "make backup", It will move all the files that end in "~" into the specified backup folder. Here is my code currently, and I'll explain the problem after: .PHONY: backup backup: @mkdir -p... (2 Replies)
Discussion started by: Xploit
2 Replies

8. Programming

How to define dynamic Target/Prerequisite in Makefile?

I am writing a Makefile for Cobol on Linux.My sample Makefile looks like below. I do not want to Hardcode Program names in Makefile.Is there any way we can mention directories in Target and Prerequisites instead of File names sothat Makefile Pickup all the files in mentioned path as below.... (8 Replies)
Discussion started by: kiranksb
8 Replies

9. Shell Programming and Scripting

rsync delete specific files - from different target folder

Hi, I need to use rsync to delete multiple files(only specified files not all) using --delete option, these files are located in different target folders. Instead of running rsync command multiple times for each file, can we achieve this with one time execution? your help is much... (0 Replies)
Discussion started by: MVEERA
0 Replies

10. Programming

Makefile No rule to make target

I am trying to create a makefile to build a program and am getting the following error: make -f tsimplex.mk make: *** No rule to make target `/main/tsimplex_main.cpp', needed by `tsimplex_main.o'. Stop. OPSYS = $(shell uname -s ) TARGET = tsimplex ROOTDIR = ../../.. GTSDIR =... (1 Reply)
Discussion started by: kristinu
1 Replies
ml-makedepend(1)					      General Commands Manual						  ml-makedepend(1)

NAME
ml-makedepend - list files a ML program depends upon SYNOPSIS
ml-makedepend [ DU-options ] [ -n ] [ -f makefile ] project.cm target ml-makedepend [ DU-options ] [ -a arch ] [ -o os ] [ -f makefile ] project.cm target DESCRIPTION
This manual page documents briefly the ml-makedepend command. This manual page was written for the Debian distribution because the origi- nal program does not have a manual page. The ml-makedepend script is part of the SML/NJ CM (Compilation and Library Manager) that is used to generate a list of files that a ML program depends on for use by make. OPTIONS
A summary of options is included below. -n ml-makedepend usually uses the make variables $(ARCH) and $(OPSYS) in the filenames for the Makefile. This option disables this feature. -a arch Use arch in place of $(ARCH). -o os Use os in place of $(OPSYS). -f makefile Name of the makefile to be used rather than the default Makefile. -Dname=value Set CM variable to given value. -Dname Set CM variable to 1. -Uname Unset CM variable. SEE ALSO
sml(1), ml-lex(1), ml-build(1), ml-yacc(1). The programs are documented fully by CM: The SML/NJ Compilation and Library Manager, User Manual, Matthias Blume, which is available via <http://cm.bell-labs.com/cm/cs/what/smlnj/doc/CM/new.pdf>. AUTHOR
This manual page was written by Aaron Matthew Read <amread@nyx.net>, for the Debian GNU/Linux system (but may be used by others). October 25, 2002 ml-makedepend(1)
All times are GMT -4. The time now is 05:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy