update to v1.31
This commit is contained in:
		
							
								
								
									
										10
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								Makefile
									
									
									
									
									
								
							| @@ -4,6 +4,12 @@ LDLIBS =	-lcrypt | ||||
| PREFIX = | ||||
| BINDIR =	$(PREFIX)/usr/sbin | ||||
|  | ||||
| ifeq ($(USE_SHADOW), 1) | ||||
| 	DEFS:=-DUSE_SHADOW | ||||
| else | ||||
| 	DEFS:= | ||||
| endif | ||||
|  | ||||
| all: sessmgr | ||||
| 	@echo "All done!" | ||||
|  | ||||
| @@ -11,10 +17,10 @@ sessmgr: sessmgr.o sha256.o | ||||
| 	$(CC) $(CFLAGS) $(LDLIBS) sessmgr.o sha256.o -o sessmgr | ||||
|  | ||||
| sessmgr.o: sessmgr.c | ||||
| 	$(CC) $(CFLAGS) -c sessmgr.c | ||||
| 	$(CC) $(CFLAGS) $(DEFS) -c sessmgr.c | ||||
|  | ||||
| sha256.o: sha256.c | ||||
| 	$(CC) $(CFLAGS) -c sha256.c | ||||
| 	$(CC) $(CFLAGS) $(DEFS) -c sha256.c | ||||
|  | ||||
| install: | ||||
| 	mkdir -p $(BINDIR) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user