# Copyright (c) 1992 AT&T - All rights reserved. # # Prototype BSDi Makefile for libframe # Courtesy of Boyd Roberts # # Define operating system type: -DBSDi # # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified # if your compiler supports posix-compatible compilation OS=-DBSDi # add -Iincludedir for any include directories that need to be searched # for posix header files (for UMIPS, add -I/usr/include/posix) INCS=-I../include -I/usr/include/posix # add name of library orderer - use ":" if none exists RANLIB=ranlib # add name of library AR=ar CFLAGS=-c $(OS) $(INCS) -D_LIBXG_EXTENSION LIB=libframe.a CC=cc OBJ=frbox.o frdelete.o frdraw.o frinit.o frinsert.o frptofchar.o\ frselect.o frstr.o frutil.o misc.o all: $(LIB) $(LIB): $(OBJ) $(AR) rv $(LIB) $(OBJ) $(RANLIB) $(LIB) clean: rm -f *.o nuke: clean rm -f $(LIB) install: $(LIB) $(OBJ): ../include/u.h ../include/libc.h ../include/frame.h