Yes, the default location is /usr/lib/pkgconfig
But they can be anywhere as long as PKG_CONFIG_PATH is set.

George Brink


--- On Mon, 5/27/13, Antonio Scuri <antonio.sc...@gmail.com> wrote:

> From: Antonio Scuri <antonio.sc...@gmail.com>
> Subject: Re: [Iup-users] iup.pc
> To: "'IUP discussion list.'" <iup-users@lists.sourceforge.net>
> Date: Monday, May 27, 2013, 10:52 AM
>   Hi,
> 
>   Where these files go? I mean they must be copied to
> the system somewhere
> right?
> 
> Best,
> Scuri
> 
> > -----Original Message-----
> > From: George Brink [mailto:siberian...@yahoo.com]
> > Sent: sexta-feira, 24 de maio de 2013 15:55
> > To: iup-users@lists.sourceforge.net
> > Subject: [Iup-users] iup.pc
> > 
> > I came from the GTK world and I do like to use
> pkg-config in my makefiles.
> > Since I do not see a .pc file for the IUP, I suggest we
> create one (or
> two) Here
> > are my:
> > ------- iup.pc ----------
> > prefix=/usr/local
> > exec_prefix=${prefix}
> > libdir=${prefix}/lib
> > includedir=${prefix}/include
> > 
> > Name: IUP
> > Description: Portable toolkit for building graphical
> user interfaces.
> > Version: 3.8
> > Requires:
> > Libs: -L${libdir} -liup
> > Cflags: -I${includedir}
> > -----------------
> > 
> > ------- iup-scintilla.pc ----------
> > prefix=/usr/local
> > exec_prefix=${prefix}
> > libdir=${prefix}/lib
> > includedir=${prefix}/include
> > 
> > Name: IUP Scintilla
> > Description: Scintilla syntax parser for IUP
> > Version: 3.8
> > Requires: iup >= 3.8
> > Libs: -L${libdir} -liup_scintilla
> > Cflags: -I${includedir}
> > -----------------
> > 
> > 
> > And then I can do a makefile like this:
> > ---------- makefile ---------------
> > ifeq ($(OS),Windows_NT)
> > target_suffix=.exe
> > winlibs =-lgdi32 -lcomdlg32 -lcomctl32 -luuid -lole32
> -limm32 endif
> > 
> > iup-scintilla$(target_suffix): scintilla.o
> >     g++ -o$@ $^ $(shell pkg-config
> --libs iup-scintilla) $(winlibs)
> > 
> > %.o: %.c
> >     gcc -o$@ $< -c $(shell pkg-config
> --cflags iup-scintilla)
> > -----------------
> > 
> > 
> > Thoughts?
> > 
> > George Brink
> > 
> >
> ----------------------------------------------------------------------------
> --
> > Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only
> SaaS-
> > based application performance monitoring service that
> delivers powerful
> full
> > stack analytics. Optimize and monitor your browser,
> app, & servers with
> just a
> > few lines of code. Try New Relic and get this awesome
> Nerd Life shirt!
> > http://p.sf.net/sfu/newrelic_d2d_may
> > _______________________________________________
> > Iup-users mailing list
> > Iup-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/iup-users
> 
> 
> ------------------------------------------------------------------------------
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance
> monitoring service 
> that delivers powerful full stack analytics. Optimize and
> monitor your
> browser, app, & servers with just a few lines of code.
> Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
> 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to