aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@smyrno.hos.anvin.org>2005-12-04 17:07:19 -0800
committerH. Peter Anvin <hpa@smyrno.hos.anvin.org>2005-12-04 17:07:19 -0800
commit36c939ad738b5be930256b1792850c8d0c508277 (patch)
tree1c0e98e987b96fe8bf8190300cff535a680ce250
parent26995d091d2c6082ebd386bdc021742ab75589b7 (diff)
downloadlibucd-36c939ad738b5be930256b1792850c8d0c508277.tar.gz
Don't need length and mtime for this application
-rw-r--r--Makefile6
-rw-r--r--bin2c.pl7
2 files changed, 7 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 0d61fe5..0a0c8fc 100644
--- a/Makefile
+++ b/Makefile
@@ -110,13 +110,13 @@ gen/nametoucs_tab.c: gen/mk_nametoucs_tab gen/nametoucs.tab
gen/mk_nametoucs_tab
-$(LIB_FILE): $(LIB_OBJS)
+$(LIB_FILE): $(LIBOBJS)
rm -f $(LIB_FILE)
- $(AR) cq $(LIB_FILE) $(LIB_OBJS)
+ $(AR) cq $(LIB_FILE) $^
$(RANLIB) $(LIB_FILE)
$(SO_FILE): $(SO_OBJS)
- $(CC) $(SOFLAGS) -o $(SO_FILE) $(SO_OBJS)
+ $(CC) $(SOFLAGS) -o $(SO_FILE) $^
ifneq ($(SO_NAME),$(SO_FILE))
$(SO_NAME): $(SO_FILE)
diff --git a/bin2c.pl b/bin2c.pl
index 93907b9..eff5075 100644
--- a/bin2c.pl
+++ b/bin2c.pl
@@ -50,10 +50,11 @@ while ( ($n = read(STDIN, $data, 4096)) > 0 ) {
}
}
-printf "\n};\n\nunsigned int %s_len = %u;\n", $table_name, $total_len;
+printf "\n};\n";
-@st = stat STDIN;
-printf "\nint %s_mtime = %d;\n", $table_name, $st[9];
+# @st = stat STDIN;
+# printf "\nunsigned int %s_len = %u;\n", $table_name, $total_len;
+# printf "\nint %s_mtime = %d;\n", $table_name, $st[9];
exit 0;