source: src/router/rules/mc.mk @ 17599

Last change on this file since 17599 was 17599, checked in by BrainSlayer, 21 months ago

remove man files

File size: 1.8 KB
Line 
1export glib_cv_stack_grows=no
2export glib_cv_uscore=no
3#export ac_cv_path_GLIB_GENMARSHAL=$(STAGING_DIR_HOST)/bin/glib-genmarshal
4export ac_cv_func_mmap_fixed_mapped=yes
5export ac_cv_func_posix_getpwuid_r=no
6export ac_cv_func_posix_getgrgid_r=no
7#export GLIB_CONFIG=$(TOP)/glib-1.2.10-install/bin/glib-config
8export GLIB_CFLAGS=-I$(TOP)/glib20/libglib/glib
9
10mc-configure: ncurses
11        cd mc2/slang && ./configure --host=$(ARCH)-uclibc-linux CFLAGS="$(COPTS) -I$(TOP)/zlib -L$(TOP)/zlib -fPIC" --enable-shared \
12                --enable-static \
13                --enable-debug=no
14        make -C mc2/slang
15
16        cd mc2 && ./configure --host=$(ARCH)-uclibc-linux CFLAGS="$(COPTS) -DNEED_PRINTF -I$(TOP)/glib20/libglib/glib -I$(TOP)/glib20/libglib -I$(TOP)/mc2/slang/src" LDFLAGS="-L$(TOP)/ncurses/lib -L$(TOP)/mc2/slang/src/elf$(ARCH)objs -L$(TOP)/glib20/libglib/glib/.libs -lncurses" \
17        --with-included-gettext \
18        --with-ncurses \
19        --without-sco \
20        --without-sunos-curses \
21        --without-osf1-curses \
22        --without-vcurses \
23        --without-gpm-mouse \
24        --without-hsc \
25        --without-termnet \
26        --without-debug \
27        --without-efence \
28        --without-terminfo \
29        --without-termcap \
30        --with-slang-includes=$(TOP)/mc2/slang/src \
31        --with-slang-libs=$(TOP)/mc2/slang/src/elf$(ARCH)objs \
32        --without-ext2undel \
33        --without-catgets \
34        --without-x \
35        --without-tk \
36        --without-xview \
37        --disable-glibtest \
38        --prefix=/usr \
39
40#       --without-subshell \
41#       --without-netrc \
42#       --without-vfs \
43
44
45#       --with-glib-prefix="$(TOP)/mc/glib" \
46
47
48mc: ncurses
49        $(MAKE) -j 4 -C mc2
50
51mc-install:
52        install -D mc2/slang/src/elf$(ARCH)objs/libslang.so.2 $(INSTALLDIR)/mc/usr/lib/libslang.so.2
53        if test -e "mc2/Makefile"; then $(MAKE) -C mc2 install DESTDIR=$(INSTALLDIR)/mc; fi
54        rm -rf $(INSTALLDIR)/usr/share/man
55
56
57mc-clean: ncurses
58        if test -e "mc2/Makefile"; then $(MAKE) -C mc2 clean; fi
Note: See TracBrowser for help on using the repository browser.