# Makefile.in # # This file is part of the t1lib-package! See documentation and Readme files # of the t1lib-package for copyright restrictions. # # Targets provided: # all (default) # install # uninstall # clean # # Author: Rainer Menzner (Rainer.Menzner@web.de) # Date: 10/16/1998 # Last modified: 2001-04-01 # LIBTOOL=/usr/local/bin/libtool SHELL = /bin/sh CC = cc CPP = cc -E CFLAGS = -fno-common -DT1LIB_IDENT="\"5.1.1\"" -DGLOBAL_CONFIG_DIR="\"${prefix}/share/t1lib\"" OPTIONS = X_LIBS = -L/usr/X11R6/lib TOPSRC = .. XPM_LIB = -lXpm XLIB = -lXext -lX11 LDFLAGS = LDLIBS = -lm AR = ar rc RANLIB = ranlib RM = rm -f X_CFLAGS = -I/usr/X11R6/include YACC = @YACC@ LEX = @LEX@ LEXLIB = @LEXLIB@ INSTALL = /usr/bin/install -c -o root -g wheel INSTALL_PROGRAM = install -s -o root -g wheel -m 555 INSTALL_DATA = install -o root -g wheel -m 444 MKINSTALLDIRS = ../ac-tools/mkinstalldirs prefix = exec_prefix = ${prefix} includedir = ${prefix}/include bindir = ${exec_prefix}/bin datadir = ${prefix}/share libdir = ${exec_prefix}/lib mandir = ${prefix}/man/man1 manext = .1 no_x = # targets to build INCDIR = -I../lib TARGET1 = t1example1 TARGET2 = subset OBJS1 = \ t1example1.lo SRCS1 = \ t1example1.c OBJS2 = \ subset.lo SRCS2 = \ subset.c T1LIB = ../lib/libt1.la .SUFFIXES: .lo .c.lo: $(LIBTOOL) --mode=compile \ $(CC) $(INCDIR) -c $(CPPFLAGS) $(CFLAGS) $< all: $(TARGET1) $(TARGET2) $(TARGET1): $(OBJS1) ../lib/t1lib.h $(LIBTOOL) --mode=link \ $(CC) -o $(TARGET1) $(LDFLAGS) $(OBJS1) $(T1LIB) $(LDLIBS) $(TARGET2): $(OBJS2) ../lib/t1lib.h $(LIBTOOL) --mode=link \ $(CC) -o $(TARGET2) $(LDFLAGS) $(OBJS2) $(T1LIB) $(LDLIBS) .c.o: $(LIBTOOL) --mode=compile \ $(CC) $(INCDIR) -c $(CPPFLAGS) $(CFLAGS) $? .PHONY: clean dependencies: dummy gcc -MM *.c | sed 's/\.o:/.lo:/g' > .dependencies clean: dummy $(RM) $(TARGET1) $(TARGET2) *.o *.lo .libs/* *~ \#*\# *.log *.bak -rmdir .libs install: dummy uninstall: dummy dummy: # Dependencies of object files include .dependencies