Results 1 to 2 of 2
hi all
how to use mozilla initialization utlity in make file.(gtk c)
i have to linkup some ".so" file direcly from the mozilla version library. in make file
is it ...
- 07-25-2007 #1Linux Newbie
- Join Date
- Feb 2007
- Location
- hyderabad, india
- Posts
- 247
make file
hi all
how to use mozilla initialization utlity in make file.(gtk c)
i have to linkup some ".so" file direcly from the mozilla version library. in make file
is it possible .
please help me
thank you in advance"Relationships are built on trust and communication"
- 07-25-2007 #2Linux Newbie
- Join Date
- Feb 2007
- Location
- hyderabad, india
- Posts
- 247
hi
i got a strange problem..
i have to write make file script for this am giving here my ideas in step wise.
it has to be run in make file...(gtk c, makefile).
1.mozilla -V | sed -e 's/\([^,]*\),.*/\L\1/' -e 's/ /-/'
this is to know current mozilla version.
and the output has to store in a variable or string
(for example "i")after this immediately...run the second step.
2.whereis i
this is to know where the current mozilla version is.. in our machine...( here it will tell EX: /usr/lib/mozilla-1.7.13)
it has to be stored in a variable or string.. let us say "j"
3.-Lj -lxpcom
instead of giving like this
"-L/usr/lib/mozilla-1.7.13 -lxpcom"
am giving "-Lj -lxpcom" dynamically..
here am including the libxpcom.so to the exe. in the make file. j=path of the current mozilla directiory(/usr/lib/mozilla-1.7.13)
so that each and every time when the exe running.. it will check the current version and adds library path..
this all how to write in make file(using linux script)
please help me
thank you in advance"Relationships are built on trust and communication"


Reply With Quote