forked from huskyproject/fidoconf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile.aix
More file actions
63 lines (48 loc) · 1.18 KB
/
Copy pathmakefile.aix
File metadata and controls
63 lines (48 loc) · 1.18 KB
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
# Settings for AIX
# There is no makefile for AIX any more as we don't have a AIX machine to
# test things any more.
# To build husky on AIX with gcc, try to use makefile.lnx, but if you
# are using IBM's C compiler, add the following parameter to the CFLAGS:
#
# -qcpluscmt
#
# This will allow "//" style comments in ANSI C # source code.
CC=cc
CFLAGS=-qcpluscmt -DUNIX -D_AIX -I..
LIB= ar
RANLIB= ranlib
FCONF= libfidoconfigaix.a
OBJS = adcase.o \
line.o \
fidoconf.o \
dirlayer.o \
common.o \
findtok.o \
xstr.o \
cfg.o \
log.o \
recode.o \
strsep.o \
crc.o \
tree.o \
areatree.o \
afixcmd.o \
afixcmn.o \
arealist.o \
stat.o \
temp.o
all: tparser
.c:
$(CC) -c $(CFLAGS) $*.c
$(FCONF): $(OBJS)
$(LIB) r $@ $?
$(RANLIB) $(FCONF)
tparser.o: tparser.c
$(CC) $(CFLAGS) -c tparser.c
tparser: tparser.o $(FCONF)
$(CC) -o tparser tparser.o libfidoconfigaix.a ../smapi/libsmapiaix.a
clean:
-rm *.o
distclean: clean
-rm $(FCONF)
-rm tparser