Skip to content

Commit

Permalink
add support for lib/Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
synfinatic committed Oct 12, 2004
1 parent 7bfc02e commit 8dc99d8
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,7 @@ AC_SUBST(nic1)
AC_SUBST(nic2)

AC_OUTPUT(Makefile)
AC_OUTPUT(lib/Makefile)
AC_OUTPUT(test/Makefile)
AC_OUTPUT(test/config)
AC_OUTPUT(tcpreplay.spec)
20 changes: 20 additions & 0 deletions lib/Makefile.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
CC = @CC@
CFLAGS = @CFLAGS@
LDFLAGS = @LDFLAGS@
DEFS = @DEFS@
INCS = -I. @LNETINC@ @LPCAPINC@
LIBS = @LIBS@ @LNETLIB@ @LPCAPLIB@
LNAVLIB = @LNAVLIB@
LNAV_CFLAGS = @LNAV_CFLAGS@
SOURCES = strlcat.c strlcpy.c

.c.o:
$(CC) $(CFLAGS) $(DEFS) $(INCS) -c $*.c

all: $(SOURCES:.c=.o)

clean:
-rm *.o

distclean: clean
-rm *~ Makefile

0 comments on commit 8dc99d8

Please sign in to comment.