now i did it... automake broken to a point where i cant do anything...
Jasper Huijsmans
jasper at moongroup.com
Tue Jan 6 19:43:21 CET 2004
Op di 06-01-2004, om 17:51 schreef Danny Milosavljevic:
> gcc: cannot specify -o with -c or -S and multiple compilations
> make[2]: *** [xfce4_mixer-main.o] Fehler 1
> make[2]: Leaving directory `/var/cvs/xfce/new-cvs/xfce4/xfce4-mixer/src'
>
> happens because i added
> BM_DEPEND([XFCE_MCS_CLIENT], [libxfce4mcs-client-1.0], [4.0.0])
> to configure.ac
>
> and
> @LIBXFCE4MCS_CLIENT_CFLAGS@
> @LIBXFCE4MCS_CLIENT_LIBS@
> to src/Makefile.am
>
> in xfce4-mixer
>
> O_o
>
> Help ?
>
lol, you are learning a lot today ;-)
I think you believe all this automake stuff is magic, but it really
isn't.
For instance the BM_DEPEND macro simply uses pkg-config to set a few
variables, given a basename.
So,
BM_DEPEND([XFCE_MCS_CLIENT], [libxfce4mcs-client-1.0], [4.0.0])
will define XFCE_MCS_CLIENT_CFLAGS and XFCE_MCS_CLIENT_LIBS, which you
can use in Makefile.am as @XFCE_MCS_CLIENT_CFLAGS@ and
@XFCE_MCS_CLIENT_LIBS@, and not @LIBXFCE4_MCS_CLIENT_CFLAGS@ / _LIBS@,
like you did above.
Hope that helps ;-)
Jasper
More information about the Xfce4-dev
mailing list