1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../zaptel/split_make_install.patch
5 # Copyright (C) 2007 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- zaptel-1.4.1/Makefile.orig 2007-03-30 14:16:27.000000000 +0000
18 +++ zaptel-1.4.1/Makefile 2007-03-30 14:20:53.000000000 +0000
20 all: menuselect.makeopts
23 -_all: $(if $(BUILD_MODULES),modules) programs $(LTZ_SO) $(LTZ_A)
24 +_all: programs $(LTZ_SO) $(LTZ_A)
27 ifeq (yes,$(BUILD_XPP))
30 $(CC) $(CFLAGS) -o $@ -c $<
32 -install: all devices install-modules install-libs install-include install-xpp
33 +install: devices install-libs install-include install-xpp
34 ifeq ($(HOTPLUG_FIRMWARE),yes)
35 $(MAKE) -C firmware hotplug-install
39 $(INSTALL) -m 644 doc/ztcfg.8 $(INSTALL_PREFIX)/usr/share/man/man8
40 $(INSTALL) -m 644 doc/zttool.8 $(INSTALL_PREFIX)/usr/share/man/man8
41 - [ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || :
42 [ -f $(CONFIG_FILE) ] || $(INSTALL) -D -m 644 zaptel.conf.sample $(CONFIG_FILE)
43 - build_tools/genmodconf $(BUILDVER) "$(ROOT_PREFIX)" "$(filter-out zaptel ztdummy xpp zttranscode ztdynamic,$(BUILD_MODULES)) $(MODULE_ALIASES)"
44 - @if [ -d /etc/modutils ]; then \
45 - /sbin/update-modules ; \
48 install-libs: $(LTZ_SO) $(LTZ_A)
49 $(INSTALL) -D -m 755 $(LTZ_A) $(LIB_DIR)/$(LTZ_A)