56 lines
876 B
Makefile
56 lines
876 B
Makefile
# $Id: Makefile.in,v 1.23 1999/03/10 19:01:11 joda Exp $
|
|
|
|
SHELL = /bin/sh
|
|
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
CC = @CC@
|
|
AR = ar
|
|
RANLIB = @RANLIB@
|
|
DEFS = @DEFS@
|
|
CFLAGS = @CFLAGS@ $(WFLAGS)
|
|
WFLAGS = @WFLAGS@
|
|
|
|
INSTALL = @INSTALL@
|
|
|
|
prefix = @prefix@
|
|
|
|
SOURCES = sockbuf.c buffer.c
|
|
OBJECTS = $(libcommon_OBJS)
|
|
|
|
libcommon_OBJS = sockbuf.o buffer.o
|
|
|
|
LIBNAME = $(LIBPREFIX)common
|
|
LIBEXT = a
|
|
LIBPREFIX = @LIBPREFIX@
|
|
LIB = $(LIBNAME).$(LIBEXT)
|
|
|
|
all: $(LIB)
|
|
|
|
.c.o:
|
|
$(CC) -c -I$(srcdir) -I../../../include $(DEFS) $(CFLAGS) $(CPPFLAGS) $<
|
|
|
|
$(LIB): $(libcommon_OBJS)
|
|
rm -f $@
|
|
ar cr $@ $(libcommon_OBJS)
|
|
-$(RANLIB) $@
|
|
|
|
install:
|
|
|
|
uninstall:
|
|
|
|
TAGS: $(SOURCES)
|
|
etags $(SOURCES)
|
|
|
|
clean cleandir:
|
|
rm -f *~ *.o libcommon.a core \#*
|
|
|
|
distclean:
|
|
rm -f Makefile
|
|
|
|
$(OBJECTS): ../../../include/config.h
|
|
|
|
.PHONY: all install uninstall clean cleandir distclean
|