blob: 35cb9d0f000e7cd18ef29a91ecc8247a4f223471 (
plain) (
blame)
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
|
--- Makefile.orig Thu Apr 15 18:05:15 1999
+++ Makefile Tue Feb 14 16:19:17 2006
@@ -1,9 +1,9 @@
SHELL=/bin/sh
CC = gcc
C_FLAGS = -Wall -g -O2 -m486 -fno-strength-reduce
-GTK_CFLAGS = `gtk-config --cflags`
-GTK_LIBS = `gtk-config --libs`
-LFLAGS = $(GTK_LIBS) -lresolv -lXmu -lXt -lSM -lICE
+GTK_CFLAGS = `$(GTK_CONFIG) --cflags`
+GTK_LIBS = `$(GTK_CONFIG) --libs`
+LFLAGS = $(GTK_LIBS) -lXmu -lXt -lSM -lICE
PROGNAME = IglooFTP
PROGNAME-STATIC = IglooFTP-static
VERSION = 0.6.1
@@ -50,14 +50,14 @@
@if ! test -e $(SHARE_PATH)/app_ass; then \
echo "Making $(SHARE_PATH)/app_ass directory ..."; mkdir -m 0755 $(SHARE_PATH)/app_ass; \
else :; fi;
- /usr/bin/install -s -m 755 $(PROGNAME) $(BIN_PATH)
- /usr/bin/install -m 644 ../share/docs/* $(SHARE_PATH)/docs/
- /usr/bin/install -m 644 ../share/html/*.* $(SHARE_PATH)/html/
- /usr/bin/install -m 644 ../share/html/images/*.* $(SHARE_PATH)/html/images/
- /usr/bin/install -m 644 ../share/xpm/* $(SHARE_PATH)/xpm/
- /usr/bin/install -m 644 ../share/bookmarks/* $(SHARE_PATH)/bookmarks/
- /usr/bin/install -m 644 ../share/app_ass/* $(SHARE_PATH)/app_ass/
- /usr/bin/install -m 644 ../share/gtkrc $(SHARE_PATH)/gtkrc
+ ${BSD_INSTALL_PROGRAM} $(PROGNAME) $(BIN_PATH)
+ ${BSD_INSTALL_DATA} ../share/docs/* $(SHARE_PATH)/docs/
+ ${BSD_INSTALL_DATA} ../share/html/*.* $(SHARE_PATH)/html/
+ ${BSD_INSTALL_DATA} ../share/html/images/*.* $(SHARE_PATH)/html/images/
+ ${BSD_INSTALL_DATA} ../share/xpm/* $(SHARE_PATH)/xpm/
+ ${BSD_INSTALL_DATA} ../share/bookmarks/* $(SHARE_PATH)/bookmarks/
+ ${BSD_INSTALL_DATA} ../share/app_ass/* $(SHARE_PATH)/app_ass/
+ ${BSD_INSTALL_DATA} ../share/gtkrc $(SHARE_PATH)/gtkrc
@@ -111,7 +111,7 @@
@echo "#define COMPILE_TIME \"`date +%T`\"" >> version.h
@echo "#define COMPILE_BY \"`whoami`\"" >> version.h
@echo "#define COMPILE_HOST \"`hostname`\"" >> version.h
- @echo "#define GTK_VERSION \"GTK+ `gtk-config --version`\"" >> version.h
+ @echo "#define GTK_VERSION \"GTK+ `$(GTK_CONFIG) --version`\"" >> version.h
@echo "#define CC_VERSION \"`$(CC) -v 2>&1 | tail -1`\"">>version.h
@echo "#define CODE_LINES \"`cat *.c *.h | grep -ch -e \"[[:alpha:]|[:punct:]]\"`\"">>version.h
|