Lines 108-114
Link Here
|
108 |
|
108 |
|
109 |
INSTALL_PREFIX := /usr |
109 |
INSTALL_PREFIX := /usr |
110 |
|
110 |
|
111 |
CFLAGS+=-I. -O4 -g -fPIC -Wall |
111 |
CFLAGS+=-I. -Iinclude -g -fPIC -Wall |
112 |
ifneq (,$(findstring ppc,$(MACHINE))) |
112 |
ifneq (,$(findstring ppc,$(MACHINE))) |
113 |
CFLAGS += -fsigned-char |
113 |
CFLAGS += -fsigned-char |
114 |
KFLAGS += -msoft-float -fsigned-char |
114 |
KFLAGS += -msoft-float -fsigned-char |
Lines 391-397
Link Here
|
391 |
else # DYNFS |
391 |
else # DYNFS |
392 |
ifdef UDEVRULES |
392 |
ifdef UDEVRULES |
393 |
install -d $(DESTDIR)/etc/udev/rules.d |
393 |
install -d $(DESTDIR)/etc/udev/rules.d |
394 |
build_tools/genudevrules > $(DESTDIR)/etc/udev/rules.d/zaptel.rules |
394 |
build_tools/genudevrules > zaptel.rules |
|
|
395 |
install -D -m 644 zaptel.rules $(DESTDIR)/etc/udev/rules.d/10-zaptel.rules |
395 |
else # !UDEVRULES |
396 |
else # !UDEVRULES |
396 |
@echo "**** Dynamic filesystem detected -- not creating device nodes" |
397 |
@echo "**** Dynamic filesystem detected -- not creating device nodes" |
397 |
endif |
398 |
endif |
Lines 406-412
Link Here
|
406 |
tar -zxf mISDNuser.tar.gz |
407 |
tar -zxf mISDNuser.tar.gz |
407 |
$(MAKE) -C mISDNuser install |
408 |
$(MAKE) -C mISDNuser install |
408 |
|
409 |
|
409 |
install: all devices install-modules install-programs firmware |
410 |
install: devices install-modules install-programs firmware |
410 |
@echo "###################################################" |
411 |
@echo "###################################################" |
411 |
@echo "###" |
412 |
@echo "###" |
412 |
@echo "### Zaptel installed successfully." |
413 |
@echo "### Zaptel installed successfully." |
Lines 460-470
Link Here
|
460 |
rm -f $(DESTDIR)$(MODS_DIR)/wcfxsusb.o |
461 |
rm -f $(DESTDIR)$(MODS_DIR)/wcfxsusb.o |
461 |
endif |
462 |
endif |
462 |
rm -f $(DESTDIR)$(MODS_DIR)/wcfxs.o |
463 |
rm -f $(DESTDIR)$(MODS_DIR)/wcfxs.o |
463 |
[ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || : |
|
|
464 |
|
464 |
|
465 |
install-libs: libs |
465 |
install-libs: libs |
466 |
install -D -m 755 $(LIBTONEZONE_SO) $(DESTDIR)$(LIBDIR)/$(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER) |
466 |
install -D -m 755 $(LIBTONEZONE_SO) $(DESTDIR)$(LIBDIR)/$(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER) |
467 |
[ `id -u` = 0 ] && /sbin/ldconfig || : |
467 |
[ `id -u` = 0 ] && /sbin/ldconfig -n $(DESTDIR)/usr/lib || : |
468 |
rm -f $(DESTDIR)$(LIBDIR)/$(LIBTONEZONE_SO) |
468 |
rm -f $(DESTDIR)$(LIBDIR)/$(LIBTONEZONE_SO) |
469 |
ln -sf $(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER) \ |
469 |
ln -sf $(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER) \ |
470 |
$(DESTDIR)$(LIBDIR)/$(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER) |
470 |
$(DESTDIR)$(LIBDIR)/$(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER) |