*** empty log message ***

This commit is contained in:
hyung-hwan 2007-03-25 15:03:25 +00:00
parent 6cc1f06c1d
commit 4a41a281a3
4 changed files with 21 additions and 13 deletions

View File

@ -1,12 +1,12 @@
# #
# $Id: makefile.in,v 1.16 2007-03-25 15:02:54 bacon Exp $ # $Id: makefile.in,v 1.17 2007-03-25 15:03:25 bacon Exp $
# #
LIBDIRS=cmn awk lsp utl LIBDIRS=cmn awk lsp utl
MODE=@BUILDMODE@ MODE=@BUILDMODE@
all: libs incs all: libs #incs
incs: incs:
@for i in $(LIBDIRS); \ @for i in $(LIBDIRS); \

View File

@ -1,23 +1,26 @@
# #
# $Id: makefile.in,v 1.16 2007-03-24 05:02:52 bacon Exp $ # $Id: makefile.in,v 1.17 2007-03-25 15:02:54 bacon Exp $
# #
CC = @CC@ CC = @CC@
CFLAGS = @CFLAGS@ -I@abs_top_builddir@/.. CFLAGS = @CFLAGS@ -I@abs_top_builddir@/..
LDFLAGS = @LDFLAGS@ -L@abs_top_builddir@/@BUILDMODE@ LDFLAGS = @LDFLAGS@ -L@abs_top_builddir@/@BUILDMODE@/lib
LIBS = @LIBS@ -laseawk -lasecmn -laseutl -lm LIBS = @LIBS@ -laseawk -lasecmn -laseutl -lm
MODE = @BUILDMODE@ MODE = @BUILDMODE@
OUT_DIR = ../../$(MODE) OUT_DIR = ../../$(MODE)/bin
all: $(OUT_DIR)/aseawk $(OUT_DIR)/miniawk all: $(OUT_DIR)/aseawk $(OUT_DIR)/miniawk
$(OUT_DIR)/aseawk: $(OUT_DIR)/aseawk: $(OUT_DIR)
$(CC) $(CFLAGS) -o $@ awk.c $(LDFLAGS) $(LIBS) $(CC) $(CFLAGS) -o $@ awk.c $(LDFLAGS) $(LIBS)
$(OUT_DIR)/miniawk: $(OUT_DIR)/miniawk: $(OUT_DIR)
$(CC) $(CFLAGS) -o $@ mini.c $(LDFLAGS) $(LIBS) $(CC) $(CFLAGS) -o $@ mini.c $(LDFLAGS) $(LIBS)
$(OUT_DIR):
mkdir -p $(OUT_DIR)
clean: clean:
rm -rf $(OUT_DIR)/aseawk $(OUT_DIR)/miniawk rm -rf $(OUT_DIR)/aseawk $(OUT_DIR)/miniawk

View File

@ -1,20 +1,23 @@
# #
# $Id: makefile.in,v 1.11 2007-03-24 05:02:52 bacon Exp $ # $Id: makefile.in,v 1.12 2007-03-25 15:02:54 bacon Exp $
# #
CC = @CC@ CC = @CC@
CFLAGS = @CFLAGS@ -I@abs_top_builddir@/.. CFLAGS = @CFLAGS@ -I@abs_top_builddir@/..
LDFLAGS = @LDFLAGS@ -L@abs_top_builddir@/@BUILDMODE@ LDFLAGS = @LDFLAGS@ -L@abs_top_builddir@/@BUILDMODE@/lib
LIBS = @LIBS@ -laselsp -lasecmn -laseutl -lm LIBS = @LIBS@ -laselsp -lasecmn -laseutl -lm
MODE = @BUILDMODE@ MODE = @BUILDMODE@
OUT_DIR = ../../$(MODE) OUT_DIR = ../../$(MODE)/bin
all: $(OUT_DIR)/aselsp all: $(OUT_DIR)/aselsp
$(OUT_DIR)/aselsp: $(OUT_DIR)/aselsp: $(OUT_DIR)
$(CC) $(CFLAGS) -o $@ lsp.c $(LDFLAGS) $(LIBS) $(CC) $(CFLAGS) -o $@ lsp.c $(LDFLAGS) $(LIBS)
$(OUT_DIR):
mkdir -p $(OUT_DIR)
clean: clean:
rm -rf $(OUT_DIR)/aselsp rm -rf $(OUT_DIR)/aselsp

View File

@ -1,5 +1,5 @@
# #
# $Id: makefile.in,v 1.4 2007-03-24 04:39:52 bacon Exp $ # $Id: makefile.in,v 1.5 2007-03-25 15:02:54 bacon Exp $
# #
NAME = aseutl NAME = aseutl
@ -13,7 +13,7 @@ LDFLAGS = @LDFLAGS@
LIBS = @LIBS@ LIBS = @LIBS@
MODE = @BUILDMODE@ MODE = @BUILDMODE@
OUT_DIR = ../$(MODE) OUT_DIR = ../$(MODE)/lib
OUT_FILE = $(OUT_DIR)/lib$(NAME).a OUT_FILE = $(OUT_DIR)/lib$(NAME).a
TMP_DIR = $(MODE) TMP_DIR = $(MODE)
@ -23,6 +23,8 @@ OBJ_FILES = \
$(TMP_DIR)/ctype.o \ $(TMP_DIR)/ctype.o \
$(TMP_DIR)/stdio.o $(TMP_DIR)/stdio.o
lib: $(OUT_FILE)
$(OUT_FILE): $(OBJ_FILES) $(OUT_DIR) $(OUT_FILE): $(OBJ_FILES) $(OUT_DIR)
$(AR) cr $(OUT_FILE) $(OBJ_FILES) $(AR) cr $(OUT_FILE) $(OBJ_FILES)
if [ "$(RANLIB)" = "ranlib" ]; then ranlib $(OUT_FILE); fi if [ "$(RANLIB)" = "ranlib" ]; then ranlib $(OUT_FILE); fi