SHELL = /bin/sh

###
include $(BUILDHOME)/buildprefs/make.pre
###

TARGET		= $(OBJ_DIR)/libm4.a

SRCS		= \
				regex.c \
				error.c \
				obstack.c \
				xmalloc.c \
				xstrdup.c

OBJS		= $(SRCS_LIST_TO_OBJS)

CFLAGS		+= -DHAVE_CONFIG_H

INCLUDES 	+= -I. -I..

MY_INSTALL_DIR	= $(BELIBRARIES)

$(TARGET):	$(OBJ_DIR) $(OBJS)
	$(AR) $(ARFLAGS) $@ $(OBJS)

###
include $(BUILDHOME)/buildprefs/make.post
###
