#
#       Makefile for uspack
#
#       Copyright (C) 2000-2004 GFD Dennou Club. All rights reserved.
#

include ../../../Mkinclude

LIBNAME		= uspack
LIBFSRCS	= usgrph.c ussttl.c usspnt.c uspfit.c usdaxs.c usinit.c \
		  usiget.c usiqnp.c uslget.c uslqnp.c usrget.c usrqnp.c \
		  uspget.c uspqnp.c uscget.c uscqnp.c usurdl.c usurdt.c \
		  usxaxs.c usyaxs.c ususcl.c ususcu.c usxaxu.c usxaxl.c \
		  usyaxu.c usyaxl.c usxsub.c usysub.c csblbl.c uschvl.c \
		  usxoff.c usyoff.c uszdgt.c uswapz.c usaxcl.c usaxdv.c \
		  usaxlb.c usaxlg.c usaxnm.c usaxsc.c uspaxs.c usplbl.c \
		  uspnum.c usptmk.c uspttl.c ussaxs.c usxinz.c usyinz.c
LIBCSRCS	=
LIBSRCS		= $(LIBFSRCS) $(LIBCSRCS)
LIBFOBJS	= usgrph.o ussttl.o usspnt.o uspfit.o usdaxs.o usinit.o \
		  usiget.o usiqnp.o uslget.o uslqnp.o usrget.o usrqnp.o \
		  uspget.o uspqnp.o uscget.o uscqnp.o usurdl.o usurdt.o \
		  usxaxs.o usyaxs.o ususcl.o ususcu.o usxaxu.o usxaxl.o \
		  usyaxu.o usyaxl.o usxsub.o usysub.o csblbl.o uschvl.o \
		  usxoff.o usyoff.o uszdgt.o uswapz.o usaxcl.o usaxdv.o \
		  usaxlb.o usaxlg.o usaxnm.o usaxsc.o uspaxs.o usplbl.o \
		  uspnum.o usptmk.o uspttl.o ussaxs.o usxinz.o usyinz.o
LIBCOBJS	=
LIBOBJS		= $(LIBFOBJS) $(LIBCOBJS)


object: $(LIBOBJS)

library: archive ranlib

archive:
	@$(AR) $(ARFLAGS) $(LDCLLIBFILE) $(LIBOBJS)

ranlib:
	$(RANLIB) $(LDCLLIBFILE)

clean:
	$(RM) *.o *~
