Updated to use new version of tgl
This commit is contained in:
parent
7f83a1246e
commit
f31ef233dd
@ -1,4 +1,4 @@
|
|||||||
TGL_OBJECTS=${OBJ}/mtproto-common.o ${OBJ}/mtproto-client.o ${OBJ}/queries.o ${OBJ}/structures.o ${OBJ}/binlog.o ${OBJ}/tgl.o ${OBJ}/updates.o ${OBJ}/tgl-net.o ${OBJ}/tgl-timers.o
|
TGL_OBJECTS=${OBJ}/mtproto-common.o ${OBJ}/mtproto-client.o ${OBJ}/queries.o ${OBJ}/structures.o ${OBJ}/binlog.o ${OBJ}/tgl.o ${OBJ}/updates.o ${OBJ}/tgl-net.o ${OBJ}/tgl-timers.o ${OBJ}/tg-mime-types.o
|
||||||
TLD_OBJECTS=${OBJ}/dump-tl-file.o
|
TLD_OBJECTS=${OBJ}/dump-tl-file.o
|
||||||
GENERATE_OBJECTS=${OBJ}/generate.o
|
GENERATE_OBJECTS=${OBJ}/generate.o
|
||||||
TGL_COMMON_OBJECTS=${OBJ}/tools.o
|
TGL_COMMON_OBJECTS=${OBJ}/tools.o
|
||||||
@ -15,10 +15,13 @@ ${OBJ}/auto/auto.o ${TGL_OBJECTS}: ${AUTO}/constants.h ${AUTO}/auto-header.h
|
|||||||
${TGL_OBJ_C}: ${OBJ}/%.o: ${srcdir}/tgl/%.c | create_dirs
|
${TGL_OBJ_C}: ${OBJ}/%.o: ${srcdir}/tgl/%.c | create_dirs
|
||||||
${CC} ${INCLUDE} ${COMPILE_FLAGS} -iquote ${srcdir}/tgl -c -MP -MD -MF ${DEP}/$*.d -MQ ${OBJ}/$*.o -o $@ $<
|
${CC} ${INCLUDE} ${COMPILE_FLAGS} -iquote ${srcdir}/tgl -c -MP -MD -MF ${DEP}/$*.d -MQ ${OBJ}/$*.o -o $@ $<
|
||||||
|
|
||||||
|
${OBJ}/mime-types.o: ${srcdir}/mime.types
|
||||||
|
ld -r -b binary -o $@ $^
|
||||||
|
|
||||||
${OBJ}/auto/auto.o: ${AUTO}/auto.c
|
${OBJ}/auto/auto.o: ${AUTO}/auto.c
|
||||||
${CC} ${INCLUDE} ${COMPILE_FLAGS} -iquote ${srcdir}/tgl -c -MP -MD -MF ${DEP}/auto/auto.d -MQ ${OBJ}/auto/auto.o -o $@ $<
|
${CC} ${INCLUDE} ${COMPILE_FLAGS} -iquote ${srcdir}/tgl -c -MP -MD -MF ${DEP}/auto/auto.d -MQ ${OBJ}/auto/auto.o -o $@ $<
|
||||||
|
|
||||||
${LIB}/libtgl.a: ${TGL_OBJECTS} ${TGL_COMMON_OBJECTS} ${OBJ}/auto/auto.o
|
${LIB}/libtgl.a: ${TGL_OBJECTS} ${TGL_COMMON_OBJECTS} ${OBJ}/auto/auto.o ${OBJ}/mime-types.o
|
||||||
ar ruv $@ $^
|
ar ruv $@ $^
|
||||||
|
|
||||||
${EXE}/generate: ${GENERATE_OBJECTS} ${TGL_COMMON_OBJECTS}
|
${EXE}/generate: ${GENERATE_OBJECTS} ${TGL_COMMON_OBJECTS}
|
||||||
|
1
mime.types
Symbolic link
1
mime.types
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
tgl/mime.types
|
2
tgl
2
tgl
@ -1 +1 @@
|
|||||||
Subproject commit a2403df85b430311feb6a8c214428802800b1633
|
Subproject commit b0c0eaf4d2b4cd387c883c07fe8916eb8022307b
|
Loading…
Reference in New Issue
Block a user