File: Makefile.in

package info (click to toggle)
bulkmail 1.11-1
  • links: PTS
  • area: non-free
  • in suites: potato
  • size: 224 kB
  • ctags: 73
  • sloc: ansic: 1,046; makefile: 57
file content (40 lines) | stat: -rw-r--r-- 934 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# quick and dirty Makefile

# configuration parameters
# HASSTRDUP - whether system has strdup() call.  Ultrix, e.g., doesn't.
# HASSTRERROR - whether system has strerror() call
# LIBS - local libraries to link in (e.g. -lresolv)

     HASSTRDUP = # -DHAS_STRDUP
   HASSTRERROR = # -DHAS_STRERROR
          LIBS = # -lresolv


#DEFINES = $(HASSTRDUP) $(HASSTRERROR) $(DEFAULT_DOMAIN)
DEFINES = @DEFS@
LIBS = @LIBS@

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 $(DESTDIR)/usr/sbin

clean:
	rm -f bulk_mailer *.o

distclean: clean
	rm -f Makefile config.* *~

bulk_mailer.tar: 
	tar cf bulk_mailer.tar $(FILES)

#test: bulk_mailer
#	bulk_mailer -v -debug primate-talk-owner addrs </dev/null