1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
#
# Makefile for ofstd/libsrc
#
@SET_MAKE@
SHELL = /bin/sh
VPATH = @srcdir@:@top_srcdir@/include:@top_srcdir@/@configdir@/include
srcdir = @srcdir@
top_srcdir = @top_srcdir@
configdir = @top_srcdir@/@configdir@
include $(configdir)/@common_makefile@
oficonvdir = $(top_srcdir)/../oficonv
LOCALINCLUDES = -I$(oficonvdir)/include
LOCALDEFS =
objs = oflist.o ofstring.o ofcmdln.o ofconapp.o offname.o ofconsol.o ofthread.o \
ofcond.o ofstd.o ofcrc32.o ofdate.o oftime.o ofdatime.o oftimer.o \
ofconfig.o ofchrenc.o oftempf.o ofxml.o ofuuid.o offile.o offilsys.o \
ofmath.o oferror.o ofsockad.o ofrand.o ofstrutl.o ofipc.o ofwhere.o \
ofstub.o
library = libofstd.$(LIBEXT)
all: $(library)
$(library): $(objs)
$(AR) $(ARFLAGS) $@ $(objs)
$(RANLIB) $@
install: $(library)
$(configdir)/mkinstalldirs $(DESTDIR)$(libdir)
$(INSTALL_DATA) $(library) $(DESTDIR)$(libdir)/$(library)
$(RANLIB) $(DESTDIR)$(libdir)/$(library)
clean:
rm -f $(objs) $(library) $(TRASH)
distclean:
rm -f $(objs) $(library) $(DISTTRASH)
dependencies:
$(CXX) -MM $(defines) $(includes) $(CPPFLAGS) $(CXXFLAGS) *.cc > $(DEP)
include $(DEP)
|