1997-03-26 02:14:02 +00:00
|
|
|
*** Makefile.orig Sun Jan 28 17:53:14 1996
|
|
|
|
--- Makefile Fri Mar 22 19:39:36 1996
|
|
|
|
***************
|
|
|
|
*** 5,28 ****
|
|
|
|
# HASSTRERROR - whether system has strerror() call
|
|
|
|
# LIBS - local libraries to link in (e.g. -lresolv)
|
|
|
|
|
|
|
|
! HASSTRDUP = # -DHAS_STRDUP
|
|
|
|
! HASSTRERROR = # -DHAS_STRERROR
|
|
|
|
LIBS = # -lresolv
|
|
|
|
|
1997-04-11 10:44:54 +00:00
|
|
|
! DEFINES = $(HASSTRDUP) $(HASSTRERROR) $(DEFAULT_DOMAIN)
|
1997-03-26 02:14:02 +00:00
|
|
|
|
|
|
|
! CFLAGS = $(DEFINES)
|
|
|
|
|
|
|
|
FILES = bulk_mailer.README INSTALL bulk_mailer.c patchlevel.h Makefile
|
|
|
|
|
|
|
|
bulk_mailer: bulk_mailer.o
|
|
|
|
$(CC) $(CFLAGS) -o bulk_mailer bulk_mailer.o $(LIBS)
|
|
|
|
|
|
|
|
bulk_mailer.o: bulk_mailer.c patchlevel.h
|
|
|
|
$(CC) -c $(CFLAGS) bulk_mailer.c
|
|
|
|
|
|
|
|
install: bulk_mailer
|
|
|
|
! cp bulk_mailer /usr/local/bin
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f bulk_mailer bulk_mailer.o
|
|
|
|
--- 5,32 ----
|
|
|
|
# HASSTRERROR - whether system has strerror() call
|
|
|
|
# LIBS - local libraries to link in (e.g. -lresolv)
|
|
|
|
|
|
|
|
! HASSTRDUP = -DHAS_STRDUP
|
|
|
|
! HASSTRERROR = -DHAS_STRERROR
|
|
|
|
LIBS = # -lresolv
|
|
|
|
|
1997-04-11 10:44:54 +00:00
|
|
|
! DEFINES = $(HASSTRDUP) $(HASSTRERROR) $(DEFAULT_DOMAIN) -DPIPECOMMAND='"/usr/sbin/sendmail -bs %s"'
|
1997-03-26 02:14:02 +00:00
|
|
|
|
|
|
|
! CFLAGS = -O2 -Wall $(DEFINES)
|
|
|
|
|
|
|
|
FILES = bulk_mailer.README INSTALL bulk_mailer.c patchlevel.h Makefile
|
|
|
|
|
|
|
|
+ all: bulk_mailer
|
|
|
|
+
|
|
|
|
bulk_mailer: bulk_mailer.o
|
|
|
|
$(CC) $(CFLAGS) -o bulk_mailer bulk_mailer.o $(LIBS)
|
|
|
|
+ strip bulk_mailer
|
|
|
|
|
|
|
|
bulk_mailer.o: bulk_mailer.c patchlevel.h
|
|
|
|
$(CC) -c $(CFLAGS) bulk_mailer.c
|
|
|
|
|
|
|
|
install: bulk_mailer
|
|
|
|
! install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} bulk_mailer ${PREFIX}/bin/bulk_mailer
|
|
|
|
! install -c -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} bulk_mailer.README ${PREFIX}/share/doc/bulk_mailer.README
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f bulk_mailer bulk_mailer.o
|