1
0

Makefile.uClinux 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. PACKAGE = pptpd
  2. EXEC1 = pptpd
  3. OBJS1 = pptpd.o configfile.o pptpmanager.o compat.o getopt.o getopt1.o $(LIBRESOLV)
  4. EXEC2 = pptpctrl
  5. OBJS2 = pptpctrl.o ctrlpacket.o inststr.o compat.o pptpgre.o ppphdlc.o
  6. EXEC3 = bcrelay
  7. OBJS3 = bcrelay.o
  8. CFLAGS += -include config.embed.h -DPACKAGE='"$(PACKAGE)"' -DVERSION='"$(pptpd.VERSION).$(pptpd.PATCHLEVEL).$(pptpd.SUBLEVEL)"'
  9. FLTFLAGS += -s 8192
  10. ifdef BUILD_NETtel
  11. CFLAGS += -DCONFIG_NETtel
  12. endif
  13. all: $(EXEC1) $(EXEC2) $(EXEC3)
  14. $(EXEC1): $(OBJS1)
  15. $(CC) $(LDFLAGS) -o $@ $(OBJS1) $(LDLIBS)
  16. $(EXEC2): $(OBJS2)
  17. $(CC) $(LDFLAGS) -o $@ $(OBJS2) $(LDLIBS)
  18. $(EXEC3): $(OBJS3)
  19. $(CC) $(LDFLAGS) -o $@ $(OBJS3) $(LDLIBS)
  20. clean:
  21. -rm -f $(EXEC1) $(EXEC2) $(EXEC3) *.elf *.o
  22. ## DO NOT ADD BELOW THIS POINT, DEPS ARE AUTOMATICALLY ADDED
  23. bcrelay.o: bcrelay.c config.embed.h defaults.h our_syslog.h our_getopt.h
  24. compat.o: compat.c config.embed.h compat.h our_syslog.h inststr.h
  25. configfile.o: configfile.c config.embed.h defaults.h configfile.h \
  26. our_syslog.h
  27. ctrlpacket.o: ctrlpacket.c config.embed.h our_syslog.h pptpdefs.h \
  28. pptpctrl.h ctrlpacket.h compat.h
  29. getopt.o: getopt.c config.embed.h our_getopt.h
  30. getopt1.o: getopt1.c config.embed.h our_getopt.h
  31. inststr.o: inststr.c config.embed.h inststr.h compat.h
  32. ppphdlc.o: ppphdlc.c config.embed.h ppphdlc.h
  33. pptpctrl.o: pptpctrl.c config.embed.h our_syslog.h compat.h pptpctrl.h \
  34. pptpgre.h pptpdefs.h ctrlpacket.h defaults.h
  35. pptpd.o: pptpd.c config.embed.h our_syslog.h our_getopt.h configfile.h \
  36. defaults.h compat.h pptpmanager.h
  37. pptpgre.o: pptpgre.c config.embed.h our_syslog.h ppphdlc.h pptpgre.h \
  38. pptpdefs.h pptpctrl.h defaults.h pqueue.h compat.h
  39. pptpmanager.o: pptpmanager.c config.embed.h our_syslog.h configfile.h \
  40. defaults.h pptpctrl.h pptpdefs.h pptpmanager.h compat.h
  41. pqueue.o: pqueue.c config.embed.h pqueue.h