summaryrefslogtreecommitdiff
blob: 68534cd61086e23c1c6631934d1773c9a72da2a4 (plain)
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
diff -uNr astmanproxy-1.28.2.ORIG/Makefile astmanproxy-1.28.2/Makefile
--- astmanproxy-1.28.2.ORIG/Makefile	2014-02-10 11:18:06.027132570 +0000
+++ astmanproxy-1.28.2/Makefile	2014-02-10 11:21:07.382135291 +0000
@@ -17,7 +17,7 @@
 
 CC := gcc
 INCLUDES :=
-PREFIX:= /usr/local
+PREFIX:= /usr
 BINDIR := $(DESTDIR)$(PREFIX)/sbin
 
 # For compilation dependencies
@@ -27,7 +27,7 @@
 LIBS := -lssl
 
 # Add -g below for debug/GDB symbols
-CFLAGS:=-Wall -O2 -D_REENTRANT -D_GNU_SOURCE -fPIC -Isrc/include -I/usr/include/openssl
+CFLAGS += -Wall -O2 -D_REENTRANT -D_GNU_SOURCE -fPIC -Isrc/include -I/usr/include/openssl
 
 ifeq (${OSARCH},Darwin)  
   LIBS+=-lresolv
@@ -62,7 +62,7 @@
 DEFINES+='-DMDIR="$(MODDIR)"' '-DPDIR="$(PERMDIR)"' '-DPFILE="$(PERMFILE)"'
 
 PROXYCERT := $(CERTDIR)/proxy-server.pem
-PROXYSSLCONF := $(CONFDIR)/proxy-ssl.conf
+PROXYSSLCONF := $(DESTDIR)$(CONFDIR)/proxy-ssl.conf
 
 CFLAGS += $(DEFINES)
 
@@ -76,7 +76,7 @@
 SRCS := $(MODS:%=src/%.c)
 HDRS := src/include/astmanproxy.h
 
-all: astmanproxy cert
+all: astmanproxy
 
 astmanproxy: $(OBJS) $(SOBJS)
 	$(CC) $(CFLAGS) -o $@ $(ASTLINK) $(OBJS) $(LIBS)