File: Makefile.uClinux

package info (click to toggle)
pptpd 1.1.2-1.4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 636 kB
  • ctags: 510
  • sloc: ansic: 3,687; sh: 443; makefile: 81; perl: 70
file content (64 lines) | stat: -rw-r--r-- 1,690 bytes parent folder | download
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
62
63
64

TOP = ..

pptpd.VERSION = $(shell ./version -VERSION)
pptpd.PATCHLEVEL = $(shell ./version -PATCHLEVEL)
pptpd.SUBLEVEL = $(shell ./version -SUBLEVEL)

PACKAGE = pptpd

include $(TOP)/basic.mk
include $(TOP)/libs.mk
include $(TOP)/depend.mk
include $(TOP)/version.mk

CFLAGS += -include config.embed.h -DPACKAGE='"$(PACKAGE)"' -DVERSION='"$(pptpd.VERSION).$(pptpd.PATCHLEVEL).$(pptpd.SUBLEVEL)"'

EXEC1 = $(BUILD)/pptpd

OBJS1 = pptpd.o configfile.o pptpmanager.o compat.o getopt.o getopt1.o $(LIBRESOLV)

EXEC2 = $(BUILD)/pptpctrl

OBJS2 = pptpctrl.o ctrlpacket.o inststr.o compat.o pptpgre.o ppphdlc.o

all::		$(EXEC1) $(EXEC2)


$(EXEC1):	$(OBJS1)
		$(LINK)

$(EXEC2):	$(OBJS2)
		$(LINK)

clean::
		rm -f pptpctrl pptpd *.o

## DO NOT ADD BELOW THIS POINT, DEPS ARE AUTOMATICALLY ADDED
compat.o: compat.c config.embed.h compat.h our_syslog.h

configfile.o: configfile.c config.embed.h defaults.h configfile.h

ctrlpacket.o: ctrlpacket.c config.embed.h our_syslog.h pptpdefs.h \
 pptpctrl.h ctrlpacket.h compat.h

getopt.o: getopt.c config.embed.h our_getopt.h

getopt1.o: getopt1.c config.embed.h our_getopt.h

inststr.o: inststr.c config.embed.h inststr.h compat.h

ppphdlc.o: ppphdlc.c config.embed.h ppphdlc.h

pptpctrl.o: pptpctrl.c config.embed.h our_syslog.h inststr.h compat.h \
 pptpctrl.h pptpgre.h pptpdefs.h ctrlpacket.h defaults.h

pptpd.o: pptpd.c config.embed.h our_syslog.h configfile.h defaults.h \
 compat.h our_getopt.h pptpmanager.h

pptpgre.o: pptpgre.c config.embed.h our_syslog.h ppphdlc.h pptpgre.h \
 pptpdefs.h defaults.h compat.h

pptpmanager.o: pptpmanager.c config.embed.h our_syslog.h configfile.h \
 defaults.h pptpctrl.h pptpdefs.h pptpmanager.h compat.h