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

Revision 11078, 1.0 KB checked in by ghudson, 27 years ago (diff)
Build without libl.
Line 
1/*
2 * $Id: Imakefile,v 1.11 1998-01-26 06:23:11 ghudson Exp $
3 */
4
5#define ISUBDIRS doc
6
7OBJS= track.o y.tab.o stamp.o except.o files.o misc.o update.o cksum.o
8LIBS= $(OSLIBS)
9
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
19#ifdef _AUX_SOURCE
20OSLIBS= -lc -lPW
21#endif
22#ifdef SOLARIS
23OSLIBS= -ladm -lmail -lbsd
24#endif
25
26SimpleProgram(track,$(OBJS),$(LIBS),$(ATHETCDIR))
27
28y.tab.c : sub_gram.y
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
33
34y.tab.o : y.tab.c lex.yy.c track.h
35
36lex.yy.c : input.l
37        @echo IGNORE FIVE "Non-Portable Character Class" WARNINGS --
38        lex input.l
39
40clean::
41        $(RM) a.out core *.o *~ y.tab.c lex.yy.c
Note: See TracBrowser for help on using the repository browser.