Revision 11078,
1.0 KB
checked in by ghudson, 27 years ago
(diff) |
Build without libl.
|
Rev | Line | |
---|
[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] | 7 | OBJS= track.o y.tab.o stamp.o except.o files.o misc.o update.o cksum.o |
---|
[11078] | 8 | LIBS= $(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 |
---|
| 16 | LDLIBS=-lsocket -lnsl -lelf -ldl |
---|
| 17 | #endif |
---|
| 18 | |
---|
[5269] | 19 | #ifdef _AUX_SOURCE |
---|
| 20 | OSLIBS= -lc -lPW |
---|
| 21 | #endif |
---|
[7225] | 22 | #ifdef SOLARIS |
---|
[8243] | 23 | OSLIBS= -ladm -lmail -lbsd |
---|
[7225] | 24 | #endif |
---|
[4248] | 25 | |
---|
[5327] | 26 | SimpleProgram(track,$(OBJS),$(LIBS),$(ATHETCDIR)) |
---|
[5269] | 27 | |
---|
[4248] | 28 | y.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] | 34 | y.tab.o : y.tab.c lex.yy.c track.h |
---|
| 35 | |
---|
[4248] | 36 | lex.yy.c : input.l |
---|
| 37 | @echo IGNORE FIVE "Non-Portable Character Class" WARNINGS -- |
---|
| 38 | lex input.l |
---|
| 39 | |
---|
[4249] | 40 | clean:: |
---|
[5269] | 41 | $(RM) a.out core *.o *~ y.tab.c lex.yy.c |
---|
Note: See
TracBrowser
for help on using the repository browser.