From: Aurelio <sk...@us...> - 2006-07-20 18:24:17
|
Update of /cvsroot/zyxel630-11/amedyn/bridged In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv7211/bridged Modified Files: Makefile Log Message: By Mathias Gug (2004-01-24) https://sourceforge.net/tracker/index.php?func=detail&aid=883695&group_id=84006&atid=571424 This patch adds support for specifying an alternate root directory for the installation process. Also adds some new targets in the top level makefile, to make the compilation process completly independant from the installation process. Add support to configure against which kernel version module should be compiled. Index: Makefile =================================================================== RCS file: /cvsroot/zyxel630-11/amedyn/bridged/Makefile,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Makefile 12 Apr 2005 00:32:38 -0000 1.3 --- Makefile 20 Jul 2006 18:24:10 -0000 1.4 *************** *** 12,16 **** INCLUDES = -idirafter$(KERNEL_PATH)/include LDFLAGS = -latm -lresolv ! BIN_PATH = /usr/sbin EXE_FILES = br2684ctl --- 12,19 ---- INCLUDES = -idirafter$(KERNEL_PATH)/include LDFLAGS = -latm -lresolv ! ifndef RPM_BUILD_ROOT ! RPM_BUILD_ROOT = / ! endif ! BIN_PATH = $(RPM_BUILD_ROOT)/usr/sbin EXE_FILES = br2684ctl *************** *** 33,37 **** install_program: $(EXE_FILES) ! install -c -m 755 -p $(EXE_FILES) $(BIN_PATH) uninstall: --- 36,41 ---- install_program: $(EXE_FILES) ! install -d $(BIN_PATH) ! install -m 755 $(EXE_FILES) $(BIN_PATH) uninstall: |