"Fossies" - the Fresh Open Source Software archive

Member "t1lib-5.1.2/examples/Makefile.in" of archive t1lib-5.1.2.tar.gz:


# 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   = ../libtool
SHELL     = /bin/sh
CC        = @CC@
CPP       = @CPP@
CFLAGS    = @CFLAGS@
OPTIONS   = @OPTIONS@
X_LIBS    = @X_LIBS@
TOPSRC    = @top_srcdir@
XPM_LIB   = -lXpm
XLIB      = @X_PRE_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@
LDFLAGS   = @LDFLAGS@
LDLIBS    = @LDLIBS@ 
AR        = ar rc
RANLIB    = @RANLIB@
RM        = rm -f
X_CFLAGS  = @X_CFLAGS@
YACC      = @YACC@
LEX       = @LEX@
LEXLIB    = @LEXLIB@


INSTALL         = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA    = @INSTALL_DATA@
MKINSTALLDIRS   = @top_srcdir@/ac-tools/mkinstalldirs
prefix          = @prefix@
exec_prefix     = @exec_prefix@
includedir      = @includedir@
bindir          = @bindir@
datadir         = @datadir@
libdir          = @libdir@
mandir          = @mandir@/man1
manext          = .1
no_x            = @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