Permalink
Browse files

Adding utility netcalc.

  • Loading branch information...
1 parent 2742557 commit 5e300031c5cc78f1e1b33d30cd1eced133f32054 @syzdek committed Aug 6, 2011
Showing with 404 additions and 5 deletions.
  1. +8 −1 Makefile.am
  2. +1 −0 src/.gitignore
  3. +0 −4 src/common.h
  4. +388 −0 src/netcalc.c
  5. +7 −0 src/netcalc.mak
View
@@ -39,7 +39,7 @@ DEFS = -DLOCALEDIR="\"$(localedir)\"" @DEFS@
# automake targets
-bin_PROGRAMS = src/bindump src/bitcopy src/bitops src/colors src/dmsversion src/numconvert src/typedef-info
+bin_PROGRAMS = src/bindump src/bitcopy src/bitops src/colors src/dmsversion src/netcalc src/numconvert src/typedef-info
include_HEADERS = include/dms.h include/dmsversion.h
lib_LTLIBRARIES = lib/libdms.la
noinst_PROGRAMS =
@@ -109,6 +109,13 @@ src_dmsversion_SOURCES = $(noinst_HEADERS) \
src/dmsversion.c
+# macros for src/netcalc
+src_netcalc_DEPENDENCIES = $(lib_LTLIBRARIES) Makefile
+src_netcalc_CPPFLAGS = -DPROGRAM_NAME="\"netcalc\"" $(AM_CPPFLAGS)
+src_netcalc_SOURCES = $(noinst_HEADERS) \
+ src/netcalc.c
+
+
# macros for src/numconvert
src_numconvert_DEPENDENCIES = $(lib_LTLIBRARIES) Makefile
src_numconvert_CPPFLAGS = -DPROGRAM_NAME="\"numconvert\"" $(AM_CPPFLAGS)
View
@@ -3,6 +3,7 @@ bitcopy
bitops
codetagger
colors
+netcalc
numconvert
posixregex
recurse-beta
View
@@ -82,9 +82,5 @@
#define PACKAGE_VERSION ""
#endif
-#ifndef PROGRAM_NAME
-#define PROGRAM_NAME ""
-#endif
-
#endif
/* end of header */
Oops, something went wrong.

0 comments on commit 5e30003

Please sign in to comment.