File: Makefile

package info (click to toggle)
roxen 1.2beta2-2
  • links: PTS
  • area: contrib
  • in suites: hamm
  • size: 16,948 kB
  • ctags: 8,589
  • sloc: ansic: 89,632; asm: 8,431; sh: 2,915; makefile: 1,787; cpp: 377
file content (67 lines) | stat: -rw-r--r-- 865 bytes parent folder | download | duplicates (2)
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
65
66
67
# For gcc
CC= cc
# For ANSI compilers
#CC= cc

#For Optimization
#CFLAGS= -O2
#For debugging
CFLAGS= -g
# For SCO ODT
#EXTRA_LIBS= -lcrypt_i

RM= /bin/rm -f
#--- You shouldn't have to edit anything else. ---

.c.o: 
	$(CC) -c $(CFLAGS) $<

all: htpasswd 

aux: $(OBJS)
	make all CC=gcc CFLAGS=-O2

aix3: $(OBJS)
	make all CC=gcc

aix4: $(OBJS)
	make all CC=gcc

sunos: $(OBJS)
	make all CC=gcc

solaris: $(OBJS)
	make all CC=gcc
hp-gcc: $(OBJS)
	make all CC=gcc

hp-cc:
	make all CC=cc CFLAGS=-Ae

sgi4: $(OBJS)
	make all CC=cc CFLAGS=-DHEAD_GETPASS

sgi5: $(OBJS)
	make all CC=cc

decmips: $(OBJS)
	make all CC=cc

decaxp: $(OBJS)
	make all CC=cc

netbsd: $(OBJS)
	make all CC=cc EXTRA_LIBS=-lcrypt

linux: $(OBJS)
	make all CC=gcc

svr4: $(OBJS)
	make all CC=cc

htpasswd: htpasswd.c
	$(CC) $(CFLAGS) htpasswd.c -o htpasswd $(EXTRA_LIBS)

clean:
	rm -f htpasswd