mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-17 14:16:10 -06:00
26 lines
580 B
Text
26 lines
580 B
Text
if which pkg-config
|
|
then
|
|
sed -e "s@-I((INCLUDES))@`pkg-config --cflags-only-I gtk+-2.0`@g" uppsrc/Makefile.in >uppsrc/Makefile
|
|
sed -e "s@((INCLUDES))@`pkg-config --cflags-only-I gtk+-2.0|sed -e s/-I//g -e \"s/ /;/g\"`@g" GCC.bm.in >GCC.bm
|
|
else
|
|
sed -e "s@((INCLUDES))@@g" uppsrc/Makefile.in >uppsrc/Makefile
|
|
sed -e "s@((INCLUDES))@@g" GCC.bm.in >GCC.bm
|
|
fi
|
|
|
|
if [ ! -f /usr/lib/libdl.so ]
|
|
then
|
|
cd uppsrc
|
|
sed -e s/-ldl//g Makefile >Makefile2
|
|
rm Makefile
|
|
mv Makefile2 Makefile
|
|
cd ..
|
|
fi
|
|
|
|
if which gmake
|
|
then
|
|
gmake -C uppsrc
|
|
else
|
|
make -C uppsrc
|
|
fi
|
|
|
|
cp uppsrc/ide.out ./theide
|