and run the "configure" script. "configure" automatically checks for
the source code in the directory that "configure" is in. For example,
- cd /usr/local/solaris/mmh
- /usr/local/src/mmh-0.1/configure
+ cd /usr/local/src/mmh # source directory
+ make clean
+ cd /usr/local/solaris/mmh # build directory
+ /usr/local/src/mmh/configure
make
---------------------
# all files in this directory included in the distribution
DIST = $(DIST_MAN1) $(DIST_MAN5) $(DIST_MAN7) $(DIST_MAN8) $(AUX)
-ALLPROGS = $(DIST_MAN1) $(DIST_MAN8)
+ALLPROGS = $(MAN1) $(MAN8)
# ========= DEFAULT TARGET ==========
CC = @CC@
CFLAGS = @CFLAGS@
DEFS = @DEFS@
-INCLUDES = -I$(top_srcdir) @CPPFLAGS@
+# add include dir . for sigmsg.h when building in different directory
+INCLUDES = -I$(top_srcdir) -I. @CPPFLAGS@
LEX = @LEX@
AWK = @AWK@
# Also, not all makes accept $< in non-pattern rules,
# hence the explicit filenames here.
dtimep.c: dtimep.lex
- $(LEX) -n -t $(srcdir)/dtimep.lex > dtimep.c
+ $(LEX) -n -t $(srcdir)/dtimep.lex > $@
pidstatus.o: sigmsg.h