source: trunk/athena/etc/track/Imakefile @ 11078

Revision 11078, 1.0 KB checked in by ghudson, 27 years ago (diff)
Build without libl.
RevLine 
[5327]1/*
[11078]2 * $Id: Imakefile,v 1.11 1998-01-26 06:23:11 ghudson Exp $
[5327]3 */
[4249]4
[5327]5#define ISUBDIRS doc
[4248]6
[5327]7OBJS= track.o y.tab.o stamp.o except.o files.o misc.o update.o cksum.o
[11078]8LIBS= $(OSLIBS)
[5327]9
[9887]10/* This is really gross.  Solaris 2.5.1 bumps the version number on
11 * libresolv, so anything built with -lresolv doesn't work during the
12 * update.  We put -lresolv in LDLIBS in the Athena imake templates so
13 * that programs using Hesiod can be built.  Take it out for track, so
14 * that we can run track during the update. */
15#ifdef SOLARIS
16LDLIBS=-lsocket -lnsl -lelf -ldl
17#endif
18
[5269]19#ifdef _AUX_SOURCE
20OSLIBS= -lc -lPW
21#endif
[7225]22#ifdef SOLARIS
[8243]23OSLIBS= -ladm -lmail -lbsd
[7225]24#endif
[4248]25
[5327]26SimpleProgram(track,$(OBJS),$(LIBS),$(ATHETCDIR))
[5269]27
[4248]28y.tab.c : sub_gram.y
[5328]29        yacc sub_gram.y
30        sed -e 's/char linebuf\[1024\]/char linebuf[2048]/' y.tab.c > y.tab.c1
31        rm -f y.tab.c
32        mv y.tab.c1 y.tab.c
[4248]33
[4249]34y.tab.o : y.tab.c lex.yy.c track.h
35
[4248]36lex.yy.c : input.l
37        @echo IGNORE FIVE "Non-Portable Character Class" WARNINGS --
38        lex input.l
39
[4249]40clean::
[5269]41        $(RM) a.out core *.o *~ y.tab.c lex.yy.c
Note: See TracBrowser for help on using the repository browser.