# Copyright (c) 1992 AT&T - All rights reserved. # # Prototype Aix Makefile for samterrm # Courtesy of Dan McDonald # # Define operating system type: -DAIX # # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified # if your compiler supports posix-compatible compilation OS=-DAIX -D_POSIX_SOURCE -D_ANSI_C_SOURCE # 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 # SAMTERM contains the name of the file containing the samterm # executable. SAMTERMDIR is the directory where it is installed. SAMTERM=samterm SAMTERMDIR=/usr/local/bin # set this if your X libraries are in different locations # or if you need extra libraries to load with X11 applications #XLIBS=/usr/local/X11R5/lib/libXt.a /usr/local/X11R5/lib/libX11.a ### AIX NOTE: THis is running under X11 R4, I believe. XLIBS= -lX11 -lXt -bl:lm.map CFLAGS=$(OS) $(INCS) -D_LIBXG_EXTENSION LIBS=../libframe/libframe.a ../libXg/libXg.a ### AIX NOTE: "xlc" is the ANSI C compiler. CC=xlc OBJ=main.o flayer.o icons.o io.o menu.o mesg.o rasp.o scroll.o unix.o all: samterm samterm: $(OBJ) $(LIBS) $(CC) -o samterm $(OBJ) $(LIBS) $(XLIBS) clean: rm -f *.o core nuke: clean rm -f samterm install: samterm cp samterm $(SAMTERMDIR)/$(SAMTERM) $(OBJ): samterm.h flayer.h ../include/frame.h ../include/libg.h ../include/u.h ../include/libc.h ../sam/mesg.h