-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.in
More file actions
61 lines (51 loc) · 1.57 KB
/
Makefile.in
File metadata and controls
61 lines (51 loc) · 1.57 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#Neostats Module Makefile!
CC = @CC@
CFLAGS = @CFLAGS@
LDFLAGS= @LDFLAGS@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
DIRECTORY = @DIRINST@/modules/
INCLUDES = -I@DIRINST@/include/ -I.
SRCS= seenserv.c seenserv_help.c events.c seen.c
OBJS= ${SRCS:.c=.o}
TARGET= seenserv.so
DOCS=README.SeenServ
DATA=
SCRIPTS=
DISTFILES=$(SRCS) $(DOCS) $(SCRIPTS) *.in configure install-sh ChangeLog *.h LICENSE RELNOTES seenserv.vcproj modconfigwin32.h
DISTDIR= @PACKAGE@-@VERSION@
all: module
@echo "Compilation complete."
@echo "Run 'make install' (or 'gmake install' on some systems) to install."
@echo "If you require support, see the README file."
# include dependency info
@MAKEDEPENDENCIES@
.c.o:
$(CC) -c $(CFLAGS) $(INCLUDES) $<
$(CC) -MM $(INCLUDES) -c $< > $*.d
module: $(OBJS)
$(LD) -shared -o $(TARGET) $(OBJS) $(LDFLAGS)
clean:
/bin/rm -rf $(TARGET) *.o *.d Makefile *.log modconfig.h
distclean:
/bin/rm -rf $(TARGET) *.o *.d Makefile *.log modconfig.h config.status configure.scan
install: module
$(INSTALL) -m 644 $(TARGET) $(DIRECTORY)
$(INSTALL) -m 644 $(DOCS) $(DIRECTORY)../doc/
@echo "Installation complete."
@echo "See the README file for instructions on loading this module."
dist:
@echo -n "Creating directories"
@-rm -rf $(DISTDIR)
@mkdir $(DISTDIR)
@echo "Done"
@echo -n "Copying distribution files"
@for file in $(DISTFILES); do \
echo -n "."; \
cp -pr $$file $(DISTDIR)/$$file; \
done
@echo "Done"
@tar -czf $(DISTDIR).tar.gz $(DISTDIR)/*
@echo "Tar file $(DISTDIR).tar.gz created, Freshmeat Time"
$(OBJS): Makefile