10-04-2006
As in, convert makefiles to Microsoft Visual Studio project files?
Not really. Makefiles are a language, not a configuration file. It's not difficult to put configuration in a language, so they've done the reverse -- dsp to makefile -- but shoehorning a language into a configuration file is pretty futile.
The compilers, libraries, etc. a makefile probably expects are likely pretty alien to any Windows system, as well. Even if you somehow magically import it, Windows doesn't have compiler flags like -lpthread.
10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
Not sure if this is the right place to be posting this. If not, let me know where it fits. I am running RedHat Linux 8.0. I've recently acquired a Sony Mavica digital camera. In short, this thing is awesome (uses cd-rw!). I have been taking high quality images, but I now have the need to try... (2 Replies)
Discussion started by: deckard
2 Replies
2. Programming
When we run the make utility , make compiles only those files which are undergone changes(other files which have not undergone any changes are not recompiled)
The Following quotes says
When you run the make utility, it examines the modification times of files and determines what needs to be... (4 Replies)
Discussion started by: victorvvk
4 Replies
3. Programming
I wrote a makefile, every thing is working fine,
But One of the C header files which is created by me is kept in a different folder other than the current directory,
I have given this PATH to VPATH Variable
Example :- VPATH = /home/user1/projects/victor.h
It gives an error as : file... (4 Replies)
Discussion started by: victorvvk
4 Replies
4. Solaris
Hi Guys,
I m very confused about the make/makefile utility in all unix.
1) My questions is why we need make.
2) Why some source code needs to complile.
3) I download the Bind 9 from Sunfreeware.com. I use pkgadd -d to install the bind. I 'm struck here becasue I can't find /etc/named.conf... (2 Replies)
Discussion started by: bigmoon
2 Replies
5. Solaris
(Sorry for previous not on enlish! I did not realized it is english forum. )
I am looking for help with Make utility. I could not get help from the 'man' pages.
1. About Macro (as a variable): It is clear about defining any macro in beginning or in command line, but isn't it no way to redefine... (0 Replies)
Discussion started by: alex_5161
0 Replies
6. UNIX and Linux Applications
Hello all
i have server that needs to add the ability to convert rtf files to pdf
what you recommend me to use ( not open office please )
its spouse to process lots of files .
something i can wrap in code and use (2 Replies)
Discussion started by: umen
2 Replies
7. UNIX for Dummies Questions & Answers
Hi want to know the syntax of printing something (value or variable) in GNU make utility. I give this in the Makefile:
echo "Hi"
OR
@echo "Hi"
But I only get error this when I run make (at the line where I have echo):
Makefile:9: *** missing separator. Stop.
Whats the problem? How can... (2 Replies)
Discussion started by: radiatejava
2 Replies
8. Programming
Hi,
Could someone tell me why make utility is mostly preferred for compilation and generating executable in UNIX rather than any user created scripts which contains commands for compilation? (2 Replies)
Discussion started by: naan
2 Replies
9. Slackware
I am having problems using soundes. Until a few moments ago
the following commands produced errors and no sound:
cat /usr/share/apps/kolf/sounds/blackhole.wav/ > /dev/dsp yielded:
/dev/dsp: Invalid argument
cat /usr/share/apps/kolf/sounds/blackhole.wav > /dev/audio yelded:
/dev/audio:... (3 Replies)
Discussion started by: slak0
3 Replies
10. UNIX for Dummies Questions & Answers
Hello,
I'm a recent convert to UNIX and I'm attempting to understand exactly how the make utility is working under the hood.
Now, I understand that each rule has a target, dependencies, and update command, but the thing I'm confused about is exactly how the utility is determining when to... (1 Reply)
Discussion started by: kramer_102
1 Replies
LEARN ABOUT OPENSOLARIS
ypmap2src
ypmap2src(1M) System Administration Commands ypmap2src(1M)
NAME
ypmap2src - convert NIS maps to NIS source files
SYNOPSIS
/usr/lib/netsvc/yp/ypmap2src [-t]
[ [-c custom-map-name]]... [-d domain] -o output-directory
[ [ source-file]]...
DESCRIPTION
Use the ypmap2src utility to convert standard NIS maps to approximations of the equivalent NIS source files. This utility functions like
the reverse of ypmake(1M).
The primary use for ypmap2src is to convert from a NIS server that uses the NIS to LDAP(N2L) transition mechanism, which does not use NIS
source files, to traditional NIS, where source files are required. The ypmap2src utility is also used by NIS administrators who wish to
discover the contents of NIS maps for which the sources are not available.
Generally, this operation is not necessary. More often, administrators will switch from traditional NIS to N2L in anticipation of the even-
tual transition to LDAP naming. When this switch is made, authoritative information is moved into the LDAP DIT, and the NIS sources have no
further role. N2L supports NIS clients until such time as they can be converted to LDAP, and the NIS service suspended.
The ypmap2src utility does not guarantee that the files that are generated are identical to the original NIS source files. Some information
might have been thrown away by ypmake and cannot be recovered. N2L also might have updated the maps to reflect changes made by LDAP
clients. It is essential that the sources generated are checked to confirm no problems have occurred.
Per entry comment fields, from existing source files, are not merged into source files generated by ypmap2src. If a user wishes N2L to
maintain comment information, then the NISLDAPmapping configuration file should be modified so that the comment fields are mapped into
LDAP. This will ensure that the comments are visible to native LDAP clients and present in the N2L map files.
When ypmap2src is run, it will take up-to-date comments from the map file and insert them into the NIS source file generated.
Handling Custom Maps
ypmap2src only knows about the standard NIS maps and standard source to map conversion. If an advanced user has changed these, that is, the
user has modified the NIS makefile, the equivalent changes must also be made to the ypmap2src script.
OPTIONS
ypmap2src supports the following options:
-c Specifies that custom-map-name should be converted to a source file by running makedbm -u on it. This is a short
cut so that simple custom maps can be handled without editing ypmap2src.
-d domain-name Specifies the domain to convert. The domain-name can be a fully qualified file path, such as /var/yp/a.b.c, or just a
domain name, a.b.c. In the latter case, ypmaptosrc looks in /var/yp for the domain directory.
-o dest Specifies the destination directory for the converted files. A directory other than /etc should be specified. The maps
generated are copied to the correct location, /etc, /etc/security or other source directory, as appropriate.
-t Specifies that traditional NIS maps, without N2L's LDAP_ prefix, should be converted. By default, maps with the LDAP_
prefix are converted.
OPERANDS
ypmap2src supports the following operands:
source-file Lists the standard source files to convert. If this option is not given, then all the standard source files, plus any custom
files pecified by the -c option, are converted.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWypu |
+-----------------------------+-----------------------------+
|Interface Stability |Obsolete |
+-----------------------------+-----------------------------+
SEE ALSO
ypmake(1M), ypserv(1M), NISLDAPmapping(4), attributes(5)
SunOS 5.11 10 Apr 2003 ypmap2src(1M)