aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2015-05-18 14:57:15 +0200
committerLukas Nykryn <lnykryn@redhat.com>2015-05-18 14:58:15 +0200
commit76201baf7a731c936e57369549dd537bfcd6a191 (patch)
tree3dc5e960eab4bf69e3a94d04306909dd75976aa1 /src/Makefile
parent47474716189b5f4375b7ffd7d65a9b6162c5ce72 (diff)
downloadinitscripts-76201baf7a731c936e57369549dd537bfcd6a191.tar
initscripts-76201baf7a731c936e57369549dd537bfcd6a191.tar.gz
initscripts-76201baf7a731c936e57369549dd537bfcd6a191.tar.bz2
initscripts-76201baf7a731c936e57369549dd537bfcd6a191.tar.xz
initscripts-76201baf7a731c936e57369549dd537bfcd6a191.zip
remove ipcalc, it has its own package now
new upstream: https://github.com/nmav/ipcalc
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/Makefile b/src/Makefile
index aa9daa24..d4df499b 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,7 +1,7 @@
CFLAGS+=$(RPM_OPT_FLAGS) -Wall -D_GNU_SOURCE -fPIE
LDFLAGS+=$(RPM_LD_FLAGS) -pie -z relro -z now
-PROGS=usernetctl netreport usleep ipcalc \
+PROGS=usernetctl netreport usleep \
consoletype genhostid rename_device
CONSOLE_INIT_OBJS=console_init.o shvar.o
USLEEP_OBJS=usleep.o
@@ -10,9 +10,6 @@ mandir=/usr/share/man
all: $(PROGS)
-check: all
- ./ipcalc-tests
-
clean:
rm -f $(PROGS) *.o *~
@@ -21,7 +18,6 @@ install:
install -m 755 usleep $(ROOT)/usr/bin/usleep
install -m 4755 usernetctl $(ROOT)/usr/sbin/usernetctl
install -m 2755 netreport $(ROOT)/usr/sbin/netreport
- install -m 755 ipcalc $(ROOT)/usr/bin/ipcalc
install -m 755 genhostid $(ROOT)/usr/sbin/genhostid
install -m 755 consoletype $(ROOT)/usr/sbin/consoletype
install -m 755 sushell $(ROOT)/usr/sbin/sushell
@@ -30,15 +26,11 @@ install:
install -m 644 netreport.1 $(ROOT)$(mandir)/man1
install -m 644 usleep.1 $(ROOT)$(mandir)/man1
install -m 644 usernetctl.8 $(ROOT)$(mandir)/man8
- install -m 644 ipcalc.1 $(ROOT)$(mandir)/man1
install -m 644 consoletype.1 $(ROOT)$(mandir)/man1
install -m 644 ifup.8 $(ROOT)$(mandir)/man8
install -m 644 sushell.8 $(ROOT)$(mandir)/man8
ln -s ifup.8 $(ROOT)$(mandir)/man8/ifdown.8
-ipcalc: ipcalc.o
- $(CC) -D_GNU_SOURCE $(LDFLAGS) -o $@ $< -lpopt
-
usleep: $(USLEEP_OBJS)
$(CC) $(LDFLAGS) -o $@ $(USLEEP_OBJS) -lpopt