# SCCSID = "@(#)logmon.mak 1.2\t01/17/97" # VERID = "VER 1.2" # # ============================================================================= # Andrea Whitlock, Mobius Software Services # whitlock@mobius-soft.com # # Bug reports, questions, and suggestions should be emailed to: # mobius@mobius-soft.com # # This software is provided under the terms of the GNU copyleft # (ftp://prep.ai.mit.edu/pub/gnu/COPYING-2.0), without a warranty # of any kind. Use at your own risk. # ============================================================================= # configure me ################################################################ # compiler # uncomment the following for hpux #CC=cc # uncomment the following for linux and solaris CC=gcc # defines # uncomment the following for hpux #DEFINES = -D_INCLUDE_POSIX_SOURCE -D_INCLUDE_HPUX_SOURCE \ #-D_INCLUDE_XOPEN_SOURCE -D_INCLUDE_XOPEN_SOURCE_EXTENDED # uncomment the following for solaris DEFINES = -D__EXTENSIONS__ # flags for the compiler # uncomment the following for hpux #CFLAGS=-Aa -c $(DEFINES) #LDFLAGS=-W l,+vnocompatwarnings # uncomment the following for linux and solaris CFLAGS = -ansi -c -g $(DEFINES) # uncomment the following for solaris LDFLAGS=-lnsl -lsocket # configure me end ############################################################ all: logmon logmon: logmon.o uici.o $(CC) logmon.o uici.o $(LDFLAGS) -ologmon uici.o: uici.c uici.h $(CC) $(CFLAGS) uici.c -DUNIX_CLIENT logmon.o: logmon.c uici.c uici.h logmon.mak $(CC) $(CFLAGS) logmon.c clean: rm -f *.o core .DEFAULT: get $<